forked from evolix/ansible-roles
29 lines
640 B
YAML
29 lines
640 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: Package bash-completion is intalled
|
|
ansible.builtin.apt:
|
|
name: bash-completion
|
|
|
|
- name: Completion for utilitary check-local is installed
|
|
ansible.builtin.copy:
|
|
src: check-local_completion
|
|
dest: /etc/bash_completion.d/check-local
|
|
mode: "0755"
|
|
|
|
|