mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03: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:
@@ -26,7 +26,7 @@
|
||||
- install
|
||||
- openvpn
|
||||
# notify:
|
||||
# - restart openvpn (Fedora)
|
||||
# - Restart openvpn (Fedora)
|
||||
|
||||
- name: Install certificate and key (rhel or fedora) for server
|
||||
ansible.builtin.copy: src={{ private }}/files/vpn/pki/ca.crt
|
||||
@@ -36,7 +36,7 @@
|
||||
- install
|
||||
- openvpn
|
||||
# notify:
|
||||
# - restart openvpn (Fedora)
|
||||
# - Restart openvpn (Fedora)
|
||||
when: inventory_hostname.startswith('bastion0')
|
||||
|
||||
- name: Install fix-routes.sh script
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
- install
|
||||
- openvpn
|
||||
# notify:
|
||||
# - restart openvpn (Fedora)
|
||||
# - Restart openvpn (Fedora)
|
||||
|
||||
- name: Install configuration files (rhel and fedora)
|
||||
ansible.builtin.copy: src={{ item.file }}
|
||||
@@ -35,7 +35,7 @@
|
||||
- install
|
||||
- openvpn
|
||||
# notify:
|
||||
# - restart openvpn (Fedora)
|
||||
# - Restart openvpn (Fedora)
|
||||
|
||||
- name: Make sure openvpn is running in rhel 8+
|
||||
service: name=openvpn-client@openvpn state=started enabled=true
|
||||
|
||||
Reference in New Issue
Block a user