# code: language=ini # vim: syntax=dosini # When running the tests outside CI, make a single 'target' host which is the # local machine. The ansible_user override is necessary since some tests want a # fixed ansible.cfg remote_user setting to test against. # FIXME Hardcoded by replacement in some CI runs https://github.com/mitogen-hq/mitogen/issues/1022 # and os.environ['USER'] is not populated on Azure macOS runners. target ansible_host=localhost ansible_user="{{ lookup('pipe', 'whoami') }}" [test-targets] target [linux_containers] [issue905] ssh-common-args ansible_host=localhost ansible_user="{{ lookup('pipe', 'whoami') }}" [issue905:vars] ansible_ssh_common_args=-o PermitLocalCommand=yes -o LocalCommand="touch {{ ssh_args_canary_file }}" ssh_args_canary_file=/tmp/ssh_args_{{ inventory_hostname }} [tt_targets_bare] tt-bare [tt_targets_bare:vars] ansible_host=localhost ansible_user=mitogen__has_sudo_nopw [tt_targets_inventory] tt-password ansible_password="{{ 'has_sudo_nopw_password' | trim }}" [tt_targets_inventory:vars] ansible_host=localhost ansible_user=mitogen__has_sudo_nopw