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
|
@ -15,7 +15,7 @@
|
|||
regexp: ^shared_preload_libraries =
|
||||
line: "shared_preload_libraries = 'timescaledb'"
|
||||
notify:
|
||||
- restart postgresql
|
||||
- Restart postgresql
|
||||
tags:
|
||||
- datanommer
|
||||
- postgresql
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
sysctl: name=kernel.shmmax value={{ kernel_shmmax }}
|
||||
when: kernel_shmmax is defined
|
||||
notify:
|
||||
- restart postgresql
|
||||
- Restart postgresql
|
||||
tags:
|
||||
- postgresql
|
||||
|
||||
|
@ -78,7 +78,7 @@
|
|||
ansible.builtin.command: /usr/bin/postgresql-setup initdb
|
||||
creates=/var/lib/pgsql/data/postgresql.conf
|
||||
notify:
|
||||
- restart postgresql
|
||||
- Restart postgresql
|
||||
tags:
|
||||
- postgresql
|
||||
|
||||
|
@ -86,7 +86,7 @@
|
|||
service: name=postgresql enabled=yes
|
||||
ignore_errors: true
|
||||
notify:
|
||||
- restart postgresql
|
||||
- Restart postgresql
|
||||
tags:
|
||||
- service
|
||||
- postgresql
|
||||
|
@ -99,7 +99,7 @@
|
|||
with_items:
|
||||
- pg_hba.conf
|
||||
notify:
|
||||
- restart postgresql
|
||||
- Restart postgresql
|
||||
tags:
|
||||
- config
|
||||
- postgresql
|
||||
|
@ -108,7 +108,7 @@
|
|||
ansible.builtin.template: dest=/var/lib/pgsql/data/postgresql.conf src=postgresql.conf
|
||||
when: ansible_distribution_major_version|int < 8 and ansible_distribution == 'RedHat'
|
||||
notify:
|
||||
- restart postgresql
|
||||
- Restart postgresql
|
||||
tags:
|
||||
- config
|
||||
- postgresql
|
||||
|
@ -117,7 +117,7 @@
|
|||
ansible.builtin.template: dest=/var/lib/pgsql/data/postgresql.conf src=postgresql.conf-12
|
||||
when: (ansible_distribution_major_version|int == 8 and ansible_distribution == 'RedHat') or ansible_distribution != 'RedHat'
|
||||
notify:
|
||||
- restart postgresql
|
||||
- Restart postgresql
|
||||
tags:
|
||||
- config
|
||||
- postgresql
|
||||
|
@ -126,7 +126,7 @@
|
|||
ansible.builtin.template: dest=/var/lib/pgsql/data/postgresql.conf src=postgresql.conf-15
|
||||
when: (ansible_distribution_major_version|int == 9 and ansible_distribution == 'RedHat')
|
||||
notify:
|
||||
- restart postgresql
|
||||
- Restart postgresql
|
||||
tags:
|
||||
- config
|
||||
- postgresql
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue