Skip delegate_to tasks when running in installer
This commit is contained in:
parent
e060ba9161
commit
f0fd1d5aa0
2 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue