yamllint fix
This commit is contained in:
parent
f71560a87b
commit
22cb655f78
|
@ -1,3 +1,4 @@
|
||||||
|
# yamllint disable rule:line-length
|
||||||
---
|
---
|
||||||
- name: "Configure doas"
|
- name: "Configure doas"
|
||||||
blockinfile:
|
blockinfile:
|
||||||
|
@ -5,7 +6,7 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: wheel
|
group: wheel
|
||||||
mode: "0640"
|
mode: "0640"
|
||||||
create: yes
|
create: true
|
||||||
marker: "# {mark} ANSIBLE MANAGED BLOCK FROM EVOBSD"
|
marker: "# {mark} ANSIBLE MANAGED BLOCK FROM EVOBSD"
|
||||||
block: |
|
block: |
|
||||||
permit setenv {SSH_AUTH_SOCK SSH_TTY PKG_PATH HOME=/root ENV=/root/.profile} :{{ evobsd_sudo_group }}
|
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"
|
- name: "{{ fstab_path }} partition is customized - softdep"
|
||||||
replace:
|
replace:
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
dest: "{{ repository_path }}/.gitignore"
|
dest: "{{ repository_path }}/.gitignore"
|
||||||
owner: root
|
owner: root
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
force: no
|
force: false
|
||||||
tags:
|
tags:
|
||||||
- etc-git
|
- etc-git
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# yamllint disable rule:line-length
|
||||||
---
|
---
|
||||||
- name: "Scripts dir is present"
|
- name: "Scripts dir is present"
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# yamllint disable rule:line-length
|
||||||
---
|
---
|
||||||
- name: "Install nrpe"
|
- name: "Install nrpe"
|
||||||
openbsd_pkg:
|
openbsd_pkg:
|
||||||
|
@ -38,7 +39,7 @@
|
||||||
block: "{{ lookup('template', 'evolix_bsd.cfg.j2') }}"
|
block: "{{ lookup('template', 'evolix_bsd.cfg.j2') }}"
|
||||||
path: /etc/nrpe.d/evolix.cfg
|
path: /etc/nrpe.d/evolix.cfg
|
||||||
marker: "## {mark} ANSIBLE MANAGED BLOCK : Custom NRPE configuration file from EvoBSD"
|
marker: "## {mark} ANSIBLE MANAGED BLOCK : Custom NRPE configuration file from EvoBSD"
|
||||||
create: yes
|
create: true
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
insertbefore: BOF
|
insertbefore: BOF
|
||||||
notify: restart nrpe
|
notify: restart nrpe
|
||||||
|
@ -49,7 +50,7 @@
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/nrpe.d/evolix.cfg
|
dest: /etc/nrpe.d/evolix.cfg
|
||||||
insertbefore: BOF
|
insertbefore: BOF
|
||||||
backrefs: yes
|
backrefs: true
|
||||||
regex: "allowed_hosts={{ nagios_nrpe_allowed_hosts | join(',') }}(.*)"
|
regex: "allowed_hosts={{ nagios_nrpe_allowed_hosts | join(',') }}(.*)"
|
||||||
line: 'allowed_hosts={{ nagios_nrpe_allowed_hosts | join(",") }}\1'
|
line: 'allowed_hosts={{ nagios_nrpe_allowed_hosts | join(",") }}\1'
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in New Issue