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:
parent
2ad6517991
commit
2ec055db6f
168 changed files with 566 additions and 566 deletions
|
@ -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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
- name: restart ipa
|
||||
- name: Restart ipa
|
||||
ansible.builtin.command: ipactl restart
|
||||
|
|
|
@ -199,7 +199,7 @@
|
|||
dest: /etc/httpd/conf.d/ipa-rewrite.conf
|
||||
mode: "0644"
|
||||
notify:
|
||||
- reload httpd
|
||||
- Reload httpd
|
||||
tags:
|
||||
- ipa/server
|
||||
- config
|
||||
|
@ -216,7 +216,7 @@
|
|||
changed_when: "'Disabling plugin' in output.stdout"
|
||||
failed_when: "'Plugin is already disabled' not in output.stdout and output.rc != 0"
|
||||
notify:
|
||||
- restart ipa
|
||||
- Restart ipa
|
||||
|
||||
- name: Disable the nis tree
|
||||
ansible.builtin.shell: |
|
||||
|
@ -229,7 +229,7 @@
|
|||
changed_when: "'Disabling plugin' in output.stdout"
|
||||
failed_when: "'Plugin is already disabled' not in output.stdout and output.rc != 0"
|
||||
notify:
|
||||
- restart ipa
|
||||
- Restart ipa
|
||||
|
||||
- name: Set the expiration date for the admin user
|
||||
community.general.ipa_user:
|
||||
|
@ -741,7 +741,7 @@
|
|||
dest: /etc/httpd/conf.d/referer-override.conf
|
||||
mode: "0644"
|
||||
notify:
|
||||
- reload apache
|
||||
- Reload apache
|
||||
tags:
|
||||
- ipa/server
|
||||
- config
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
tags:
|
||||
- collectd
|
||||
- config
|
||||
notify: restart collectd
|
||||
notify: Restart collectd
|
||||
|
||||
- name: Let collectd talk to the RabbitMQ management interface
|
||||
ansible.posix.seboolean:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue