Make wg configuration an optional task

During installation and automatic updates applied by the emmiter
permissions to access the wg server are not available.

Switch the task on with the tag: "--tags all,wgconfig".
This commit is contained in:
Raphael Dannecker 2024-07-24 08:41:58 +02:00
parent 3e02142123
commit 962dc07a2a

View file

@ -54,4 +54,6 @@
- name: Configure Wireguard - name: Configure Wireguard
ansible.builtin.include_tasks: wg_config.yml ansible.builtin.include_tasks: wg_config.yml
when: not run_in_installer|default(false)|bool tags:
- never
- wgconfig