vn-ansible/linux-config-hot-plug.yaml

19 lines
498 B
YAML
Raw Normal View History

2024-01-09 18:03:00 +00:00
---
- hosts: '{{ ip_addr }}'
become: yes
become_method: sudo
gather_facts: yes
tasks:
2024-02-15 14:37:29 +00:00
- name: "[CONFIG HOT PLUG] Comprobando si es necesario configurar hot plug"
debug:
msg: "No es necesario configurar hot plug en la máquina"
2024-02-15 17:50:53 +00:00
when: hot_plug_enabled is not defined or not hot_plug_enabled
2024-02-15 14:37:29 +00:00
2024-01-09 18:03:00 +00:00
- name: "[CONFIG HOT PLUG] Install and configure hot plug"
import_role:
name: config-hot-plug
2024-02-15 17:50:53 +00:00
when: hot_plug_enabled is defined and hot_plug_enabled