install wireguard only if variable is set to true

This commit is contained in:
rene committed 2022-03-10 17:55:13 +01:00
1 parent ff581dc013
commit ec8ca0c72c
2 files changed
+4

No files matched your search

+3
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