Use true instead of yes.

This commit is contained in:
me
2026-10-02 07:59:57 -07:00
parent ff548cc7a2
commit a822b095ee
44 changed files with 196 additions and 198 deletions
+8 -8
View File
@@ -15,7 +15,7 @@
name:
- doas
register: doas_install
ignore_errors: yes
ignore_errors: true
- name: General | Software | DoAs | Configure [Linux]
blockinfile:
@@ -24,8 +24,8 @@
{{ doas_config }}
marker: '# {mark} MANAGED BY ANSIBLE | doas Linux'
state: present
create: yes
backup: yes
create: true
backup: true
when: not doas_install.failed and ansible_system in ("Linux")
- name: General | Software | DoAs | Configure [BSD]
@@ -35,8 +35,8 @@
{{ doas_config }}
marker: '# {mark} MANAGED BY ANSIBLE | doas BSD'
state: present
create: yes
backup: yes
create: true
backup: true
when: not doas_install.failed and ansible_system in ("FreeBSD")
- name: General | Software | DoAs | Configure [Other]
@@ -46,9 +46,9 @@
{{ doas_config }}
marker: '# {mark} MANAGED BY ANSIBLE | doas Other'
state: present
create: yes
backup: yes
create: true
backup: true
loop:
- "{{ doas_conf_file_linux }}"
- "{{ doas_conf_file_bsd }}"
when: not doas_install.failed and ansible_system not in ("Linux", "FreeBSD")
when: not doas_install.failed and ansible_system not in ("Linux", "FreeBSD")