fix: use FQCN

This commit is contained in:
Guido Grazioli 2022-02-24 15:00:10 +01:00
commit b90684a44a
No known key found for this signature in database
GPG key ID: 22C8C31EF2BC093B
21 changed files with 84 additions and 79 deletions

View file

@ -1,18 +1,18 @@
---
- name: Set facts
set_fact:
ansible.builtin.set_fact:
update_cache: true
packages_to_install: []
- name: "Check packages to be installed"
include_tasks: check.yml
ansible.builtin.include_tasks: check.yml
loop: "{{ packages_list | flatten }}"
loop_control:
loop_var: package_name
- name: "Install packages: {{ packages_to_install }}"
become: yes
yum:
ansible.builtin.yum:
name: "{{ packages_to_install }}"
state: present
when: packages_to_install | length > 0