From 7999a4ec89da2861acc65c70659f15b3cd9c2224 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Mon, 15 Feb 2016 19:17:28 +0100 Subject: [PATCH] Unify action names. --- roles/common/handlers/main.yml | 2 +- roles/common/tasks/Debian.yml | 2 +- roles/common/tasks/FreeBSD.yml | 2 +- roles/ldap-client/handlers/main.yml | 4 ++-- roles/ldap-client/tasks/main.yml | 6 +++--- roles/mail/handlers/main.yml | 8 ++++---- roles/mail/tasks/main.yml | 2 +- roles/prosody/handlers/main.yml | 2 +- roles/prosody/tasks/main.yml | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/roles/common/handlers/main.yml b/roles/common/handlers/main.yml index 69d7ced..9e9ed2c 100644 --- a/roles/common/handlers/main.yml +++ b/roles/common/handlers/main.yml @@ -1,4 +1,4 @@ --- -- name: restart snmpd +- name: Restart snmpd service: name=snmpd state=restarted diff --git a/roles/common/tasks/Debian.yml b/roles/common/tasks/Debian.yml index f98ebb3..ca09f38 100644 --- a/roles/common/tasks/Debian.yml +++ b/roles/common/tasks/Debian.yml @@ -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 diff --git a/roles/common/tasks/FreeBSD.yml b/roles/common/tasks/FreeBSD.yml index fd55731..f6a4f35 100644 --- a/roles/common/tasks/FreeBSD.yml +++ b/roles/common/tasks/FreeBSD.yml @@ -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 diff --git a/roles/ldap-client/handlers/main.yml b/roles/ldap-client/handlers/main.yml index 053af19..4a33fdd 100644 --- a/roles/ldap-client/handlers/main.yml +++ b/roles/ldap-client/handlers/main.yml @@ -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 diff --git a/roles/ldap-client/tasks/main.yml b/roles/ldap-client/tasks/main.yml index 97aeb2f..d2edcc4 100644 --- a/roles/ldap-client/tasks/main.yml +++ b/roles/ldap-client/tasks/main.yml @@ -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 diff --git a/roles/mail/handlers/main.yml b/roles/mail/handlers/main.yml index 6740a2b..e43a98b 100644 --- a/roles/mail/handlers/main.yml +++ b/roles/mail/handlers/main.yml @@ -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 diff --git a/roles/mail/tasks/main.yml b/roles/mail/tasks/main.yml index 696d02c..90e3f92 100644 --- a/roles/mail/tasks/main.yml +++ b/roles/mail/tasks/main.yml @@ -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 diff --git a/roles/prosody/handlers/main.yml b/roles/prosody/handlers/main.yml index 44292d6..880304c 100644 --- a/roles/prosody/handlers/main.yml +++ b/roles/prosody/handlers/main.yml @@ -1,4 +1,4 @@ --- -- name: restart prosody +- name: Restart prosody service: name=prosody state=restarted diff --git a/roles/prosody/tasks/main.yml b/roles/prosody/tasks/main.yml index f21fa94..4e239e4 100644 --- a/roles/prosody/tasks/main.yml +++ b/roles/prosody/tasks/main.yml @@ -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