summaryrefslogtreecommitdiff
path: root/test/integration/targets/module_utils
diff options
context:
space:
mode:
authorMatt Clay <mclay@redhat.com>2021-09-20 18:39:07 -0700
committerGitHub <noreply@github.com>2021-09-20 18:39:07 -0700
commit4ea8d9a7824827cf3d4a206599ffd7fe3a09eafd (patch)
tree57b4ea491f6f93b6b938037e28dca90098754ca2 /test/integration/targets/module_utils
parent989eeb243fcf9236bd54d4df60c01f6db4e642a7 (diff)
downloadansible-4ea8d9a7824827cf3d4a206599ffd7fe3a09eafd.tar.gz
ansible-test - split controller/target testing (#75605)
Diffstat (limited to 'test/integration/targets/module_utils')
-rw-r--r--test/integration/targets/module_utils/aliases1
-rw-r--r--test/integration/targets/module_utils/module_utils_test_no_log.yml3
-rw-r--r--test/integration/targets/module_utils/module_utils_vvvvv.yml3
3 files changed, 5 insertions, 2 deletions
diff --git a/test/integration/targets/module_utils/aliases b/test/integration/targets/module_utils/aliases
index 2f5770ffaa..769d265d3a 100644
--- a/test/integration/targets/module_utils/aliases
+++ b/test/integration/targets/module_utils/aliases
@@ -1,3 +1,4 @@
shippable/posix/group3
needs/root
needs/target/setup_nobody
+context/target
diff --git a/test/integration/targets/module_utils/module_utils_test_no_log.yml b/test/integration/targets/module_utils/module_utils_test_no_log.yml
index bad2efd495..2fa3e101ad 100644
--- a/test/integration/targets/module_utils/module_utils_test_no_log.yml
+++ b/test/integration/targets/module_utils/module_utils_test_no_log.yml
@@ -7,3 +7,6 @@
explicit_pass: abc
suboption:
explicit_sub_pass: def
+ environment:
+ SECRET_ENV: ghi
+ SECRET_SUB_ENV: jkl
diff --git a/test/integration/targets/module_utils/module_utils_vvvvv.yml b/test/integration/targets/module_utils/module_utils_vvvvv.yml
index 6a9f92013c..fc2b0c1c90 100644
--- a/test/integration/targets/module_utils/module_utils_vvvvv.yml
+++ b/test/integration/targets/module_utils/module_utils_vvvvv.yml
@@ -7,11 +7,10 @@
# Invocation usually is output with 3vs or more, our callback plugin displays it anyway
- name: Check no_log invocation results
command: ansible-playbook -i {{ inventory_file }} module_utils_test_no_log.yml
+ delegate_to: localhost
environment:
ANSIBLE_CALLBACK_PLUGINS: callback
ANSIBLE_STDOUT_CALLBACK: pure_json
- SECRET_ENV: ghi
- SECRET_SUB_ENV: jkl
register: no_log_invocation
- set_fact: