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