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.
|
|
|
# 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
|
|
|
|
|
|
|
|
- name: Verify system temp directory was used.
|
|
|
|
assert:
|
|
|
|
that:
|
|
|
|
- out.__file__.startswith("/tmp/ansible_mitogen_")
|