Skip delegate_to tasks when running in installer

This commit is contained in:
Raphael Dannecker 2025-05-07 14:38:01 +02:00
parent e060ba9161
commit f0fd1d5aa0
2 changed files with 4 additions and 1 deletions

View file

@ -20,7 +20,9 @@
when: result.stdout is not defined or result.stdout!="reachable"
- name: Configure WG Server
when: result.stdout is defined and result.stdout=="reachable"
when:
- result.stdout is defined and result.stdout=="reachable"
- not run_in_installer|default(false)|bool
block:
- name: Set facts wg_clientname
ansible.builtin.set_fact: