Fix conditional to not use jinja templating.

This commit is contained in:
Tom Alexander 2023-12-17 12:33:30 -05:00
parent 661b8534a8
commit 94b379c717
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -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: