mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
Validate 2 input vars for munin/tasks/main.yml
This commit is contained in:
parent
397c6934a0
commit
7ec60657b3
1 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
- assert:
|
||||||
|
that: munin_install is defined and munin_install is sameas true
|
||||||
|
success_msg: munin_install is defined and munin_install is sameas true
|
||||||
|
|
||||||
|
- assert:
|
||||||
|
that: munin_enabled is defined and munin_enabled | type_debug == 'bool'
|
||||||
|
success_msg: munin_enabled is defined and munin_enabled | type_debug == 'bool'
|
||||||
|
|
||||||
- name: Install Munin if 'munin_installed' is not defined in {{ iiab_state_file }} # /etc/iiab/iiab_state.yml
|
- name: Install Munin if 'munin_installed' is not defined in {{ iiab_state_file }} # /etc/iiab/iiab_state.yml
|
||||||
include_tasks: install.yml
|
include_tasks: install.yml
|
||||||
when: munin_installed is undefined
|
when: munin_installed is undefined
|
||||||
|
|
Loading…
Reference in a new issue