pull/1081/head
Alex Willmer 6 months ago
parent 61113cb076
commit 54cfe138c9

@ -1,6 +1,6 @@
- import_playbook: setup/all.yml - import_playbook: setup/all.yml
tags: setup tags: setup
- import_playbook: regression/all.yml #- import_playbook: regression/all.yml
tags: regression # tags: regression
- import_playbook: integration/all.yml - import_playbook: integration/all.yml
tags: integration tags: integration

@ -3,39 +3,40 @@
# This playbook imports all tests that are known to work at present. # This playbook imports all tests that are known to work at present.
# #
- import_playbook: action/all.yml #- import_playbook: action/all.yml
tags: action # tags: action
- import_playbook: async/all.yml #- import_playbook: async/all.yml
tags: async # tags: async
- import_playbook: become/all.yml #- import_playbook: become/all.yml
tags: become # tags: become
- import_playbook: connection/all.yml #- import_playbook: connection/all.yml
tags: connection # tags: connection
- import_playbook: connection_delegation/all.yml #- import_playbook: connection_delegation/all.yml
tags: connection_delegation # tags: connection_delegation
- import_playbook: connection_loader/all.yml #- import_playbook: connection_loader/all.yml
tags: connection_loader # tags: connection_loader
- import_playbook: context_service/all.yml - import_playbook: context_service/all.yml
tags: context_service tags: context_service
- import_playbook: glibc_caches/all.yml #- import_playbook: glibc_caches/all.yml
tags: glibc_caches # tags: glibc_caches
- import_playbook: interpreter_discovery/all.yml #- import_playbook: interpreter_discovery/all.yml
tags: interpreter_discovery # tags: interpreter_discovery
- import_playbook: local/all.yml #- import_playbook: local/all.yml
tags: local # tags: local
- import_playbook: module_utils/all.yml #- import_playbook: module_utils/all.yml
tags: module_utils # tags: module_utils
- import_playbook: playbook_semantics/all.yml #- import_playbook: playbook_semantics/all.yml
tags: playbook_semantics # tags: playbook_semantics
- import_playbook: process/all.yml #- import_playbook: process/all.yml
tags: process # tags: process
- import_playbook: runner/all.yml #- import_playbook: runner/all.yml
tags: runner # tags: runner
- import_playbook: ssh/all.yml #- import_playbook: ssh/all.yml
tags: ssh # tags: ssh
- import_playbook: strategy/all.yml #- import_playbook: strategy/all.yml
tags: strategy # tags: strategy
- import_playbook: stub_connections/all.yml #- import_playbook: stub_connections/all.yml
tags: stub_connections # tags: stub_connections
- import_playbook: transport_config/all.yml #- import_playbook: transport_config/all.yml
tags: transport_config # tags: transport_config
#

@ -1,5 +1,5 @@
- import_playbook: disconnect_cleanup.yml #- import_playbook: disconnect_cleanup.yml
- import_playbook: lru_one_target.yml #- import_playbook: lru_one_target.yml
- import_playbook: reconnection.yml #- import_playbook: reconnection.yml
- import_playbook: remote_name.yml #- import_playbook: remote_name.yml
- import_playbook: remote_tmp.yml - import_playbook: remote_tmp.yml

@ -3,8 +3,6 @@
- name: integration/context_service/remote_tmp.yml - name: integration/context_service/remote_tmp.yml
hosts: test-targets hosts: test-targets
gather_facts: false gather_facts: false
vars:
ansible_remote_tmp: ~/.ansible/remote_tmp_test
tasks: tasks:
- name: Exercise ansible_remote_tmp - name: Exercise ansible_remote_tmp
copy: copy:
@ -13,9 +11,20 @@
content: | content: |
Created by integration/context_service/remote_tmp.yml Created by integration/context_service/remote_tmp.yml
- debug:
msg: ANSIBLE_REMOTE_TMP={{ lookup('env', 'ANSIBLE_REMOTE_TMP') }}
- command:
ls -l "{{ lookup('env', 'ANSIBLE_REMOTE_TMP') }}"
changed_when: false
register: out
- debug:
var: out
- name: Delete ansible_remote_tmp - name: Delete ansible_remote_tmp
raw: | raw: |
rm -rf "{{ ansible_remote_tmp }}" rm -rf "{{ lookup('env', 'ANSIBLE_REMOTE_TMP') }}"
- name: Do something else that requires ansible_remote_tmp - name: Do something else that requires ansible_remote_tmp
file: file:

@ -105,8 +105,10 @@ passenv =
AWS_SECRET_ACCESS_KEY AWS_SECRET_ACCESS_KEY
HOME HOME
setenv = setenv =
ANSIBLE_REMOTE_TMP = ~/.local/remote_tmp_test
# See also azure-pipelines.yml # See also azure-pipelines.yml
ANSIBLE_STRATEGY = mitogen_linear ANSIBLE_STRATEGY = mitogen_linear
ANSIBLE_VERBOSITY = 3
NOCOVERAGE_ERASE = 1 NOCOVERAGE_ERASE = 1
NOCOVERAGE_REPORT = 1 NOCOVERAGE_REPORT = 1
# Only applicable to MODE=mitogen # Only applicable to MODE=mitogen

Loading…
Cancel
Save