19 lines
480 B
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
|