1
0
forked from infra/ansible

cleanup whitespace

This commit is contained in:
Markus 2019-03-09 18:38:07 +01:00
parent e7375cac3e
commit 654c2c0122
6 changed files with 15 additions and 20 deletions

View File

@ -1,5 +1,5 @@
--- ---
# This playbook contains common plays that will be run on all nodes.
- name: Cleanup - name: Cleanup
apt: autoclean=yes apt: autoclean=yes
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'

View File

@ -2,23 +2,18 @@
- name: Install nslcd - name: Install nslcd
apt: name=nslcd apt: name=nslcd
tags: ldap
- name: Configure nslcd - name: Configure nslcd
template: src=nslcd.conf.j2 dest=/etc/nslcd.conf template: src=nslcd.conf.j2 dest=/etc/nslcd.conf
notify: Restart nslcd notify: Restart nslcd
tags: ldap
- name: Configure nsswitch - name: Configure nsswitch
copy: src=nsswitch.conf dest=/etc/nsswitch.conf copy: src=nsswitch.conf dest=/etc/nsswitch.conf
notify: Restart nscd notify: Restart nscd
tags: ldap
- name: Configure PAM mkhomedir - name: Configure PAM mkhomedir
copy: src=mkhomedir dest=/usr/share/pam-configs/mkhomedir mode=0644 copy: src=mkhomedir dest=/usr/share/pam-configs/mkhomedir mode=0644
notify: Update pam-auth notify: Update pam-auth
tags: ldap
- name: Start the nslcd service - name: Start the nslcd service
service: name=nslcd state=started enabled=yes service: name=nslcd state=started enabled=yes
tags: ldap

View File

@ -4,7 +4,7 @@
apt_repository: repo='deb http://httpredir.debian.org/debian stretch-backports main' apt_repository: repo='deb http://httpredir.debian.org/debian stretch-backports main'
- name: Install prometheus - name: Install prometheus
apt: name=prometheus default_release='stretch-backports' apt: name=prometheus default_release=stretch-backports
- name: Configure prometheus - name: Configure prometheus
template: src=prometheus.yml.j2 dest=/etc/prometheus/prometheus.yml template: src=prometheus.yml.j2 dest=/etc/prometheus/prometheus.yml