[yaml-lint] fix yamllint errors and warnings on plabooks

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2024-11-25 18:24:56 +10:00
parent 4ffa8cd38e
commit 2cf38c1f17
204 changed files with 1210 additions and 1046 deletions

View file

@ -6,12 +6,13 @@
# To update from testing, adjust as follow:
# --extra-vars="target='host1:host2' package='python-t*' testing=True"
---
- name: push packages out
hosts: "{{target}}"
user: root
vars:
testing: False
testing: false
tasks:
@ -38,4 +39,3 @@
- name: dnf update {{ package }} from testing repo
dnf: name="{{ package }}" state=latest enablerepo=infrastructure-tags-stg
when: testing and ansible_distribution_major_version|int > 21 and ansible_distribution == 'Fedora'