2024-02-12 09:44:48 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- hosts: '{{ ip_addr }}'
|
|
|
|
become: yes
|
|
|
|
become_method: sudo
|
|
|
|
gather_facts: yes
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
|
2024-02-15 11:30:23 +00:00
|
|
|
- name: "[CONFIG SECURE GRUB] Comprobando si es necesario configurar secure grub"
|
|
|
|
debug:
|
|
|
|
msg: "No es necesario configurar secure grub en la máquina"
|
|
|
|
when: secure-grub_enabled is not defined or not secure-grub_enabled
|
|
|
|
|
2024-02-12 09:44:48 +00:00
|
|
|
- name: "[CONFIG SECURE GRUB] configure secure grub"
|
|
|
|
import_role:
|
|
|
|
name: config-secure-grub
|
2024-02-15 17:10:07 +00:00
|
|
|
when: secure-grub_enabled is defined and secure-grub_enabled
|