nagios-nrpe: create /etc/bash_completion.d if missing

This commit is contained in:
William Hirigoyen 2024-03-22 11:09:06 +01:00
parent b30b7c884a
commit 56eef89084
2 changed files with 8 additions and 1 deletions

View file

@ -25,6 +25,7 @@ The **patch** part is incremented if multiple releases happen the same month
* keepalived: Fix tasks that use file instead of copy
* memcached: Fix conditions not properly writen (installation was always in multi-instance mode)
* fail2ban: SQLite purge script didn't vacuum as expected + error when vacuum cannot be done
* nagios-nrpe: create /etc/bash_completion.d if missing
### Removed

View file

@ -15,10 +15,16 @@
dest: /usr/local/bin/check-local
mode: "0755"
- name: Package bash-completion is intalled
- name: Package bash-completion is installed
ansible.builtin.apt:
name: bash-completion
- name: Directory /etc/bash_completion.d exists
ansible.builtin.file:
path: '/etc/bash_completion.d'
state: directory
mode: '0644'
- name: Completion for utilitary check-local is installed
ansible.builtin.copy:
src: check-local_completion