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
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
- name: Configure snmpd
|
||||
template: src=snmpd.conf.j2 dest=/etc/snmp/snmpd.conf
|
||||
notify: restart snmpd
|
||||
notify: Restart snmpd
|
||||
tags: snmp
|
||||
|
||||
- name: Start the snmpd service
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
- name: Configure snmpd
|
||||
template: src=snmpd.conf.j2 dest=/usr/local/etc/snmpd.conf
|
||||
notify: restart snmpd
|
||||
notify: Restart snmpd
|
||||
tags: snmp
|
||||
|
||||
- name: Start the snmpd service
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: restart nslcd
|
||||
- name: Restart nslcd
|
||||
service: name=nslcd state=restarted
|
||||
|
||||
- name: update pam-auth
|
||||
- name: Update pam-auth
|
||||
shell: pam-auth-update --package libpam-modules 2>/dev/null
|
||||
|
@ -6,17 +6,17 @@
|
||||
|
||||
- name: Configure nslcd
|
||||
template: src=nslcd.conf.j2 dest=/etc/nslcd.conf
|
||||
notify: restart nslcd
|
||||
notify: Restart nslcd
|
||||
tags: ldap
|
||||
|
||||
- name: Copy LDAP CA
|
||||
copy: src=ldap.crt dest=/etc/ldap/ldap.crt mode=0644
|
||||
notify: restart nslcd
|
||||
notify: Restart nslcd
|
||||
tags: ldap
|
||||
|
||||
- name: Configure PAM mkhomedir
|
||||
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
|
||||
|
@ -1,13 +1,13 @@
|
||||
---
|
||||
|
||||
- name: restart amavis
|
||||
- name: Restart amavis
|
||||
service: name=amavis state=restarted
|
||||
|
||||
- name: restart dovecot
|
||||
- name: Restart dovecot
|
||||
service: name=dovecot state=restarted
|
||||
|
||||
- name: restart postfix
|
||||
- name: Restart postfix
|
||||
service: name=postfix state=restarted
|
||||
|
||||
- name: restart postgrey
|
||||
- name: Restart postgrey
|
||||
service: name=postgrey state=restarted
|
||||
|
@ -19,7 +19,7 @@
|
||||
with_items:
|
||||
- ldap-aliases.cf.j2
|
||||
- ldap-virtual-maps.cf.j2
|
||||
notify: restart postfix
|
||||
notify: Restart postfix
|
||||
tags: mail
|
||||
|
||||
- name: Start amavis
|
||||
|
@ -1,4 +1,4 @@
|
||||
---
|
||||
|
||||
- name: restart prosody
|
||||
- name: Restart prosody
|
||||
service: name=prosody state=restarted
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
- name: Configure prosody
|
||||
template: src=prosody.cfg.lua.j2 dest=/etc/prosody/prosody.cfg.lua
|
||||
notify: restart prosody
|
||||
notify: Restart prosody
|
||||
tags: prosody
|
||||
|
||||
- name: Start prosody
|
||||
|
Loading…
Reference in New Issue
Block a user