cleanup whitespace
This commit is contained in:
parent
e7375cac3e
commit
654c2c0122
@ -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'
|
||||||
|
@ -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
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user