mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-17 04:00:25 +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:
@@ -30,7 +30,7 @@
|
||||
- config
|
||||
- github2fedmsg
|
||||
notify:
|
||||
- restart apache
|
||||
- Restart apache
|
||||
|
||||
- name: Copy github2fedmsg wsgi script
|
||||
ansible.builtin.copy: >
|
||||
@@ -42,7 +42,7 @@
|
||||
- config
|
||||
- github2fedmsg
|
||||
notify:
|
||||
- restart apache
|
||||
- Restart apache
|
||||
|
||||
- name: Copy github2fedmsg httpd config
|
||||
ansible.builtin.template: >
|
||||
@@ -54,7 +54,7 @@
|
||||
- config
|
||||
- github2fedmsg
|
||||
notify:
|
||||
- restart apache
|
||||
- Restart apache
|
||||
|
||||
- name: Hotfix - allow velruse to do stateless openid
|
||||
ansible.builtin.copy: >
|
||||
@@ -65,7 +65,7 @@
|
||||
- hotfix
|
||||
- github2fedmsg
|
||||
notify:
|
||||
- restart apache
|
||||
- Restart apache
|
||||
|
||||
# Fix for https://pagure.io/fedora-infrastructure/issue/11776
|
||||
- name: Hotfix - Fix the KeyError when looking for user in github event
|
||||
@@ -76,7 +76,7 @@
|
||||
- hotfix
|
||||
- github2fedmsg
|
||||
notify:
|
||||
- restart apache
|
||||
- Restart apache
|
||||
|
||||
- name: Ensure selinux lets httpd talk to postgres
|
||||
seboolean: name=httpd_can_network_connect_db persistent=yes state=yes
|
||||
|
||||
Reference in New Issue
Block a user