nagios-nrpe: allow check-local for Debian < 10
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2790|5|2785|6|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/265//ansiblelint">Evolix » ansible-roles » unstable #265</a>
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2790|5|2785|6|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/265//ansiblelint">Evolix » ansible-roles » unstable #265</a>
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
060018be26
commit
e00af3aafb
2 changed files with 0 additions and 5 deletions
|
@ -1,11 +1,9 @@
|
|||
---
|
||||
# Install check-local utilitary
|
||||
# This task is for Debian >= 10 only!
|
||||
|
||||
- name: Package nagios-nrpe-plugin is intalled
|
||||
ansible.builtin.apt:
|
||||
name: nagios-nrpe-plugin
|
||||
when: ansible_distribution_major_version is version('10', '>=')
|
||||
|
||||
- name: "Remount /usr if needed"
|
||||
ansible.builtin.include_role:
|
||||
|
@ -16,13 +14,11 @@
|
|||
src: check-local
|
||||
dest: /usr/local/bin/check-local
|
||||
mode: "0755"
|
||||
when: ansible_distribution_major_version is version('10', '>=')
|
||||
|
||||
- name: Completion for utilitary check-local is installed
|
||||
ansible.builtin.copy:
|
||||
src: check-local_completion
|
||||
dest: /etc/bash_completion.d/check-local
|
||||
mode: "0755"
|
||||
when: ansible_distribution_major_version is version('10', '>=')
|
||||
|
||||
|
||||
|
|
|
@ -87,4 +87,3 @@
|
|||
- ansible.builtin.include_tasks: wrapper.yml
|
||||
|
||||
- ansible.builtin.include_tasks: check-local.yml
|
||||
when: ansible_distribution_major_version is version('10', '>=')
|
||||
|
|
Loading…
Add table
Reference in a new issue