vn-ansible/linux-config-repo-vn.yaml

19 lines
480 B
YAML

---
- hosts: '{{ ip_addr }}'
become: yes
become_method: sudo
gather_facts: no
tasks:
- name: "[CONFIG REPO VN] Comprobando si es necesario configurar repositorios"
debug:
msg: "No es necesario configurar repositorios en la máquina"
when: repo-vn_enabled is not defined or not repo-vn_enabled
- name: "[CONFIG REPO VN] Add-repos-vn"
import_role:
name: config-repo-vn
when: repo-vn_enabled is defined and repo-vn_enabled