Fixing conditionals
This commit is contained in:
parent
1e99fb4984
commit
28f8f3d587
1 changed files with 2 additions and 2 deletions
|
@ -267,13 +267,13 @@
|
|||
- name: Check that allow all rule doesn't exist
|
||||
stat:
|
||||
path: '/etc/polkit-1/rules.d/00-qubes-allow-all.rules'
|
||||
register: stat_result
|
||||
register: allow_all_result
|
||||
|
||||
- name: Delete allow all rule
|
||||
ansible.builtin.file:
|
||||
path: '/etc/polkit-1/rules.d/00-qubes-allow-all.rules'
|
||||
state: 'absent'
|
||||
when: not stat_result.stat.exists
|
||||
when: allow_all_result.stat.exists
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue