Possibility to allow some pkgs not from repos
For apt probe.
This commit is contained in:
parent
5cfa7c518c
commit
6403124985
|
@ -2,6 +2,7 @@
|
|||
|
||||
### Enhancements
|
||||
* Add IPMI probe.
|
||||
* Add possibility to allow some packages not installed from repos for apt probe.
|
||||
|
||||
### Fix
|
||||
* Deprecation warning about "installed" for state.
|
||||
|
|
|
@ -31,6 +31,10 @@ Manage Xymon (client) installation and configuration.
|
|||
* **xymon_plug_apt_package** : The packages to install to provide `apt` plugin [default : `[ 'libtimedate-perl' ]`].
|
||||
* **xymon_plug_apt_path** : Configuration file for the `apt` plugin [default : `/etc/xymon/clientlaunch.d/apt.cfg`].
|
||||
* **xymon_plug_apt_tpl** : Template used to generate the previous config file [default : `etc/xymon/clientlaunch.d/apt.cfg.j2`].
|
||||
* **xymon_plug_apt_default_whitelist: Default list of allowed packages not installed from repositories [default : `[]`].
|
||||
* **xymon_plug_apt_whitelist: All hosts list of allowed packages not installed from repositories [default : `[]`].
|
||||
* **xymon_plug_apt_group_whitelist: Group list of allowed packages not installed from repositories [default : `[]`].
|
||||
* **xymon_plug_apt_host_whitelist: Host list of allowed packages not installed from repositories [default : `[]`].
|
||||
* **xymon_plug_mq_state** : The state of plugin `mq` [default : `true`].
|
||||
* **xymon_plug_mq_package** : The packages to install to provide `mq` plugin [default : `[ 'libtimedate-perl' ]`].
|
||||
* **xymon_plug_mq_path** : Configuration file for the `mq` plugin [default : `/etc/xymon/clientlaunch.d/mq.cfg`].
|
||||
|
|
|
@ -53,6 +53,15 @@ xymon_plug_apt_state: true
|
|||
xymon_plug_apt_package: ['dctrl-tools']
|
||||
xymon_plug_apt_path: '/etc/xymon/clientlaunch.d/apt.cfg'
|
||||
xymon_plug_apt_tpl: 'etc/xymon/clientlaunch.d/apt.cfg.j2'
|
||||
xymon_plug_apt_default_whitelist: []
|
||||
xymon_plug_apt_whitelist: []
|
||||
xymon_plug_apt_group_whitelist: []
|
||||
xymon_plug_apt_host_whitelist: []
|
||||
xymon_plug_apt_combined_whitelist: '{{ xymon_plug_apt_default_whitelist
|
||||
+ xymon_plug_apt_whitelist
|
||||
+ xymon_plug_apt_group_whitelist
|
||||
+ xymon_plug_apt_host_whitelist }}'
|
||||
|
||||
## ]]]
|
||||
## Plugin mq [[[
|
||||
xymon_plug_mq_state: true
|
||||
|
|
|
@ -70,6 +70,17 @@
|
|||
xymon_plug_manage|bool)
|
||||
notify: restart xymon-client service
|
||||
|
||||
- name: PLUGIN apt no_repo_accept whitelist
|
||||
template:
|
||||
src: 'etc/xymon/apt_no_repo_accept.j2'
|
||||
dest: '/etc/xymon/apt_no_repo_accept'
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
when: (xymon_cli_manage|bool and
|
||||
xymon_plug_manage|bool)
|
||||
notify: restart xymon-client service
|
||||
|
||||
# Manage mq plugin [[[1
|
||||
- name: PLUGIN mq packages
|
||||
package:
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
# {{ ansible_managed }}
|
||||
{% for package in xymon_plug_apt_combined_whitelist %}
|
||||
{{ package }}
|
||||
{% endfor %}
|
Loading…
Reference in New Issue