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
+1 -1
View File
@@ -5,7 +5,7 @@
- name: Server | InfluxDB1 | Check
shell: which influxd
register: influxdb_check
ignore_errors: yes
ignore_errors: true
- name: Server | InfluxDB1 | Install
shell: "{{ item }}"
+1 -1
View File
@@ -5,7 +5,7 @@
- name: Server | InfluxDB2 | Check
shell: which influxd
register: influxdb_check
ignore_errors: yes
ignore_errors: true
- name: Server | InfluxDB2 | Install
shell: "{{ item }}"
+4 -4
View File
@@ -29,7 +29,7 @@
- psql -c "GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;"
become: true
become_user: postgres
ignore_errors: yes
ignore_errors: true
- name: Server | OnlyOffice | RabbitMQ | Install
package:
@@ -62,7 +62,7 @@
#- name: Server | OnlyOffice | HTTPS | Check For Cert
# shell: "ls -l /etc/letsencrypt/live/{{ ansible_hostname }}.{{ domain }}/{fullchain,privkey}.pem"
# register: onlyoffice_cert
# ignore_errors: yes
# ignore_errors: true
#
#- name: Server | OnlyOffice | HTTPS | Create Cert
# shell: "certbot --nginx -d {{ ansible_hostname }}.{{ domain }}"
@@ -85,7 +85,7 @@
# line: '{{ item.line }}; # MANAGED BY ANSIBLE'
# state: present
# create: no
# backup: yes
# backup: true
# loop:
# - { "regexp": "ssl_certificate ", "line": " ssl_certificate /etc/letsencrypt/live/{{ ansible_hostname }}.{{ domain }}/fullchain.pem" }
# - { "regexp": "ssl_certificate_key ", "line": " ssl_certificate_key /etc/letsencrypt/live/{{ ansible_hostname }}.{{ domain }}/privkey.pem" }
@@ -96,4 +96,4 @@
service:
name: nginx
status: reloaded
ignore_errors: yes
ignore_errors: true
+3 -3
View File
@@ -8,13 +8,13 @@
name: "{{ acpi }}"
state: present
when: ansible_system == "Linux"
ignore_errors: yes
ignore_errors: true
- name: Server | Software | Services | ACPID | Enable
service:
name: "{{ acpi }}"
pattern: "{{ acpi_pattern }}"
state: started
enabled: yes
enabled: true
when: ansible_system == "Linux"
ignore_errors: yes
ignore_errors: true