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

18 lines
437 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"
when: hot-plug_enabled is not defined or not hot-plug_enabled
2024-01-09 18:03:00 +00:00
- name: "[CONFIG HOT PLUG] Install and configure hot plug"
import_role:
name: config-hot-plug