install wireguard only if variable is set to true

This commit is contained in:
rene
2022-03-10 17:55:13 +01:00
parent ff581dc013
commit ec8ca0c72c
2 changed files with 4 additions and 0 deletions

View File

@@ -10,6 +10,9 @@
when: netdata is defined and netdata == true
- include_tasks: utilities/snmpd.yml
- include_tasks: utilities/wireguard.yml
when:
- wireguard is defined
- wireguard == true
- include_tasks: system_setup/cron.yml
- include_role:
name: base