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
+6 -6
View File
@@ -10,11 +10,11 @@
- name: Server | Sendmail | Check
shell: which postfix
register: postfix
ignore_errors: yes
ignore_errors: true
- name: Server | Sendmail | Install
package:
name:
name:
- "{{ sendmail }}"
state: present
when: postfix.failed
@@ -27,8 +27,8 @@
sendmail_msp_queue_enable="YES"
marker: "# {mark} MANAGED BY ANSIBLE - sendmail"
state: present
create: yes
backup: yes
create: true
backup: true
when: postfix.failed and ansible_system == "FreeBSD"
- name: Server | Sendmail | Enable + Start | Main
@@ -36,7 +36,7 @@
name: "{{ sendmail }}"
pattern: "{{ sendmail }}"
state: started
enabled: yes
enabled: true
when: postfix.failed
- name: Server | Sendmail | Enable + Start | Queue
@@ -44,5 +44,5 @@
name: "{{ sendmail_queue }}"
pattern: "{{ sendmail_queue }}"
state: started
enabled: yes
enabled: true
when: postfix.failed and ansible_system == "FreeBSD"