19 lines
498 B
YAML
19 lines
498 B
YAML
---
|
|
|
|
- hosts: '{{ ip_addr }}'
|
|
become: yes
|
|
become_method: sudo
|
|
gather_facts: yes
|
|
|
|
tasks:
|
|
|
|
- name: "[CONFIG HOT PLUG] Comprobando si es necesario configurar hot plug"
|
|
debug:
|
|
msg: "No es necesario configurar hot plug en la máquina"
|
|
when: hot_plug_enabled is not defined or not hot_plug_enabled
|
|
|
|
- name: "[CONFIG HOT PLUG] Install and configure hot plug"
|
|
import_role:
|
|
name: config-hot-plug
|
|
when: hot_plug_enabled is defined and hot_plug_enabled
|