yamllint fix

This commit is contained in:
Jérémy Dubois 2022-10-19 18:23:54 +02:00
parent f71560a87b
commit 22cb655f78
5 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,4 @@
# yamllint disable rule:line-length
---
- name: "Configure doas"
blockinfile:
@ -5,7 +6,7 @@
owner: root
group: wheel
mode: "0640"
create: yes
create: true
marker: "# {mark} ANSIBLE MANAGED BLOCK FROM EVOBSD"
block: |
permit setenv {SSH_AUTH_SOCK SSH_TTY PKG_PATH HOME=/root ENV=/root/.profile} :{{ evobsd_sudo_group }}

View File

@ -1,3 +1,4 @@
# yamllint disable rule:line-length
---
- name: "{{ fstab_path }} partition is customized - softdep"
replace:

View File

@ -34,7 +34,7 @@
dest: "{{ repository_path }}/.gitignore"
owner: root
mode: "0600"
force: no
force: false
tags:
- etc-git

View File

@ -1,3 +1,4 @@
# yamllint disable rule:line-length
---
- name: "Scripts dir is present"
file:

View File

@ -1,3 +1,4 @@
# yamllint disable rule:line-length
---
- name: "Install nrpe"
openbsd_pkg:
@ -38,7 +39,7 @@
block: "{{ lookup('template', 'evolix_bsd.cfg.j2') }}"
path: /etc/nrpe.d/evolix.cfg
marker: "## {mark} ANSIBLE MANAGED BLOCK : Custom NRPE configuration file from EvoBSD"
create: yes
create: true
mode: "0644"
insertbefore: BOF
notify: restart nrpe
@ -49,7 +50,7 @@
lineinfile:
dest: /etc/nrpe.d/evolix.cfg
insertbefore: BOF
backrefs: yes
backrefs: true
regex: "allowed_hosts={{ nagios_nrpe_allowed_hosts | join(',') }}(.*)"
line: 'allowed_hosts={{ nagios_nrpe_allowed_hosts | join(",") }}\1'
tags: