vn-ansible/linux-config-update-and-upg...

17 lines
423 B
YAML
Raw Normal View History

2023-12-19 14:43:06 +00:00
---
2023-12-19 14:52:18 +00:00
- hosts: '{{ ip_addr }}'
2023-12-19 14:43:06 +00:00
become: yes
become_method: sudo
gather_facts: yes
tasks:
2024-02-15 10:45:25 +00:00
- name: "[CONFIG UPDATE] Comprobando si es necesario realizar update "
debug:
msg: "No es necesario realizar update en la máquina"
when: update_enabled is not defined or not update_enabled
2023-12-19 14:43:06 +00:00
- name: "[CONFIG UPDATE] Config update"
import_role:
name: config-update-and-upgrade-packages