You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
670 B
YAML
22 lines
670 B
YAML
7 years ago
|
# https://github.com/dw/mitogen/issues/239
|
||
|
# While remote_tmp is used in the context of the SSH user by action code
|
||
|
# running on the controller, Ansiballz ignores it and uses the system default
|
||
|
# instead.
|
||
|
|
||
|
- name: integration/remote_tmp/readonly_homedir.yml
|
||
|
hosts: test-targets
|
||
|
any_errors_fatal: true
|
||
|
tasks:
|
||
|
- custom_python_detect_environment:
|
||
|
become: true
|
||
|
become_user: mitogen__readonly_homedir
|
||
|
register: out
|
||
|
vars:
|
||
|
ansible_become_pass: readonly_homedir_password
|
||
|
|
||
|
- debug: msg={{out}}
|
||
|
- name: Verify system temp directory was used.
|
||
|
assert:
|
||
|
that:
|
||
|
- out.argv[0].startswith("/tmp/ansible_mitogen_")
|