mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for ansible-lint to stop complaining. I went through all `notify:` occurrences and fixed them by running ``` set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep -rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g" ``` Then I went through all the changes and removed the ones that wasn't expected to be changed. Fixes https://pagure.io/fedora-infrastructure/issue/12391 Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
state: present
|
||||
group:
|
||||
- sysadmin-main
|
||||
notify: clean sss caches
|
||||
notify: Clean sss caches
|
||||
no_log: true
|
||||
loop: "{{ ipa_servers }}"
|
||||
when: ipa_servers is defined
|
||||
@@ -25,7 +25,7 @@
|
||||
name: "usergroup/sysadmin-main"
|
||||
ipaadmin_password: "{{ ipa_server_admin_passwords[item] }}"
|
||||
state: enabled
|
||||
notify: clean sss caches
|
||||
notify: Clean sss caches
|
||||
no_log: true
|
||||
loop: "{{ ipa_servers }}"
|
||||
when: ipa_servers is defined
|
||||
@@ -36,7 +36,7 @@
|
||||
name: allow_all
|
||||
ipaadmin_password: "{{ ipa_server_admin_passwords[item] }}"
|
||||
state: disabled
|
||||
notify: clean sss caches
|
||||
notify: Clean sss caches
|
||||
no_log: true
|
||||
loop: "{{ ipa_servers }}"
|
||||
when: ipa_servers is defined
|
||||
@@ -55,7 +55,7 @@
|
||||
usercategory: "all"
|
||||
hbacsvcgroup:
|
||||
- sudo
|
||||
notify: clean sss caches
|
||||
notify: Clean sss caches
|
||||
no_log: true
|
||||
loop: "{{ ipa_servers }}"
|
||||
when: ipa_servers is defined
|
||||
@@ -117,6 +117,6 @@
|
||||
action: member
|
||||
state: present
|
||||
group: "{{ ipa_server_host_groups_dict[item[0]][item[1]]['shell_groups'] }}"
|
||||
notify: clean sss caches
|
||||
notify: Clean sss caches
|
||||
loop: "{{ ipa_server_host_groups }}"
|
||||
when: ipa_server_host_groups is defined and ipa_server_host_groups_dict[item[0]][item[1]]['shell_groups'] is defined
|
||||
|
||||
Reference in New Issue
Block a user