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

@ -246,7 +246,7 @@
- config
- base
notify:
- flush journald tmpfiles to persistent store
- Flush journald tmpfiles to persistent store
- name: Enable journald persistence
ansible.builtin.file: path=/var/log/journal state=directory
@ -257,7 +257,7 @@
- config
- base
notify:
- flush journald tmpfiles to persistent store
- Flush journald tmpfiles to persistent store
- name: Install rh ca for splunk
ansible.builtin.copy: src={{ private }}/files/splunk-certs/2022-IT-Root-CA.pem

View file

@ -10,7 +10,7 @@
- "postfix/main.cf/main.cf.{{ datacenter }}"
- "postfix/main.cf/main.cf"
notify:
- restart postfix
- Restart postfix
tags:
- postfix
- config
@ -26,7 +26,7 @@
- "postfix/master.cf/master.cf"
when: inventory_hostname.startswith(('smtp-mm', 'mailman', 'noc02', 'bastion', 'smtp-auth'))
notify:
- restart postfix
- Restart postfix
tags:
- postfix
- config
@ -36,7 +36,7 @@
ansible.builtin.copy: src="{{private}}/files/smtpd/sender_access.{{postfix_group}}" dest="/etc/postfix/sender_access"
when: postfix_group == "smtp-mm" or postfix_group == "mailman" or postfix_group == "gateway"
notify:
- restart postfix
- Restart postfix
tags:
- postfix
- config
@ -49,7 +49,7 @@
option: PrivateDevices
value: false
notify:
- reload systemd
- Reload systemd
when: inventory_hostname.startswith(('buildvm-s390x'))
tags:
- postfix
@ -66,8 +66,8 @@
ansible.builtin.copy: src="postfix/{{ postfix_transport_filename }}" dest=/etc/postfix/transport
when: inventory_hostname.startswith(('smtp-mm','bastion','noc02')) and env != 'staging'
notify:
- rebuild postfix transport
- restart postfix
- Rebuild postfix transport
- Restart postfix
tags:
- postfix
- base
@ -77,8 +77,8 @@
ansible.builtin.copy: src="postfix/bysender" dest=/etc/postfix/bysender
when: inventory_hostname.startswith(('bastion')) and env != 'staging'
notify:
- rebuild postfix bysender
- restart postfix
- Rebuild postfix bysender
- Restart postfix
tags:
- postfix
- base
@ -88,8 +88,8 @@
ansible.builtin.copy: src="postfix/tls_policy" dest=/etc/postfix/tls_policy
when: inventory_hostname.startswith(('bastion','smtp-mm','pagure')) and env != 'staging'
notify:
- rebuild postfix tls_policy
- restart postfix
- Rebuild postfix tls_policy
- Restart postfix
tags:
- postfix
@ -105,6 +105,6 @@
mode=0600
when: inventory_hostname.startswith(('bastion','smtp-mm')) and env != 'staging'
notify:
- restart postfix
- Restart postfix
tags:
- postfix