mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +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:
@@ -74,7 +74,7 @@
|
||||
- name: Sshd_config
|
||||
ansible.builtin.template: src=sshd_config dest=/etc/ssh/sshd_config mode=0600
|
||||
notify:
|
||||
- restart sshd
|
||||
- Restart sshd
|
||||
tags:
|
||||
- basessh
|
||||
- sshd_config
|
||||
@@ -217,7 +217,7 @@
|
||||
with_items: "{{certs_to_sign}}"
|
||||
register: certcopy
|
||||
notify:
|
||||
- restart sshd
|
||||
- Restart sshd
|
||||
tags:
|
||||
- basessh
|
||||
- sshd_cert
|
||||
|
||||
Reference in New Issue
Block a user