mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03: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:
@@ -17,7 +17,7 @@
|
||||
tags:
|
||||
- mote
|
||||
notify:
|
||||
- restart memcached
|
||||
- Restart memcached
|
||||
|
||||
- name: Make systemd override dir
|
||||
ansible.builtin.file:
|
||||
@@ -36,8 +36,8 @@
|
||||
tags:
|
||||
- mote
|
||||
notify:
|
||||
- reload systemd
|
||||
- restart memcached
|
||||
- Reload systemd
|
||||
- Restart memcached
|
||||
|
||||
- meta: flush_handlers
|
||||
|
||||
@@ -63,8 +63,8 @@
|
||||
- config
|
||||
- mote
|
||||
notify:
|
||||
- nuke mote json cache
|
||||
- restart apache
|
||||
- Nuke mote json cache
|
||||
- Restart apache
|
||||
|
||||
- name: Create /usr/share/httpd/.local for mote-updater to store the fedmsg CRL
|
||||
ansible.builtin.file: dest=/usr/share/httpd/.local owner=apache group=apache state=directory
|
||||
@@ -126,7 +126,7 @@
|
||||
dest=/usr/share/mote/name_mappings.json
|
||||
setype=httpd_sys_content_t
|
||||
notify:
|
||||
- nuke mote json cache
|
||||
- Nuke mote json cache
|
||||
tags:
|
||||
- mote
|
||||
- selinux
|
||||
@@ -136,7 +136,7 @@
|
||||
dest=/usr/share/mote/category_mappings.json
|
||||
setype=httpd_sys_content_t
|
||||
notify:
|
||||
- nuke mote json cache
|
||||
- Nuke mote json cache
|
||||
tags:
|
||||
- mote
|
||||
- selinux
|
||||
|
||||
Reference in New Issue
Block a user