Jérémy Lecour
1ae40e7686
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2789|6|2783|4|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/260//ansiblelint">Evolix » ansible-roles » unstable #260</a>
gitea/ansible-roles/pipeline/head This commit looks good
29 lines
782 B
YAML
29 lines
782 B
YAML
---
|
|
# 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:
|
|
name: remount-usr
|
|
|
|
- name: Utilitary check-local is installed
|
|
ansible.builtin.copy:
|
|
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', '>=')
|
|
|
|
|