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
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
- name: restart pagure_milter
|
||||
- name: Restart pagure_milter
|
||||
service: name=pagure_milter state=restarted
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
# dest=/usr/lib/systemd/system/stunnel.service
|
||||
# owner=root group=root mode=0755
|
||||
# notify:
|
||||
# - reload systemd
|
||||
# - restart stunnel
|
||||
# - Reload systemd
|
||||
# - Restart stunnel
|
||||
# tags:
|
||||
# - pagure
|
||||
# - stunnel
|
||||
|
@ -61,7 +61,7 @@
|
|||
# owner=root group=root mode=0600
|
||||
# with_items:
|
||||
# - { file: stunnel-conf.j2, dest: /etc/stunnel/stunnel.conf }
|
||||
# notify: restart stunnel
|
||||
# notify: Restart stunnel
|
||||
# tags:
|
||||
# - pagure
|
||||
# - stunnel
|
||||
|
@ -137,7 +137,7 @@
|
|||
- web
|
||||
- pagure
|
||||
notify:
|
||||
- restart apache
|
||||
- Restart apache
|
||||
|
||||
- name: Pagure configuration for the hooks
|
||||
ansible.builtin.template: src={{ item.file }}
|
||||
|
@ -151,7 +151,7 @@
|
|||
- web
|
||||
- pagure
|
||||
notify:
|
||||
- restart apache
|
||||
- Restart apache
|
||||
|
||||
- name: Create the database scheme
|
||||
ansible.builtin.command: /usr/bin/python3 /usr/share/pagure/pagure_createdb.py
|
||||
|
@ -204,7 +204,7 @@
|
|||
- config
|
||||
- pagure
|
||||
notify:
|
||||
- restart apache
|
||||
- Restart apache
|
||||
|
||||
- name: Install the wsgi file
|
||||
ansible.builtin.template: src={{ item }}
|
||||
|
@ -217,7 +217,7 @@
|
|||
- web
|
||||
- pagure
|
||||
notify:
|
||||
- restart apache
|
||||
- Restart apache
|
||||
|
||||
- name: Add default facl so apache can read git repos
|
||||
acl: default=yes etype=user entity=apache permissions="rx" name=/srv/git state=present
|
||||
|
@ -247,7 +247,7 @@
|
|||
- pagure_webhook
|
||||
- pagure_worker
|
||||
notify:
|
||||
- reload systemd
|
||||
- Reload systemd
|
||||
tags:
|
||||
- pagure
|
||||
|
||||
|
@ -268,7 +268,7 @@
|
|||
- config
|
||||
- pagure
|
||||
notify:
|
||||
- restart apache
|
||||
- Restart apache
|
||||
|
||||
- name: Create the /srv/cache/extras folder for the crons
|
||||
ansible.builtin.file: state=directory
|
||||
|
|
|
@ -30,14 +30,14 @@
|
|||
- name: Install the mod_auth_openidc configuration
|
||||
ansible.builtin.template: src=auth_openidc.conf dest=/etc/httpd/conf.d/auth_openidc.conf
|
||||
notify:
|
||||
- reload httpd
|
||||
- Reload httpd
|
||||
tags:
|
||||
- distgit
|
||||
|
||||
- name: Install the http push configuration
|
||||
ansible.builtin.template: src=httppush.conf dest=/etc/httpd/conf.d/httpush.conf
|
||||
notify:
|
||||
- reload httpd
|
||||
- Reload httpd
|
||||
tags:
|
||||
- distgit
|
||||
|
||||
|
@ -67,7 +67,7 @@
|
|||
- name: Install the mod_ssl configuration
|
||||
ansible.builtin.copy: src=ssl.conf dest=/etc/httpd/conf.d/ssl.conf
|
||||
notify:
|
||||
- reload httpd
|
||||
- Reload httpd
|
||||
tags:
|
||||
- distgit
|
||||
|
||||
|
@ -87,7 +87,7 @@
|
|||
group=apache
|
||||
mode=0600
|
||||
notify:
|
||||
- reload httpd
|
||||
- Reload httpd
|
||||
tags:
|
||||
- distgit
|
||||
|
||||
|
@ -198,14 +198,14 @@
|
|||
- name: Install the DistGit related httpd config
|
||||
ansible.builtin.copy: src=git-smart-http.conf dest=/etc/httpd/conf.d/dist-git/git-smart-http.conf
|
||||
notify:
|
||||
- reload httpd
|
||||
- Reload httpd
|
||||
tags:
|
||||
- distgit
|
||||
|
||||
- name: Symlink pkgs-git-repos-list
|
||||
ansible.builtin.copy: src=repolist.conf dest=/etc/httpd/conf.d/dist-git/repolist.conf
|
||||
notify:
|
||||
- reload httpd
|
||||
- Reload httpd
|
||||
tags:
|
||||
- distgit
|
||||
|
||||
|
@ -241,7 +241,7 @@
|
|||
- lookaside.conf
|
||||
- lookaside-upload.conf
|
||||
notify:
|
||||
- reload httpd
|
||||
- Reload httpd
|
||||
tags:
|
||||
- distgit
|
||||
- sslciphers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue