|
|
|
[test-targets]
|
|
|
|
{% for c in containers %}
|
|
|
|
{{ c.name }} ansible_host={{ c.hostname }} ansible_port={{ c.port }} ansible_python_interpreter={{ c.python_path }}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
[test-targets:vars]
|
|
|
|
ansible_user=mitogen__has_sudo_nopw
|
|
|
|
ansible_password=has_sudo_nopw_password
|
|
|
|
|
|
|
|
{% for distro, hostnames in distros | dictsort %}
|
|
|
|
[{{ distro }}]
|
|
|
|
{% for hostname in hostnames %}
|
|
|
|
{{ hostname }}
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% for family, hostnames in families | dictsort %}
|
|
|
|
[{{ family }}]
|
|
|
|
{% for hostname in hostnames %}
|
|
|
|
{{ hostname }}
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
[linux:children]
|
|
|
|
test-targets
|
|
|
|
|
|
|
|
[linux_containers:children]
|
|
|
|
test-targets
|
|
|
|
|
|
|
|
[issue905]
|
|
|
|
{% for c in containers[:1] %}
|
|
|
|
ssh-common-args ansible_host={{ c.hostname }} ansible_port={{ c.port }} ansible_python_interpreter={{ c.python_path }}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
[issue905:vars]
|
|
|
|
ansible_user=mitogen__has_sudo_nopw
|
|
|
|
ansible_password=has_sudo_nopw_password
|
|
|
|
ansible_ssh_common_args=-o PermitLocalCommand=yes -o LocalCommand="touch {{ '{{' }} ssh_args_canary_file {{ '}}' }}"
|
|
|
|
ssh_args_canary_file=/tmp/ssh_args_by_inv_{{ '{{' }} inventory_hostname {{ '}}' }}
|
|
|
|
|
|
|
|
{% set tt = containers[0] %}
|
|
|
|
|
|
|
|
[tt_targets_bare]
|
|
|
|
tt-bare
|
|
|
|
|
|
|
|
[tt_targets_bare:vars]
|
|
|
|
ansible_host={{ tt.hostname }}
|
|
|
|
ansible_python_interpreter={{ tt.python_path }}
|
|
|
|
|
|
|
|
[tt_become_bare]
|
|
|
|
tt-become-bare
|
|
|
|
|
|
|
|
[tt_become_bare:vars]
|
|
|
|
ansible_host={{ tt.hostname }}
|
|
|
|
ansible_password=has_sudo_nopw_password
|
|
|
|
ansible_port={{ tt.port }}
|
|
|
|
ansible_python_interpreter={{ tt.python_path }}
|
|
|
|
ansible_user=mitogen__has_sudo_nopw
|
|
|
|
|
|
|
|
[tt_become_by_inv]
|
|
|
|
tt-become-exe ansible_become=true ansible_become_exe="{{ '{{' }} 'sudo' | trim {{ '}}' }}" ansible_become_user=root
|
|
|
|
tt-become-flags ansible_become=true ansible_become_flags="{{ '{{' }} '--set-home --stdin --non-interactive' | trim {{ '}}' }}" ansible_become_user=root
|
|
|
|
tt-become-pass ansible_become=true ansible_become_pass="{{ '{{' }} 'pw_required_password' | trim {{ '}}' }}" ansible_become_user=mitogen__pw_required
|
|
|
|
tt-become-user ansible_become=true ansible_become_user="{{ '{{' }} 'root' | trim {{ '}}' }}"
|
|
|
|
|
|
|
|
[tt_become_by_inv:vars]
|
|
|
|
ansible_host={{ tt.hostname }}
|
|
|
|
ansible_password=has_sudo_nopw_password
|
|
|
|
ansible_port={{ tt.port }}
|
|
|
|
ansible_python_interpreter={{ tt.python_path }}
|
|
|
|
ansible_user=mitogen__has_sudo_nopw
|
|
|
|
|
|
|
|
[tt_targets_inventory]
|
|
|
|
tt-password ansible_password="{{ '{{' }} 'has_sudo_nopw_password' | trim {{ '}}' }}" ansible_port={{ tt.port }} ansible_user=mitogen__has_sudo_nopw
|
|
|
|
tt-port ansible_password=has_sudo_nopw_password ansible_port="{{ '{{' }} {{ tt.port }} | int {{ '}}' }}" ansible_user=mitogen__has_sudo_nopw
|
|
|
|
tt-remote-user ansible_password=has_sudo_nopw_password ansible_port={{ tt.port }} ansible_user="{{ '{{' }} 'mitogen__has_sudo_nopw' | trim {{ '}}' }}"
|
|
|
|
|
|
|
|
[tt_targets_inventory:vars]
|
|
|
|
ansible_host={{ tt.hostname }}
|
|
|
|
ansible_python_interpreter={{ tt.python_path }}
|