Merge pull-request 'Fix conditional check of string variable' (#4) into fvs
This commit is contained in:
commit
005ce84594
2 changed files with 3 additions and 3 deletions
|
|
@ -98,7 +98,7 @@
|
|||
export superusers
|
||||
password_pbkdf2 root {{ grub_pwd }}
|
||||
notify: Run update-grub
|
||||
when: grub_pwd | bool | default(false)
|
||||
when: grub_pwd is defined and grub_pwd is truthy
|
||||
|
||||
- name: Allow booting grub menu entries
|
||||
ansible.builtin.lineinfile:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue