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