ansible-roles/nagios-nrpe/tasks/check-local.yml
William Hirigoyen e00af3aafb
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
nagios-nrpe: allow check-local for Debian < 10
2023-06-02 09:47:20 +02:00

25 lines
546 B
YAML

---
# Install check-local utilitary
- name: Package nagios-nrpe-plugin is intalled
ansible.builtin.apt:
name: nagios-nrpe-plugin
- name: "Remount /usr if needed"
ansible.builtin.include_role:
name: remount-usr
- name: Utilitary check-local is installed
ansible.builtin.copy:
src: check-local
dest: /usr/local/bin/check-local
mode: "0755"
- name: Completion for utilitary check-local is installed
ansible.builtin.copy:
src: check-local_completion
dest: /etc/bash_completion.d/check-local
mode: "0755"