1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Validate 2 input vars for munin/tasks/main.yml

This commit is contained in:
A Holt 2020-01-21 04:05:45 -05:00 committed by GitHub
parent 397c6934a0
commit 7ec60657b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
include_tasks: install.yml
when: munin_installed is undefined