2023-05-12 12:35:49 +02:00
|
|
|
---
|
|
|
|
# Install check-local utilitary
|
|
|
|
|
|
|
|
- name: Package nagios-nrpe-plugin is intalled
|
|
|
|
ansible.builtin.apt:
|
|
|
|
name: nagios-nrpe-plugin
|
|
|
|
|
2023-05-31 11:27:32 +02:00
|
|
|
- name: "Remount /usr if needed"
|
|
|
|
ansible.builtin.include_role:
|
|
|
|
name: remount-usr
|
|
|
|
|
2023-05-12 12:35:49 +02:00
|
|
|
- name: Utilitary check-local is installed
|
|
|
|
ansible.builtin.copy:
|
|
|
|
src: check-local
|
|
|
|
dest: /usr/local/bin/check-local
|
|
|
|
mode: "0755"
|
|
|
|
|
2024-03-22 11:09:06 +01:00
|
|
|
- name: Package bash-completion is installed
|
2023-09-15 16:36:57 +02:00
|
|
|
ansible.builtin.apt:
|
|
|
|
name: bash-completion
|
|
|
|
|
2024-03-22 11:09:06 +01:00
|
|
|
- name: Directory /etc/bash_completion.d exists
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: '/etc/bash_completion.d'
|
|
|
|
state: directory
|
|
|
|
mode: '0644'
|
|
|
|
|
2023-05-12 12:35:49 +02:00
|
|
|
- name: Completion for utilitary check-local is installed
|
|
|
|
ansible.builtin.copy:
|
|
|
|
src: check-local_completion
|
|
|
|
dest: /etc/bash_completion.d/check-local
|
|
|
|
mode: "0755"
|
|
|
|
|
|
|
|
|