update conditional
This commit is contained in:
parent
38fd3c8144
commit
10a30d68d5
@ -55,6 +55,6 @@
|
|||||||
|
|
||||||
# vars for all hosts/groups
|
# vars for all hosts/groups
|
||||||
[all:vars]
|
[all:vars]
|
||||||
{% if __use_bastion is defined and __use_bastion|bool %}
|
{% if __bastion_user is defined and __bastion_host is defined %}
|
||||||
ansible_ssh_common_args='-J {{ __bastion_user }}@{{ __bastion_host }}'
|
ansible_ssh_common_args='-J {{ __bastion_user }}@{{ __bastion_host }}'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user