vn-ansible/linux-config-install-packag...

18 lines
507 B
YAML
Raw Normal View History

2024-02-12 09:09:34 +00:00
---
- hosts: '{{ ip_addr }}'
become: yes
become_method: sudo
gather_facts: yes
tasks:
2024-02-15 10:52:55 +00:00
- name: "[CONFIG INSTALL PACKAGES] Comprobando si es necesario instalar paqueteria"
debug:
msg: "No es necesario instalar paqueteria en la máquina"
when: packages_enabled is not defined or not packages_enabled
2024-02-12 09:09:34 +00:00
- name: "[CONFIG INSTALL PACKAGES] Install packages"
import_role:
2024-02-15 17:03:48 +00:00
name: config-install-packages
when: packages_enabled is defined and packages_enabled