Fixes/Add for different distributions
This commit is contained in:
parent
5af97e0b44
commit
f6fe7c2572
|
@ -8,10 +8,10 @@
|
||||||
- name: Gather OS Specific Variables
|
- name: Gather OS Specific Variables
|
||||||
include_vars: "{{ item }}"
|
include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ ansible_distribution|lower }}-{{ ansible_distribution_version }}.yml"
|
- "{{ (ansible_distribution|lower).split(' ')[0] }}-{{ (ansible_distribution_version|lower).split(' ')[0] }}.yml"
|
||||||
- "{{ ansible_distribution|lower }}-{{ ansible_distribution_major_version }}.yml"
|
- "{{ (ansible_distribution|lower).split(' ')[0] }}-{{ (ansible_distribution_major_version|lower).split(' ')[0] }}.yml"
|
||||||
- "{{ ansible_distribution|lower }}.yml"
|
- "{{ (ansible_distribution|lower).split(' ')[0] }}.yml"
|
||||||
- "{{ ansible_os_family|lower }}.yml"
|
- "{{ (ansible_os_family|lower).split(' ')[0] }}.yml"
|
||||||
- "defaults.yml"
|
- "defaults.yml"
|
||||||
|
|
||||||
- include: user.yml
|
- include: user.yml
|
||||||
|
|
1
vars/devuan.yml
Symbolic link
1
vars/devuan.yml
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
debian.yml
|
15
vars/sles-11.yml
Normal file
15
vars/sles-11.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
monitored_packages_mp:
|
||||||
|
- monitoring-plugins
|
||||||
|
|
||||||
|
monitored_packages_np:
|
||||||
|
- nagios-plugins
|
||||||
|
|
||||||
|
|
||||||
|
monitored_packages_nrpe:
|
||||||
|
- nagios-nrpe
|
||||||
|
|
||||||
|
monitored_nrpe_basedir: /etc/nagios
|
||||||
|
monitored_nrpe_pidfile: /var/run/nrpe/nrpe.pid
|
||||||
|
|
||||||
|
|
10
vars/void.yml
Normal file
10
vars/void.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
monitored_by_nrpe: False
|
||||||
|
|
||||||
|
monitored_packages_nrpe: null
|
||||||
|
|
||||||
|
monitored_packages_mp:
|
||||||
|
- monitoring-plugins
|
||||||
|
monitored_packages_np:
|
||||||
|
- nagios-plugins
|
||||||
|
|
Loading…
Reference in a new issue