forked from infra/ansible
Add more tags.
This commit is contained in:
parent
23c5bdb020
commit
d0f6809dc4
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
- name: Configure snmpd
|
- name: Configure snmpd
|
||||||
template: src=snmpd.conf.j2 dest=/etc/snmp/snmpd.conf
|
template: src=snmpd.conf.j2 dest=/etc/snmp/snmpd.conf
|
||||||
tags: snmp
|
|
||||||
notify: restart snmpd
|
notify: restart snmpd
|
||||||
|
tags: snmp
|
||||||
|
|
||||||
- name: Start the snmpd service
|
- name: Start the snmpd service
|
||||||
service: name=snmpd state=started enabled=yes
|
service: name=snmpd state=started enabled=yes
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
- name: Configure snmpd
|
- name: Configure snmpd
|
||||||
template: src=snmpd.conf.j2 dest=/usr/local/etc/snmpd.conf
|
template: src=snmpd.conf.j2 dest=/usr/local/etc/snmpd.conf
|
||||||
tags: snmp
|
|
||||||
notify: restart snmpd
|
notify: restart snmpd
|
||||||
|
tags: snmp
|
||||||
|
|
||||||
- name: Start the snmpd service
|
- name: Start the snmpd service
|
||||||
service: name=snmpd state=started enabled=yes
|
service: name=snmpd state=started enabled=yes
|
||||||
|
@ -2,18 +2,23 @@
|
|||||||
|
|
||||||
- name: Install nslcd
|
- name: Install nslcd
|
||||||
apt: name=nslcd state=present
|
apt: name=nslcd state=present
|
||||||
|
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: Copy LDAP CA
|
- name: Copy LDAP CA
|
||||||
copy: src=ldap.crt dest=/etc/ldap/ldap.crt mode=0644
|
copy: src=ldap.crt dest=/etc/ldap/ldap.crt mode=0644
|
||||||
notify: restart nslcd
|
notify: restart nslcd
|
||||||
|
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
|
||||||
|
@ -2,10 +2,13 @@
|
|||||||
|
|
||||||
- name: Install ntp
|
- name: Install ntp
|
||||||
apt: name=ntp state=present
|
apt: name=ntp state=present
|
||||||
|
tags: ntp
|
||||||
|
|
||||||
- name: Configure ntp
|
- name: Configure ntp
|
||||||
template: src=ntp.conf.j2 dest=/etc/ntp.conf
|
template: src=ntp.conf.j2 dest=/etc/ntp.conf
|
||||||
notify: Restart ntp
|
notify: Restart ntp
|
||||||
|
tags: ntp
|
||||||
|
|
||||||
- name: Start the ntp service
|
- name: Start the ntp service
|
||||||
service: name=ntp state=started enabled=yes
|
service: name=ntp state=started enabled=yes
|
||||||
|
tags: ntp
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
- name: Configure ntp
|
- name: Configure ntp
|
||||||
template: src=ntp.conf.j2 dest=/etc/ntp.conf
|
template: src=ntp.conf.j2 dest=/etc/ntp.conf
|
||||||
notify: Restart ntp
|
notify: Restart ntp
|
||||||
|
tags: ntp
|
||||||
|
|
||||||
- name: Start the ntp service
|
- name: Start the ntp service
|
||||||
service: name=ntpd state=started enabled=yes
|
service: name=ntpd state=started enabled=yes
|
||||||
|
tags: ntp
|
||||||
|
Loading…
Reference in New Issue
Block a user