Fix conditional to not use jinja templating.
This commit is contained in:
parent
661b8534a8
commit
94b379c717
@ -39,7 +39,7 @@
|
||||
mode: 0644
|
||||
loop:
|
||||
- /etc/pacman.d/conf.d/blank.conf
|
||||
when: "{{ file_exists | community.general.json_query(sub_query) | first | default(False) }} == False"
|
||||
when: "file_exists | community.general.json_query(sub_query) | first | default(False) == False"
|
||||
vars:
|
||||
sub_query: "results[?stat.path=='{{ item }}'].stat.exists"
|
||||
|
||||
@ -52,7 +52,7 @@
|
||||
group: root
|
||||
loop:
|
||||
- freeze_firefox.conf
|
||||
|
||||
|
||||
- name: Install packages
|
||||
package:
|
||||
name:
|
||||
|
Loading…
x
Reference in New Issue
Block a user