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,6 +1,6 @@
---
dependencies:
- { role: linux-system-roles.network, when: "'no_linux_system_roles' not in group_names", tags: ['linux-system-roles.network'] }
- { role: basessh, tags: ['basessh'] }
- { role: chrony }
- { role: dnf-automatic, tags: ['dnf-automatic'] }
- { role: linux-system-roles.network, when: "'no_linux_system_roles' not in group_names", tags: ['linux-system-roles.network'] }
- { role: basessh, tags: ['basessh'] }
- { role: chrony }
- { role: dnf-automatic, tags: ['dnf-automatic'] }

View file

@ -1,3 +1,4 @@
---
- name: Check current crypto-policy
command: "update-crypto-policies --show"
register: currentcryptopolicy

View file

@ -1,3 +1,4 @@
---
- name: /etc/postfix/main.cf
copy: src={{ item }} dest=/etc/postfix/main.cf
with_first_found:
@ -91,12 +92,12 @@
- restart postfix
tags:
- postfix
# Install gateway tls cert as a pem file.
# Install gateway tls cert as a pem file.
# This has: private key, then cert, then intermediate cert
# This cert is a digicert one, renew it there.
- name: install /etc/pki/tls/private/gateway-chain.pem
copy:
copy:
src="{{private}}/files/smtpd/gateway-chain.pem"
dest=/etc/pki/tls/private/gateway-chain.pem
owner=root

View file

@ -1,3 +1,4 @@
---
- name: See if theres a watchdog device
stat: path=/dev/watchdog
when: ansible_virtualization_role is defined and ansible_virtualization_role == 'guest'