forked from infra/ansible
Unify action names.
This commit is contained in:
parent
f535c13cba
commit
7999a4ec89
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: restart snmpd
|
- name: Restart snmpd
|
||||||
service: name=snmpd state=restarted
|
service: name=snmpd state=restarted
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
- 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
|
||||||
notify: restart snmpd
|
notify: Restart snmpd
|
||||||
tags: snmp
|
tags: snmp
|
||||||
|
|
||||||
- name: Start the snmpd service
|
- name: Start the snmpd service
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
- 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
|
||||||
notify: restart snmpd
|
notify: Restart snmpd
|
||||||
tags: snmp
|
tags: snmp
|
||||||
|
|
||||||
- name: Start the snmpd service
|
- name: Start the snmpd service
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: restart nslcd
|
- name: Restart nslcd
|
||||||
service: name=nslcd state=restarted
|
service: name=nslcd state=restarted
|
||||||
|
|
||||||
- name: update pam-auth
|
- name: Update pam-auth
|
||||||
shell: pam-auth-update --package libpam-modules 2>/dev/null
|
shell: pam-auth-update --package libpam-modules 2>/dev/null
|
||||||
|
@ -6,17 +6,17 @@
|
|||||||
|
|
||||||
- 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
|
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
|
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
|
tags: ldap
|
||||||
|
|
||||||
- name: Start the nslcd service
|
- name: Start the nslcd service
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: restart amavis
|
- name: Restart amavis
|
||||||
service: name=amavis state=restarted
|
service: name=amavis state=restarted
|
||||||
|
|
||||||
- name: restart dovecot
|
- name: Restart dovecot
|
||||||
service: name=dovecot state=restarted
|
service: name=dovecot state=restarted
|
||||||
|
|
||||||
- name: restart postfix
|
- name: Restart postfix
|
||||||
service: name=postfix state=restarted
|
service: name=postfix state=restarted
|
||||||
|
|
||||||
- name: restart postgrey
|
- name: Restart postgrey
|
||||||
service: name=postgrey state=restarted
|
service: name=postgrey state=restarted
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- ldap-aliases.cf.j2
|
- ldap-aliases.cf.j2
|
||||||
- ldap-virtual-maps.cf.j2
|
- ldap-virtual-maps.cf.j2
|
||||||
notify: restart postfix
|
notify: Restart postfix
|
||||||
tags: mail
|
tags: mail
|
||||||
|
|
||||||
- name: Start amavis
|
- name: Start amavis
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: restart prosody
|
- name: Restart prosody
|
||||||
service: name=prosody state=restarted
|
service: name=prosody state=restarted
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
- name: Configure prosody
|
- name: Configure prosody
|
||||||
template: src=prosody.cfg.lua.j2 dest=/etc/prosody/prosody.cfg.lua
|
template: src=prosody.cfg.lua.j2 dest=/etc/prosody/prosody.cfg.lua
|
||||||
notify: restart prosody
|
notify: Restart prosody
|
||||||
tags: prosody
|
tags: prosody
|
||||||
|
|
||||||
- name: Start prosody
|
- name: Start prosody
|
||||||
|
Loading…
Reference in New Issue
Block a user