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