Skip to content

Commit e2743cc

Browse files
committed
WIP
1 parent 61113cb commit e2743cc

File tree

5 files changed

+55
-43
lines changed

5 files changed

+55
-43
lines changed

tests/ansible/all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- import_playbook: setup/all.yml
22
tags: setup
3-
- import_playbook: regression/all.yml
4-
tags: regression
3+
#- import_playbook: regression/all.yml
4+
# tags: regression
55
- import_playbook: integration/all.yml
66
tags: integration

tests/ansible/integration/all.yml

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,40 @@
33
# This playbook imports all tests that are known to work at present.
44
#
55

6-
- import_playbook: action/all.yml
7-
tags: action
8-
- import_playbook: async/all.yml
9-
tags: async
10-
- import_playbook: become/all.yml
11-
tags: become
12-
- import_playbook: connection/all.yml
13-
tags: connection
14-
- import_playbook: connection_delegation/all.yml
15-
tags: connection_delegation
16-
- import_playbook: connection_loader/all.yml
17-
tags: connection_loader
6+
#- import_playbook: action/all.yml
7+
# tags: action
8+
#- import_playbook: async/all.yml
9+
# tags: async
10+
#- import_playbook: become/all.yml
11+
# tags: become
12+
#- import_playbook: connection/all.yml
13+
# tags: connection
14+
#- import_playbook: connection_delegation/all.yml
15+
# tags: connection_delegation
16+
#- import_playbook: connection_loader/all.yml
17+
# tags: connection_loader
1818
- import_playbook: context_service/all.yml
1919
tags: context_service
20-
- import_playbook: glibc_caches/all.yml
21-
tags: glibc_caches
22-
- import_playbook: interpreter_discovery/all.yml
23-
tags: interpreter_discovery
24-
- import_playbook: local/all.yml
25-
tags: local
26-
- import_playbook: module_utils/all.yml
27-
tags: module_utils
28-
- import_playbook: playbook_semantics/all.yml
29-
tags: playbook_semantics
30-
- import_playbook: process/all.yml
31-
tags: process
32-
- import_playbook: runner/all.yml
33-
tags: runner
34-
- import_playbook: ssh/all.yml
35-
tags: ssh
36-
- import_playbook: strategy/all.yml
37-
tags: strategy
38-
- import_playbook: stub_connections/all.yml
39-
tags: stub_connections
40-
- import_playbook: transport_config/all.yml
41-
tags: transport_config
20+
#- import_playbook: glibc_caches/all.yml
21+
# tags: glibc_caches
22+
#- import_playbook: interpreter_discovery/all.yml
23+
# tags: interpreter_discovery
24+
#- import_playbook: local/all.yml
25+
# tags: local
26+
#- import_playbook: module_utils/all.yml
27+
# tags: module_utils
28+
#- import_playbook: playbook_semantics/all.yml
29+
# tags: playbook_semantics
30+
#- import_playbook: process/all.yml
31+
# tags: process
32+
#- import_playbook: runner/all.yml
33+
# tags: runner
34+
#- import_playbook: ssh/all.yml
35+
# tags: ssh
36+
#- import_playbook: strategy/all.yml
37+
# tags: strategy
38+
#- import_playbook: stub_connections/all.yml
39+
# tags: stub_connections
40+
#- import_playbook: transport_config/all.yml
41+
# tags: transport_config
42+
#
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
- import_playbook: disconnect_cleanup.yml
2-
- import_playbook: lru_one_target.yml
3-
- import_playbook: reconnection.yml
4-
- import_playbook: remote_name.yml
1+
#- import_playbook: disconnect_cleanup.yml
2+
#- import_playbook: lru_one_target.yml
3+
#- import_playbook: reconnection.yml
4+
#- import_playbook: remote_name.yml
55
- import_playbook: remote_tmp.yml

tests/ansible/integration/context_service/remote_tmp.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
- name: integration/context_service/remote_tmp.yml
44
hosts: test-targets
55
gather_facts: false
6-
vars:
7-
ansible_remote_tmp: ~/.ansible/remote_tmp_test
86
tasks:
97
- name: Exercise ansible_remote_tmp
108
copy:
@@ -13,9 +11,20 @@
1311
content: |
1412
Created by integration/context_service/remote_tmp.yml
1513
14+
- debug:
15+
msg: ANSIBLE_REMOTE_TMP={{ lookup('env', 'ANSIBLE_REMOTE_TMP') }}
16+
17+
- command:
18+
ls -l "{{ lookup('env', 'ANSIBLE_REMOTE_TMP') }}"
19+
changed_when: false
20+
register: out
21+
22+
- debug:
23+
var: out
24+
1625
- name: Delete ansible_remote_tmp
1726
raw: |
18-
rm -rf "{{ ansible_remote_tmp }}"
27+
rm -rf "{{ lookup('env', 'ANSIBLE_REMOTE_TMP') }}"
1928
2029
- name: Do something else that requires ansible_remote_tmp
2130
file:

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,10 @@ passenv =
105105
AWS_SECRET_ACCESS_KEY
106106
HOME
107107
setenv =
108+
ANSIBLE_REMOTE_TMP = ~/.local/remote_tmp_test
108109
# See also azure-pipelines.yml
109110
ANSIBLE_STRATEGY = mitogen_linear
111+
ANSIBLE_VERBOSITY=3
110112
NOCOVERAGE_ERASE = 1
111113
NOCOVERAGE_REPORT = 1
112114
# Only applicable to MODE=mitogen

0 commit comments

Comments
 (0)