Merge pull request #1114 from moreati/ansible_ssh_password
`ansible_ssh_password` supportpull/1136/head
commit
17d3f39e44
@ -0,0 +1,7 @@
|
|||||||
|
- name: integration/ssh/templated_by_inv.yml
|
||||||
|
hosts: tt_targets_inventory
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
- meta: reset_connection
|
||||||
|
- name: Templated variables in inventory
|
||||||
|
ping:
|
@ -0,0 +1,10 @@
|
|||||||
|
- name: integration/ssh/templated_by_play_taskvar.yml
|
||||||
|
hosts: tt_targets_bare
|
||||||
|
gather_facts: false
|
||||||
|
vars:
|
||||||
|
ansible_password: "{{ 'has_sudo_nopw_password' | trim }}"
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- meta: reset_connection
|
||||||
|
- name: Templated variables in play
|
||||||
|
ping:
|
Loading…
Reference in New Issue