Fix majority of remaining yamllint warnings and errors

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2024-11-27 13:48:08 +10:00
parent 1073f70bce
commit 89f6f1fc32
591 changed files with 1491 additions and 1168 deletions

View file

@ -1,7 +1,7 @@
########################################
# Handlers for restarting services
#
---
- name: reload systemd
command: systemctl daemon-reload
@ -75,14 +75,14 @@
- name: restart openvpn (Fedora)
when: ansible_distribution == "Fedora"
action: service name=openvpn-client@openvpn state=restarted
#notify:
#- fix openvpn routing
# notify:
# - fix openvpn routing
- name: restart openvpn (RHEL7+)
when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int >= 7
action: service name=openvpn-client@openvpn state=restarted
#notify:
#- fix openvpn routing
# notify:
# - fix openvpn routing
- name: fix openvpn routing
action: shell /etc/openvpn/fix-routes.sh