yamllint fix
This commit is contained in:
parent
f71560a87b
commit
22cb655f78
|
@ -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 }}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# yamllint disable rule:line-length
|
||||
---
|
||||
- name: "{{ fstab_path }} partition is customized - softdep"
|
||||
replace:
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
dest: "{{ repository_path }}/.gitignore"
|
||||
owner: root
|
||||
mode: "0600"
|
||||
force: no
|
||||
force: false
|
||||
tags:
|
||||
- etc-git
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# yamllint disable rule:line-length
|
||||
---
|
||||
- name: "Scripts dir is present"
|
||||
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:
|
||||
|
|
Loading…
Reference in New Issue