vn-ansible/linux-config-secure-grub.yaml

19 lines
516 B
YAML
Raw Normal View History

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"
2024-02-15 17:50:53 +00:00
when: secure_grub_enabled is not defined or not secure_grub_enabled
2024-02-15 11:30:23 +00:00
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:50:53 +00:00
when: secure_grub_enabled is defined and secure_grub_enabled