Fix linter errors

This commit is contained in:
Guido Grazioli 2022-02-15 13:14:36 +01:00
commit acaceb48ef
No known key found for this signature in database
GPG key ID: 22C8C31EF2BC093B
8 changed files with 25 additions and 15 deletions

View file

@ -8,7 +8,7 @@
changed_when: rpm_info.failed
rescue:
- name: "If package {{ package_name }} is missing, add it to the yum install list."
- name: "Add {{ package_name }} to the yum install list if missing"
set_fact:
packages_to_install: "{{ packages_to_install + [ package_name ] }}"
when: rpm_info.failed

View file

@ -1,5 +1,6 @@
---
- set_fact:
- name: Set facts
set_fact:
update_cache: true
packages_to_install: []