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:
Michal Konecny
2025-02-07 13:51:07 +01:00
committed by kevin
parent 2ad6517991
commit 2ec055db6f
168 changed files with 566 additions and 566 deletions

View File

@@ -1,7 +1,7 @@
---
- name: restart httpd
- name: Restart httpd
service: name=httpd state=restarted
- name: restart postgresql
- name: Restart postgresql
service: name=postgresql
state=restarted

View File

@@ -1,10 +1,10 @@
---
- name: restart httpd
- name: Restart httpd
service:
name: httpd
state: restarted
- name: restart postgresql
- name: Restart postgresql
service:
name: postgresql
state: restarted

View File

@@ -52,53 +52,53 @@
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'ADMINS ='
line: ' ADMINS = "infrastructure@lists.fedoraproject.org"'
notify: restart httpd
notify: Restart httpd
- name: Configure MORE_FAF
lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'MORE_FAF ='
line: ' MORE_FAF = "https://github.com/abrt/faf/"'
notify: restart httpd
notify: Restart httpd
- name: Configure MORE_RS
lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'MORE_RS ='
line: ' MORE_RS = "https://github.com/abrt/retrace-server"'
notify: restart httpd
notify: Restart httpd
- name: Configure MORE_ABRT
lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'MORE_ABRT ='
line: ' MORE_ABRT = "https://github.com/abrt/abrt/"'
notify: restart httpd
notify: Restart httpd
- name: Configure MORE_GABRT
lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'MORE_GABRT ='
line: ' MORE_GABRT = "https://github.com/abrt/gnome-abrt/"'
notify: restart httpd
notify: Restart httpd
- name: Configure MORE_LR
lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'MORE_LR ='
line: ' MORE_LR = "https://github.com/abrt/libreport/"'
notify: restart httpd
notify: Restart httpd
- name: Configure MORE_SATYR
lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'MORE_SATYR ='
line: ' MORE_SATYR = "https://github.com/abrt/satyr/"'
notify: restart httpd
notify: Restart httpd
- name: Configure URL_FOR_FAF
lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'URL_FOR_FAF ='
line: ' URL_FOR_FAF = "https://{{ faf_server_name }}"'
notify: restart httpd
notify: Restart httpd

View File

@@ -9,56 +9,56 @@
path: /var/lib/pgsql/data/postgresql.conf
regexp: '^max_connections ='
line: 'max_connections = 150'
notify: restart postgresql
notify: Restart postgresql
- name: Set shared_buffers for PostgreSQL
lineinfile:
path: /var/lib/pgsql/data/postgresql.conf
regexp: '^shared_buffers ='
line: 'shared_buffers = 25536MB'
notify: restart postgresql
notify: Restart postgresql
- name: Set effective_cache_size for PostgreSQL
lineinfile:
path: /var/lib/pgsql/data/postgresql.conf
regexp: '^effective_cache_size ='
line: 'effective_cache_size = 50608MB'
notify: restart postgresql
notify: Restart postgresql
- name: Set work_mem for PostgreSQL
lineinfile:
path: /var/lib/pgsql/data/postgresql.conf
regexp: '^work_mem ='
line: 'work_mem = 6MB'
notify: restart postgresql
notify: Restart postgresql
- name: Set maintenance_work_mem for PostgreSQL
lineinfile:
path: /var/lib/pgsql/data/postgresql.conf
regexp: '^maintenance_work_mem ='
line: 'maintenance_work_mem = 2GB'
notify: restart postgresql
notify: Restart postgresql
- name: Set checkpoint_completion_target for PostgreSQL
lineinfile:
path: /var/lib/pgsql/data/postgresql.conf
regexp: '^checkpoint_completion_target ='
line: 'checkpoint_completion_target = 0.9'
notify: restart postgresql
notify: Restart postgresql
- name: Set wal_buffers for PostgreSQL
lineinfile:
path: /var/lib/pgsql/data/postgresql.conf
regexp: '^wal_buffers ='
line: 'wal_buffers = -1'
notify: restart postgresql
notify: Restart postgresql
- name: Set default_statistics_target for PostgreSQL
lineinfile:
path: /var/lib/pgsql/data/postgresql.conf
regexp: '^default_statistics_target ='
line: 'default_statistics_target = 100'
notify: restart postgresql
notify: Restart postgresql
- name: Drop faf database
postgresql_db:

View File

@@ -1,5 +1,5 @@
---
- name: restart httpd
- name: Restart httpd
service:
name: httpd
state: restarted

View File

@@ -29,11 +29,11 @@
src: etc-faf-plugins-web.conf.j2
dest: /etc/faf/plugins/web.conf
notify:
- restart httpd
- Restart httpd
- name: Put webfaf on root (/) if configured
ansible.builtin.template:
src: etc-httpd-conf.d-faf-web.conf.j2
dest: /etc/httpd/conf.d/faf-web.conf
notify:
- restart httpd
- Restart httpd

View File

@@ -1,5 +1,5 @@
---
- name: restart httpd
- name: Restart httpd
service:
name: httpd
state: restarted

View File

@@ -4,18 +4,18 @@
src: etc-retrace-server.conf.j2
dest: /etc/retrace-server/retrace-server.conf
mode: "0644"
notify: restart httpd
notify: Restart httpd
- name: Retrace-server http config
ansible.builtin.template:
src: retrace-server-httpd.conf.j2
dest: /etc/httpd/conf.d/retrace-server-httpd.conf
mode: "0644"
notify: restart httpd
notify: Restart httpd
- name: Configure retrace-server hooks config
ansible.builtin.template:
src: etc-retrace-server-hooks.conf.j2
dest: /etc/retrace-server/retrace-server-hooks.conf
mode: "0644"
notify: restart httpd
notify: Restart httpd