|
|
|
|
@ -3,6 +3,7 @@
|
|
|
|
|
gather_facts: false
|
|
|
|
|
vars:
|
|
|
|
|
ansible_host: "{{ hostvars[groups['test-targets'][0]].host | default('localhost') }}"
|
|
|
|
|
ansible_host_key_checking: "{{ 'false' | trim }}"
|
|
|
|
|
ansible_password: "{{ 'has_sudo_nopw_password' | trim }}"
|
|
|
|
|
ansible_port: "{{ hostvars[groups['test-targets'][0]].ansible_port | default(22) }}"
|
|
|
|
|
ansible_ssh_executable: "{{ 'ssh' | trim }}"
|
|
|
|
|
@ -18,6 +19,7 @@
|
|
|
|
|
gather_facts: false
|
|
|
|
|
vars:
|
|
|
|
|
ansible_host: "{{ hostvars[groups['test-targets'][0]].host | default('localhost') }}"
|
|
|
|
|
ansible_host_key_checking: "{{ 'false' | trim }}"
|
|
|
|
|
ansible_private_key_file: "{{ git_basedir }}/tests/data/docker/mitogen__has_sudo_pubkey.key"
|
|
|
|
|
ansible_port: "{{ hostvars[groups['test-targets'][0]].ansible_port | default(22) }}"
|
|
|
|
|
ansible_ssh_executable: "{{ 'ssh' | trim }}"
|
|
|
|
|
|