2018-04-04 14:38:39 +00:00
|
|
|
#
|
|
|
|
# The ansible.cfg remote_tmp setting should be copied to the target and used
|
|
|
|
# when generating temporary paths created by the runner.py code executing
|
|
|
|
# remotely.
|
|
|
|
#
|
|
|
|
- hosts: all
|
2018-04-04 23:11:29 +00:00
|
|
|
any_errors_fatal: true
|
2018-04-04 14:38:39 +00:00
|
|
|
gather_facts: true
|
|
|
|
tasks:
|
2018-04-04 19:19:46 +00:00
|
|
|
- name: integration/runner__remote_tmp.yml
|
|
|
|
bash_return_paths:
|
2018-04-04 14:38:39 +00:00
|
|
|
register: output
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: output.argv0.startswith('%s/.ansible/mitogen-tests/' % ansible_user_dir)
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: output.argv1.startswith('%s/.ansible/mitogen-tests/' % ansible_user_dir)
|