summaryrefslogtreecommitdiff
path: root/test/integration/targets
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
parent989eeb243fcf9236bd54d4df60c01f6db4e642a7 (diff)
downloadansible-4ea8d9a7824827cf3d4a206599ffd7fe3a09eafd.tar.gz
ansible-test - split controller/target testing (#75605)
Diffstat (limited to 'test/integration/targets')
-rw-r--r--test/integration/targets/adhoc/aliases1
-rw-r--r--test/integration/targets/ansiballz_python/aliases1
-rw-r--r--test/integration/targets/ansible-doc/aliases1
-rw-r--r--test/integration/targets/ansible-galaxy-collection-scm/aliases3
-rw-r--r--test/integration/targets/ansible-galaxy-collection/aliases1
-rw-r--r--test/integration/targets/ansible-galaxy-role/aliases2
-rw-r--r--test/integration/targets/ansible-galaxy/aliases3
-rw-r--r--test/integration/targets/ansible-inventory/aliases1
-rw-r--r--test/integration/targets/ansible-pull/aliases2
-rw-r--r--test/integration/targets/ansible-runner/aliases3
-rw-r--r--test/integration/targets/ansible-test-cloud-acme/aliases1
-rw-r--r--test/integration/targets/ansible-test-cloud-cs/aliases1
-rw-r--r--test/integration/targets/ansible-test-cloud-foreman/aliases1
-rw-r--r--test/integration/targets/ansible-test-cloud-galaxy/aliases1
-rw-r--r--test/integration/targets/ansible-test-cloud-httptester-windows/aliases1
-rw-r--r--test/integration/targets/ansible-test-cloud-httptester/aliases1
-rw-r--r--test/integration/targets/ansible-test-cloud-nios/aliases1
-rw-r--r--test/integration/targets/ansible-test-cloud-openshift/aliases1
-rw-r--r--test/integration/targets/ansible-test-cloud-vcenter/aliases1
-rw-r--r--test/integration/targets/ansible-test-docker/aliases1
-rw-r--r--test/integration/targets/ansible-test/aliases2
-rw-r--r--test/integration/targets/ansible-test/ansible_collections/ns/col_constraints/tests/integration/targets/constraints/aliases1
-rw-r--r--test/integration/targets/ansible-vault/aliases2
-rw-r--r--test/integration/targets/ansible-vault/single_vault_as_string.yml2
-rw-r--r--test/integration/targets/ansible/aliases2
-rw-r--r--test/integration/targets/any_errors_fatal/aliases1
-rw-r--r--test/integration/targets/args/aliases1
-rw-r--r--test/integration/targets/argspec/aliases1
-rw-r--r--test/integration/targets/assert/aliases2
-rw-r--r--test/integration/targets/async_extra_data/aliases1
-rw-r--r--test/integration/targets/become/aliases1
-rw-r--r--test/integration/targets/become_su/aliases2
-rw-r--r--test/integration/targets/become_unprivileged/aliases2
-rw-r--r--test/integration/targets/binary/aliases1
-rw-r--r--test/integration/targets/binary_modules_posix/aliases1
-rw-r--r--test/integration/targets/blocks/aliases1
-rw-r--r--test/integration/targets/builtin_vars_prompt/aliases1
-rw-r--r--test/integration/targets/callback_default/aliases1
-rw-r--r--test/integration/targets/changed_when/aliases1
-rw-r--r--test/integration/targets/check_mode/aliases1
-rw-r--r--test/integration/targets/cli/aliases1
-rwxr-xr-xtest/integration/targets/collections/runme.sh4
-rw-r--r--test/integration/targets/collections_plugin_namespace/aliases1
-rw-r--r--test/integration/targets/collections_runtime_pythonpath/aliases3
-rwxr-xr-xtest/integration/targets/collections_runtime_pythonpath/runme.sh6
-rw-r--r--test/integration/targets/command_nonexisting/aliases3
-rw-r--r--test/integration/targets/command_shell/tasks/main.yml4
-rw-r--r--test/integration/targets/common_network/aliases1
-rw-r--r--test/integration/targets/conditionals/aliases1
-rw-r--r--test/integration/targets/config/aliases1
-rw-r--r--test/integration/targets/connection_delegation/aliases1
-rw-r--r--test/integration/targets/connection_paramiko_ssh/aliases1
-rw-r--r--test/integration/targets/connection_ssh/aliases1
-rw-r--r--test/integration/targets/controller/aliases2
-rw-r--r--test/integration/targets/controller/tasks/main.yml9
-rw-r--r--test/integration/targets/dataloader/aliases1
-rw-r--r--test/integration/targets/debug/aliases1
-rw-r--r--test/integration/targets/delegate_to/aliases2
-rw-r--r--test/integration/targets/dict_transformations/aliases1
-rw-r--r--test/integration/targets/dnf/tasks/dnf.yml4
-rw-r--r--test/integration/targets/egg-info/aliases1
-rw-r--r--test/integration/targets/embedded_module/aliases1
-rw-r--r--test/integration/targets/environment/aliases1
-rw-r--r--test/integration/targets/error_from_connection/aliases1
-rw-r--r--test/integration/targets/facts_d/aliases1
-rw-r--r--test/integration/targets/facts_linux_network/aliases1
-rw-r--r--test/integration/targets/failed_when/aliases1
-rw-r--r--test/integration/targets/fetch/aliases1
-rw-r--r--test/integration/targets/fetch/hosts.yml8
-rwxr-xr-xtest/integration/targets/fetch/runme.sh6
-rw-r--r--test/integration/targets/file/tasks/main.yml5
-rw-r--r--test/integration/targets/filter_core/aliases2
-rw-r--r--test/integration/targets/filter_encryption/aliases3
-rw-r--r--test/integration/targets/filter_mathstuff/aliases2
-rw-r--r--test/integration/targets/filter_urls/aliases2
-rw-r--r--test/integration/targets/filter_urlsplit/aliases2
-rw-r--r--test/integration/targets/gathering/aliases1
-rw-r--r--test/integration/targets/gathering_facts/aliases1
-rw-r--r--test/integration/targets/groupby_filter/aliases1
-rw-r--r--test/integration/targets/handler_race/aliases3
-rw-r--r--test/integration/targets/handlers/aliases3
-rw-r--r--test/integration/targets/hardware_facts/aliases1
-rw-r--r--test/integration/targets/hash/aliases1
-rw-r--r--test/integration/targets/hosts_field/aliases1
-rw-r--r--test/integration/targets/ignore_errors/aliases1
-rw-r--r--test/integration/targets/ignore_unreachable/aliases1
-rw-r--r--test/integration/targets/import_tasks/aliases2
-rw-r--r--test/integration/targets/incidental_cloud_init_data_facts/aliases1
-rw-r--r--test/integration/targets/incidental_deploy_helper/aliases1
-rw-r--r--test/integration/targets/incidental_inventory_aws_ec2/aliases1
-rwxr-xr-xtest/integration/targets/incidental_inventory_aws_ec2/runme.sh4
-rw-r--r--test/integration/targets/incidental_inventory_docker_swarm/aliases3
-rw-r--r--test/integration/targets/incidental_inventory_foreman/aliases1
-rw-r--r--test/integration/targets/incidental_inventory_foreman/inspect_cache.yml4
-rwxr-xr-xtest/integration/targets/incidental_inventory_foreman/runme.sh4
-rw-r--r--test/integration/targets/incidental_mongodb_parameter/aliases1
-rw-r--r--test/integration/targets/include_import/aliases2
-rw-r--r--test/integration/targets/include_vars-ad-hoc/aliases1
-rw-r--r--test/integration/targets/include_when_parent_is_dynamic/aliases2
-rw-r--r--test/integration/targets/include_when_parent_is_static/aliases2
-rw-r--r--test/integration/targets/includes/aliases1
-rw-r--r--test/integration/targets/includes_race/aliases2
-rw-r--r--test/integration/targets/infra/aliases1
-rw-r--r--test/integration/targets/interpreter_discovery_python/aliases1
-rw-r--r--test/integration/targets/interpreter_discovery_python_delegate_facts/aliases1
-rw-r--r--test/integration/targets/inventory/aliases1
-rw-r--r--test/integration/targets/inventory_cache/aliases1
-rw-r--r--test/integration/targets/inventory_yaml/aliases1
-rw-r--r--test/integration/targets/jinja2_native_types/aliases1
-rw-r--r--test/integration/targets/jinja_plugins/aliases1
-rw-r--r--test/integration/targets/json_cleanup/aliases1
-rw-r--r--test/integration/targets/limit_inventory/aliases1
-rw-r--r--test/integration/targets/lookup_config/aliases2
-rw-r--r--test/integration/targets/lookup_csvfile/aliases1
-rw-r--r--test/integration/targets/lookup_dict/aliases2
-rw-r--r--test/integration/targets/lookup_env/aliases2
-rw-r--r--test/integration/targets/lookup_file/aliases2
-rw-r--r--test/integration/targets/lookup_first_found/aliases2
-rw-r--r--test/integration/targets/lookup_indexed_items/aliases2
-rw-r--r--test/integration/targets/lookup_ini/aliases1
-rw-r--r--test/integration/targets/lookup_inventory_hostnames/aliases1
-rw-r--r--test/integration/targets/lookup_items/aliases2
-rw-r--r--test/integration/targets/lookup_lines/aliases2
-rw-r--r--test/integration/targets/lookup_list/aliases2
-rw-r--r--test/integration/targets/lookup_nested/aliases2
-rw-r--r--test/integration/targets/lookup_password/aliases2
-rw-r--r--test/integration/targets/lookup_pipe/aliases2
-rw-r--r--test/integration/targets/lookup_random_choice/aliases2
-rw-r--r--test/integration/targets/lookup_sequence/aliases2
-rw-r--r--test/integration/targets/lookup_subelements/aliases2
-rw-r--r--test/integration/targets/lookup_template/aliases2
-rw-r--r--test/integration/targets/lookup_together/aliases2
-rw-r--r--test/integration/targets/lookup_unvault/aliases1
-rw-r--r--test/integration/targets/lookup_url/aliases2
-rw-r--r--test/integration/targets/lookup_varnames/aliases1
-rw-r--r--test/integration/targets/lookup_vars/aliases2
-rw-r--r--test/integration/targets/loop_control/aliases1
-rw-r--r--test/integration/targets/loops/aliases2
-rw-r--r--test/integration/targets/meta_tasks/aliases1
-rw-r--r--test/integration/targets/missing_required_lib/aliases1
-rw-r--r--test/integration/targets/module_defaults/aliases1
-rw-r--r--test/integration/targets/module_no_log/aliases2
-rw-r--r--test/integration/targets/module_precedence/aliases1
-rw-r--r--test/integration/targets/module_tracebacks/aliases2
-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
-rw-r--r--test/integration/targets/module_utils_distro/aliases3
-rw-r--r--test/integration/targets/module_utils_facts.system.selinux/aliases1
-rw-r--r--test/integration/targets/no_log/aliases1
-rw-r--r--test/integration/targets/noexec/aliases1
-rw-r--r--test/integration/targets/old_style_cache_plugins/aliases1
-rw-r--r--test/integration/targets/old_style_modules_posix/aliases1
-rw-r--r--test/integration/targets/omit/aliases1
-rw-r--r--test/integration/targets/order/aliases1
-rw-r--r--test/integration/targets/parsing/aliases1
-rw-r--r--test/integration/targets/path_lookups/aliases1
-rw-r--r--test/integration/targets/path_with_comma_in_inventory/aliases1
-rw-r--r--test/integration/targets/pause/aliases2
-rw-r--r--test/integration/targets/pkg_resources/aliases1
-rw-r--r--test/integration/targets/play_iterator/aliases1
-rw-r--r--test/integration/targets/playbook/aliases1
-rw-r--r--test/integration/targets/plugin_config_for_inventory/aliases1
-rw-r--r--test/integration/targets/plugin_filtering/aliases1
-rw-r--r--test/integration/targets/plugin_loader/aliases1
-rw-r--r--test/integration/targets/plugin_namespace/aliases1
-rw-r--r--test/integration/targets/rel_plugin_loading/aliases1
-rw-r--r--test/integration/targets/remote_tmp/aliases2
-rw-r--r--test/integration/targets/remote_tmp/playbook.yml14
-rwxr-xr-xtest/integration/targets/remote_tmp/runme.sh2
-rw-r--r--test/integration/targets/retry_task_name_in_callback/aliases1
-rw-r--r--test/integration/targets/roles/aliases1
-rw-r--r--test/integration/targets/roles_arg_spec/aliases1
-rw-r--r--test/integration/targets/roles_var_inheritance/aliases1
-rw-r--r--test/integration/targets/run_modules/aliases1
-rw-r--r--test/integration/targets/set_fact/aliases2
-rw-r--r--test/integration/targets/set_stats/aliases1
-rwxr-xr-xtest/integration/targets/set_stats/runme.sh4
-rw-r--r--test/integration/targets/set_stats/test_aggregate.yml2
-rw-r--r--test/integration/targets/set_stats/test_simple.yml2
-rw-r--r--test/integration/targets/setup_paramiko/install-FreeBSD-11-python-2.yml3
-rw-r--r--test/integration/targets/setup_paramiko/install-FreeBSD-11-python-3.yml12
-rw-r--r--test/integration/targets/setup_paramiko/install-FreeBSD-11.4-python-3.yml3
-rw-r--r--test/integration/targets/setup_paramiko/install-FreeBSD-12-python-2.yml3
-rw-r--r--test/integration/targets/setup_paramiko/install-FreeBSD-12-python-3.yml3
-rw-r--r--test/integration/targets/setup_paramiko/install-FreeBSD-12.2-python-3.yml3
-rw-r--r--test/integration/targets/setup_paramiko/install-FreeBSD-13-python-3.yml3
-rw-r--r--test/integration/targets/setup_paramiko/install-FreeBSD-python-3.yml (renamed from test/integration/targets/setup_paramiko/install-FreeBSD-13-python-2.yml)2
-rw-r--r--test/integration/targets/setup_paramiko/uninstall-FreeBSD-11-python-2.yml4
-rw-r--r--test/integration/targets/setup_paramiko/uninstall-FreeBSD-11-python-3.yml4
-rw-r--r--test/integration/targets/setup_paramiko/uninstall-FreeBSD-11.4-python-3.yml4
-rw-r--r--test/integration/targets/setup_paramiko/uninstall-FreeBSD-12-python-2.yml4
-rw-r--r--test/integration/targets/setup_paramiko/uninstall-FreeBSD-12-python-3.yml4
-rw-r--r--test/integration/targets/setup_paramiko/uninstall-FreeBSD-12.2-python-3.yml4
-rw-r--r--test/integration/targets/setup_paramiko/uninstall-FreeBSD-13-python-2.yml4
-rw-r--r--test/integration/targets/setup_paramiko/uninstall-FreeBSD-13-python-3.yml4
-rw-r--r--test/integration/targets/setup_paramiko/uninstall-FreeBSD-python-3.yml4
-rw-r--r--test/integration/targets/special_vars/aliases1
-rw-r--r--test/integration/targets/special_vars_hosts/aliases1
-rw-r--r--test/integration/targets/split/aliases2
-rw-r--r--test/integration/targets/split/tasks/main.yml30
-rw-r--r--test/integration/targets/subversion/roles/subversion/defaults/main.yml5
-rwxr-xr-xtest/integration/targets/subversion/runme.sh13
-rw-r--r--test/integration/targets/subversion/runme.yml2
-rw-r--r--test/integration/targets/tags/aliases2
-rw-r--r--test/integration/targets/task_ordering/aliases1
-rw-r--r--test/integration/targets/tasks/aliases1
-rw-r--r--test/integration/targets/template/aliases2
-rw-r--r--test/integration/targets/template_jinja2_latest/aliases2
-rw-r--r--test/integration/targets/template_jinja2_non_native/aliases1
-rw-r--r--test/integration/targets/templating_lookups/aliases2
-rw-r--r--test/integration/targets/templating_settings/aliases1
-rw-r--r--test/integration/targets/test_core/aliases1
-rw-r--r--test/integration/targets/test_files/aliases1
-rw-r--r--test/integration/targets/test_mathstuff/aliases1
-rw-r--r--test/integration/targets/throttle/aliases1
-rw-r--r--test/integration/targets/unarchive/tasks/test_unprivileged_user.yml1
-rw-r--r--test/integration/targets/undefined/aliases1
-rw-r--r--test/integration/targets/unicode/aliases1
-rw-r--r--test/integration/targets/unsafe_writes/aliases2
-rw-r--r--test/integration/targets/unsafe_writes/basic.yml21
-rwxr-xr-xtest/integration/targets/unsafe_writes/runme.sh6
-rw-r--r--test/integration/targets/until/aliases1
-rw-r--r--test/integration/targets/unvault/aliases1
-rw-r--r--test/integration/targets/uri/meta/main.yml1
-rw-r--r--test/integration/targets/uri/tasks/main.yml17
-rw-r--r--test/integration/targets/var_blending/aliases1
-rw-r--r--test/integration/targets/var_precedence/aliases1
-rw-r--r--test/integration/targets/var_reserved/aliases1
-rw-r--r--test/integration/targets/var_templating/aliases1
-rw-r--r--test/integration/targets/want_json_modules_posix/aliases1
-rw-r--r--test/integration/targets/yaml_parsing/aliases1
232 files changed, 291 insertions, 220 deletions
diff --git a/test/integration/targets/adhoc/aliases b/test/integration/targets/adhoc/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/adhoc/aliases
+++ b/test/integration/targets/adhoc/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/ansiballz_python/aliases b/test/integration/targets/ansiballz_python/aliases
index f8e28c7e46..e2c8fd3956 100644
--- a/test/integration/targets/ansiballz_python/aliases
+++ b/test/integration/targets/ansiballz_python/aliases
@@ -1,2 +1,3 @@
shippable/posix/group1
skip/aix
+context/target
diff --git a/test/integration/targets/ansible-doc/aliases b/test/integration/targets/ansible-doc/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/ansible-doc/aliases
+++ b/test/integration/targets/ansible-doc/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/ansible-galaxy-collection-scm/aliases b/test/integration/targets/ansible-galaxy-collection-scm/aliases
index 9c34b36064..498fedd558 100644
--- a/test/integration/targets/ansible-galaxy-collection-scm/aliases
+++ b/test/integration/targets/ansible-galaxy-collection-scm/aliases
@@ -1,3 +1,2 @@
shippable/posix/group4
-skip/aix
-skip/python2.6 # ansible-galaxy uses tarfile with features not available until 2.7
+context/controller
diff --git a/test/integration/targets/ansible-galaxy-collection/aliases b/test/integration/targets/ansible-galaxy-collection/aliases
index e501bce588..6c57208aec 100644
--- a/test/integration/targets/ansible-galaxy-collection/aliases
+++ b/test/integration/targets/ansible-galaxy-collection/aliases
@@ -1,3 +1,4 @@
shippable/galaxy/group1
shippable/galaxy/smoketest
cloud/galaxy
+context/controller
diff --git a/test/integration/targets/ansible-galaxy-role/aliases b/test/integration/targets/ansible-galaxy-role/aliases
index 62548acd35..498fedd558 100644
--- a/test/integration/targets/ansible-galaxy-role/aliases
+++ b/test/integration/targets/ansible-galaxy-role/aliases
@@ -1,2 +1,2 @@
shippable/posix/group4
-skip/python2.6 # build uses tarfile with features not available until 2.7
+context/controller
diff --git a/test/integration/targets/ansible-galaxy/aliases b/test/integration/targets/ansible-galaxy/aliases
index 48ed7d608f..275bdbfd49 100644
--- a/test/integration/targets/ansible-galaxy/aliases
+++ b/test/integration/targets/ansible-galaxy/aliases
@@ -1,4 +1,3 @@
destructive
shippable/posix/group4
-skip/python2.6 # build uses tarfile with features not available until 2.7
-skip/aix
+context/controller
diff --git a/test/integration/targets/ansible-inventory/aliases b/test/integration/targets/ansible-inventory/aliases
index 70a7b7a9f3..1d28bdb2aa 100644
--- a/test/integration/targets/ansible-inventory/aliases
+++ b/test/integration/targets/ansible-inventory/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller
diff --git a/test/integration/targets/ansible-pull/aliases b/test/integration/targets/ansible-pull/aliases
index 757c99661d..8278ec8bcc 100644
--- a/test/integration/targets/ansible-pull/aliases
+++ b/test/integration/targets/ansible-pull/aliases
@@ -1,2 +1,2 @@
shippable/posix/group3
-skip/aix
+context/controller
diff --git a/test/integration/targets/ansible-runner/aliases b/test/integration/targets/ansible-runner/aliases
index 42d2022b81..17ae2d5eeb 100644
--- a/test/integration/targets/ansible-runner/aliases
+++ b/test/integration/targets/ansible-runner/aliases
@@ -1,6 +1,5 @@
shippable/posix/group3
-skip/python2 # ansible-runner is for controller and deprecated python2 support
-skip/aix
+context/controller
skip/osx
skip/macos
skip/freebsd
diff --git a/test/integration/targets/ansible-test-cloud-acme/aliases b/test/integration/targets/ansible-test-cloud-acme/aliases
index 4379096ebe..db3ab68041 100644
--- a/test/integration/targets/ansible-test-cloud-acme/aliases
+++ b/test/integration/targets/ansible-test-cloud-acme/aliases
@@ -1,2 +1,3 @@
cloud/acme
shippable/generic/group1
+context/controller
diff --git a/test/integration/targets/ansible-test-cloud-cs/aliases b/test/integration/targets/ansible-test-cloud-cs/aliases
index fb8b22c2cc..cf43ff1efa 100644
--- a/test/integration/targets/ansible-test-cloud-cs/aliases
+++ b/test/integration/targets/ansible-test-cloud-cs/aliases
@@ -1,2 +1,3 @@
cloud/cs
shippable/generic/group1
+context/controller
diff --git a/test/integration/targets/ansible-test-cloud-foreman/aliases b/test/integration/targets/ansible-test-cloud-foreman/aliases
index b713713bac..a4bdcea66e 100644
--- a/test/integration/targets/ansible-test-cloud-foreman/aliases
+++ b/test/integration/targets/ansible-test-cloud-foreman/aliases
@@ -1,2 +1,3 @@
cloud/foreman
shippable/generic/group1
+context/controller
diff --git a/test/integration/targets/ansible-test-cloud-galaxy/aliases b/test/integration/targets/ansible-test-cloud-galaxy/aliases
index e501bce588..6c57208aec 100644
--- a/test/integration/targets/ansible-test-cloud-galaxy/aliases
+++ b/test/integration/targets/ansible-test-cloud-galaxy/aliases
@@ -1,3 +1,4 @@
shippable/galaxy/group1
shippable/galaxy/smoketest
cloud/galaxy
+context/controller
diff --git a/test/integration/targets/ansible-test-cloud-httptester-windows/aliases b/test/integration/targets/ansible-test-cloud-httptester-windows/aliases
index 761914ce54..f45a162363 100644
--- a/test/integration/targets/ansible-test-cloud-httptester-windows/aliases
+++ b/test/integration/targets/ansible-test-cloud-httptester-windows/aliases
@@ -1,3 +1,4 @@
cloud/httptester
windows
shippable/windows/group1
+context/target
diff --git a/test/integration/targets/ansible-test-cloud-httptester/aliases b/test/integration/targets/ansible-test-cloud-httptester/aliases
index a918da9d56..eb5f70805a 100644
--- a/test/integration/targets/ansible-test-cloud-httptester/aliases
+++ b/test/integration/targets/ansible-test-cloud-httptester/aliases
@@ -1,2 +1,3 @@
needs/httptester # using legacy alias for testing purposes
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/ansible-test-cloud-nios/aliases b/test/integration/targets/ansible-test-cloud-nios/aliases
index 82851da593..136344a979 100644
--- a/test/integration/targets/ansible-test-cloud-nios/aliases
+++ b/test/integration/targets/ansible-test-cloud-nios/aliases
@@ -1,2 +1,3 @@
cloud/nios
shippable/generic/group1
+context/controller
diff --git a/test/integration/targets/ansible-test-cloud-openshift/aliases b/test/integration/targets/ansible-test-cloud-openshift/aliases
index efe41a903f..6e32db7b8f 100644
--- a/test/integration/targets/ansible-test-cloud-openshift/aliases
+++ b/test/integration/targets/ansible-test-cloud-openshift/aliases
@@ -1,3 +1,4 @@
cloud/openshift
shippable/generic/group1
disabled # disabled due to requirements conflict: botocore 1.20.6 has requirement urllib3<1.27,>=1.25.4, but you have urllib3 1.24.3.
+context/controller
diff --git a/test/integration/targets/ansible-test-cloud-vcenter/aliases b/test/integration/targets/ansible-test-cloud-vcenter/aliases
index 97d5a97a7f..0cd8ad209e 100644
--- a/test/integration/targets/ansible-test-cloud-vcenter/aliases
+++ b/test/integration/targets/ansible-test-cloud-vcenter/aliases
@@ -1,2 +1,3 @@
cloud/vcenter
shippable/generic/group1
+context/controller
diff --git a/test/integration/targets/ansible-test-docker/aliases b/test/integration/targets/ansible-test-docker/aliases
index d1284cf706..a862ab8b36 100644
--- a/test/integration/targets/ansible-test-docker/aliases
+++ b/test/integration/targets/ansible-test-docker/aliases
@@ -1 +1,2 @@
shippable/generic/group1 # Runs in the default test container so access to tools like pwsh
+context/controller
diff --git a/test/integration/targets/ansible-test/aliases b/test/integration/targets/ansible-test/aliases
index f8e28c7e46..13e01f0c94 100644
--- a/test/integration/targets/ansible-test/aliases
+++ b/test/integration/targets/ansible-test/aliases
@@ -1,2 +1,2 @@
shippable/posix/group1
-skip/aix
+context/controller
diff --git a/test/integration/targets/ansible-test/ansible_collections/ns/col_constraints/tests/integration/targets/constraints/aliases b/test/integration/targets/ansible-test/ansible_collections/ns/col_constraints/tests/integration/targets/constraints/aliases
new file mode 100644
index 0000000000..1af1cf90b6
--- /dev/null
+++ b/test/integration/targets/ansible-test/ansible_collections/ns/col_constraints/tests/integration/targets/constraints/aliases
@@ -0,0 +1 @@
+context/controller
diff --git a/test/integration/targets/ansible-vault/aliases b/test/integration/targets/ansible-vault/aliases
index 757c99661d..8278ec8bcc 100644
--- a/test/integration/targets/ansible-vault/aliases
+++ b/test/integration/targets/ansible-vault/aliases
@@ -1,2 +1,2 @@
shippable/posix/group3
-skip/aix
+context/controller
diff --git a/test/integration/targets/ansible-vault/single_vault_as_string.yml b/test/integration/targets/ansible-vault/single_vault_as_string.yml
index 1eb17d04c2..ca147b0b3b 100644
--- a/test/integration/targets/ansible-vault/single_vault_as_string.yml
+++ b/test/integration/targets/ansible-vault/single_vault_as_string.yml
@@ -27,7 +27,7 @@
- vaulted_value|forceescape == 'foo bar'
- vaulted_value|first == 'f'
- "'%s'|format(vaulted_value) == 'foo bar'"
- - vaulted_value|indent(indentfirst=True) == ' foo bar'
+ - vaulted_value|indent(first=True) == ' foo bar'
- vaulted_value.split() == ['foo', 'bar']
- vaulted_value|join('-') == 'f-o-o- -b-a-r'
- vaulted_value|last == 'r'
diff --git a/test/integration/targets/ansible/aliases b/test/integration/targets/ansible/aliases
index f71c8117c7..498fedd558 100644
--- a/test/integration/targets/ansible/aliases
+++ b/test/integration/targets/ansible/aliases
@@ -1,2 +1,2 @@
shippable/posix/group4
-skip/aix
+context/controller
diff --git a/test/integration/targets/any_errors_fatal/aliases b/test/integration/targets/any_errors_fatal/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/any_errors_fatal/aliases
+++ b/test/integration/targets/any_errors_fatal/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/args/aliases b/test/integration/targets/args/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/args/aliases
+++ b/test/integration/targets/args/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/argspec/aliases b/test/integration/targets/argspec/aliases
index 70a7b7a9f3..1d28bdb2aa 100644
--- a/test/integration/targets/argspec/aliases
+++ b/test/integration/targets/argspec/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller
diff --git a/test/integration/targets/assert/aliases b/test/integration/targets/assert/aliases
index 757c99661d..101793239a 100644
--- a/test/integration/targets/assert/aliases
+++ b/test/integration/targets/assert/aliases
@@ -1,2 +1,2 @@
shippable/posix/group3
-skip/aix
+context/controller # this is a controller-only action, the module is just for documentation
diff --git a/test/integration/targets/async_extra_data/aliases b/test/integration/targets/async_extra_data/aliases
index 70a7b7a9f3..7bd941e69a 100644
--- a/test/integration/targets/async_extra_data/aliases
+++ b/test/integration/targets/async_extra_data/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/target
diff --git a/test/integration/targets/become/aliases b/test/integration/targets/become/aliases
index 3a07aab32d..ad691e7d03 100644
--- a/test/integration/targets/become/aliases
+++ b/test/integration/targets/become/aliases
@@ -1,3 +1,4 @@
destructive
shippable/posix/group1
skip/aix
+context/target
diff --git a/test/integration/targets/become_su/aliases b/test/integration/targets/become_su/aliases
index 3a07aab32d..f3e45b5e28 100644
--- a/test/integration/targets/become_su/aliases
+++ b/test/integration/targets/become_su/aliases
@@ -1,3 +1,3 @@
destructive
shippable/posix/group1
-skip/aix
+context/controller
diff --git a/test/integration/targets/become_unprivileged/aliases b/test/integration/targets/become_unprivileged/aliases
index c96617f60c..c97d2f98f9 100644
--- a/test/integration/targets/become_unprivileged/aliases
+++ b/test/integration/targets/become_unprivileged/aliases
@@ -1,5 +1,5 @@
destructive
shippable/posix/group1
-skip/aix
needs/ssh
needs/root
+context/controller
diff --git a/test/integration/targets/binary/aliases b/test/integration/targets/binary/aliases
index 765b70da79..6452e6d4c4 100644
--- a/test/integration/targets/binary/aliases
+++ b/test/integration/targets/binary/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/target
diff --git a/test/integration/targets/binary_modules_posix/aliases b/test/integration/targets/binary_modules_posix/aliases
index 2c6e4a07c8..2cfe7ea80f 100644
--- a/test/integration/targets/binary_modules_posix/aliases
+++ b/test/integration/targets/binary_modules_posix/aliases
@@ -1,2 +1,3 @@
shippable/posix/group3
needs/target/binary_modules
+context/target
diff --git a/test/integration/targets/blocks/aliases b/test/integration/targets/blocks/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/blocks/aliases
+++ b/test/integration/targets/blocks/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/builtin_vars_prompt/aliases b/test/integration/targets/builtin_vars_prompt/aliases
index 4317d11262..4b94ea15e4 100644
--- a/test/integration/targets/builtin_vars_prompt/aliases
+++ b/test/integration/targets/builtin_vars_prompt/aliases
@@ -1,3 +1,4 @@
setup/always/setup_passlib
setup/always/setup_pexpect
shippable/posix/group4
+context/controller
diff --git a/test/integration/targets/callback_default/aliases b/test/integration/targets/callback_default/aliases
index f8e28c7e46..a6dafcf8cd 100644
--- a/test/integration/targets/callback_default/aliases
+++ b/test/integration/targets/callback_default/aliases
@@ -1,2 +1 @@
shippable/posix/group1
-skip/aix
diff --git a/test/integration/targets/changed_when/aliases b/test/integration/targets/changed_when/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/changed_when/aliases
+++ b/test/integration/targets/changed_when/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/check_mode/aliases b/test/integration/targets/check_mode/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/check_mode/aliases
+++ b/test/integration/targets/check_mode/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/cli/aliases b/test/integration/targets/cli/aliases
index a8816e110d..c73d425342 100644
--- a/test/integration/targets/cli/aliases
+++ b/test/integration/targets/cli/aliases
@@ -3,3 +3,4 @@ needs/root
needs/ssh
needs/target/setup_pexpect
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/collections/runme.sh b/test/integration/targets/collections/runme.sh
index 50bc339c07..5a5261bb93 100755
--- a/test/integration/targets/collections/runme.sh
+++ b/test/integration/targets/collections/runme.sh
@@ -8,10 +8,6 @@ export ANSIBLE_GATHER_SUBSET=minimal
export ANSIBLE_HOST_PATTERN_MISMATCH=error
unset ANSIBLE_COLLECTIONS_ON_ANSIBLE_VERSION_MISMATCH
-# FUTURE: just use INVENTORY_PATH as-is once ansible-test sets the right dir
-ipath=../../$(basename "${INVENTORY_PATH:-../../inventory}")
-export INVENTORY_PATH="$ipath"
-
# ensure we can call collection module
ansible localhost -m testns.testcoll.testmodule
diff --git a/test/integration/targets/collections_plugin_namespace/aliases b/test/integration/targets/collections_plugin_namespace/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/collections_plugin_namespace/aliases
+++ b/test/integration/targets/collections_plugin_namespace/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/collections_runtime_pythonpath/aliases b/test/integration/targets/collections_runtime_pythonpath/aliases
index 0a772ad706..498fedd558 100644
--- a/test/integration/targets/collections_runtime_pythonpath/aliases
+++ b/test/integration/targets/collections_runtime_pythonpath/aliases
@@ -1,3 +1,2 @@
shippable/posix/group4
-skip/python2.6
-skip/aix
+context/controller
diff --git a/test/integration/targets/collections_runtime_pythonpath/runme.sh b/test/integration/targets/collections_runtime_pythonpath/runme.sh
index 654104a1e2..38c6c64f24 100755
--- a/test/integration/targets/collections_runtime_pythonpath/runme.sh
+++ b/test/integration/targets/collections_runtime_pythonpath/runme.sh
@@ -25,19 +25,19 @@ ansible \
=== Test that the module \
gets picked up if installed \
into site-packages ===
-python -m pip.__main__ install pep517
+python -m pip install pep517
( # Build a binary Python dist (a wheel) using PEP517:
cp -r ansible-collection-python-dist-boo "${OUTPUT_DIR}/"
cd "${OUTPUT_DIR}/ansible-collection-python-dist-boo"
python -m pep517.build --binary --out-dir dist .
)
# Install a pre-built dist with pip:
-python -m pip.__main__ install \
+python -m pip install \
--no-index \
-f "${OUTPUT_DIR}/ansible-collection-python-dist-boo/dist/" \
--only-binary=ansible-collections.python.dist \
ansible-collections.python.dist
-python -m pip.__main__ show ansible-collections.python.dist
+python -m pip show ansible-collections.python.dist
ansible \
-m python.dist.boo \
-a 'name=Frodo' \
diff --git a/test/integration/targets/command_nonexisting/aliases b/test/integration/targets/command_nonexisting/aliases
index e2dcf795c0..90ea9e1281 100644
--- a/test/integration/targets/command_nonexisting/aliases
+++ b/test/integration/targets/command_nonexisting/aliases
@@ -1 +1,2 @@
-shippable/posix/group2 \ No newline at end of file
+shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/command_shell/tasks/main.yml b/test/integration/targets/command_shell/tasks/main.yml
index 653b00594b..aad63c0dbd 100644
--- a/test/integration/targets/command_shell/tasks/main.yml
+++ b/test/integration/targets/command_shell/tasks/main.yml
@@ -504,11 +504,11 @@
when: ansible_facts.python_version is version('3', '>=')
- name: run command with strip
- command: '{{ ansible_playbook_python}} -c "import sys; msg=''hello \n \r''; print(msg); {{ print_error_command }}"'
+ command: '{{ ansible_python_interpreter }} -c "import sys; msg=''hello \n \r''; print(msg); {{ print_error_command }}"'
register: command_strip
- name: run command without strip
- command: '{{ ansible_playbook_python}} -c "import sys; msg=''hello \n \r''; print(msg); {{ print_error_command }}"'
+ command: '{{ ansible_python_interpreter }} -c "import sys; msg=''hello \n \r''; print(msg); {{ print_error_command }}"'
args:
strip_empty_ends: no
register: command_no_strip
diff --git a/test/integration/targets/common_network/aliases b/test/integration/targets/common_network/aliases
index 70a7b7a9f3..1d28bdb2aa 100644
--- a/test/integration/targets/common_network/aliases
+++ b/test/integration/targets/common_network/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller
diff --git a/test/integration/targets/conditionals/aliases b/test/integration/targets/conditionals/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/conditionals/aliases
+++ b/test/integration/targets/conditionals/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/config/aliases b/test/integration/targets/config/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/config/aliases
+++ b/test/integration/targets/config/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/connection_delegation/aliases b/test/integration/targets/connection_delegation/aliases
index 87caabdf08..44e49e4f66 100644
--- a/test/integration/targets/connection_delegation/aliases
+++ b/test/integration/targets/connection_delegation/aliases
@@ -1,4 +1,5 @@
shippable/posix/group1
+context/controller
skip/freebsd # No sshpass
skip/osx # No sshpass
skip/macos # No sshpass
diff --git a/test/integration/targets/connection_paramiko_ssh/aliases b/test/integration/targets/connection_paramiko_ssh/aliases
index ad44392e92..fd5b08a416 100644
--- a/test/integration/targets/connection_paramiko_ssh/aliases
+++ b/test/integration/targets/connection_paramiko_ssh/aliases
@@ -2,4 +2,3 @@ needs/ssh
shippable/posix/group3
needs/target/setup_paramiko
destructive # potentially installs/uninstalls OS packages via setup_paramiko
-skip/aix
diff --git a/test/integration/targets/connection_ssh/aliases b/test/integration/targets/connection_ssh/aliases
index 1d822b4546..50fb8eb888 100644
--- a/test/integration/targets/connection_ssh/aliases
+++ b/test/integration/targets/connection_ssh/aliases
@@ -1,3 +1,2 @@
needs/ssh
shippable/posix/group1
-skip/aix
diff --git a/test/integration/targets/controller/aliases b/test/integration/targets/controller/aliases
new file mode 100644
index 0000000000..0ac86c9200
--- /dev/null
+++ b/test/integration/targets/controller/aliases
@@ -0,0 +1,2 @@
+context/controller
+shippable/posix/group1
diff --git a/test/integration/targets/controller/tasks/main.yml b/test/integration/targets/controller/tasks/main.yml
new file mode 100644
index 0000000000..354a593e5e
--- /dev/null
+++ b/test/integration/targets/controller/tasks/main.yml
@@ -0,0 +1,9 @@
+- name: Verify testhost is control host
+ stat:
+ path: "{{ output_dir }}"
+- name: Get control host details
+ setup:
+ register: control_host
+- name: Show control host details
+ debug:
+ msg: "{{ control_host.ansible_facts.ansible_distribution }} {{ control_host.ansible_facts.ansible_distribution_version }}"
diff --git a/test/integration/targets/dataloader/aliases b/test/integration/targets/dataloader/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/dataloader/aliases
+++ b/test/integration/targets/dataloader/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/debug/aliases b/test/integration/targets/debug/aliases
index a6dafcf8cd..97c468e5d5 100644
--- a/test/integration/targets/debug/aliases
+++ b/test/integration/targets/debug/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller # this is a controller-only action, the module is just for documentation
diff --git a/test/integration/targets/delegate_to/aliases b/test/integration/targets/delegate_to/aliases
index b8e973dace..d6bb651c11 100644
--- a/test/integration/targets/delegate_to/aliases
+++ b/test/integration/targets/delegate_to/aliases
@@ -1,4 +1,4 @@
shippable/posix/group3
needs/ssh
needs/root # only on macOS and FreeBSD to configure network interfaces
-skip/aix
+context/controller
diff --git a/test/integration/targets/dict_transformations/aliases b/test/integration/targets/dict_transformations/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/dict_transformations/aliases
+++ b/test/integration/targets/dict_transformations/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/dnf/tasks/dnf.yml b/test/integration/targets/dnf/tasks/dnf.yml
index 9cfc44e394..bf1ea848b8 100644
--- a/test/integration/targets/dnf/tasks/dnf.yml
+++ b/test/integration/targets/dnf/tasks/dnf.yml
@@ -700,7 +700,7 @@
content: |
[main]
exclude=lsof*
- dest: '{{ output_dir }}/test-dnf.conf'
+ dest: '{{ remote_tmp_dir }}/test-dnf.conf'
register: test_dnf_copy
- block:
@@ -728,7 +728,7 @@
always:
- name: remove exclude lsof conf file
file:
- path: '{{ output_dir }}/test-dnf.conf'
+ path: '{{ remote_tmp_dir }}/test-dnf.conf'
state: absent
# end test case where disable_excludes is supported
diff --git a/test/integration/targets/egg-info/aliases b/test/integration/targets/egg-info/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/egg-info/aliases
+++ b/test/integration/targets/egg-info/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/embedded_module/aliases b/test/integration/targets/embedded_module/aliases
index 765b70da79..6452e6d4c4 100644
--- a/test/integration/targets/embedded_module/aliases
+++ b/test/integration/targets/embedded_module/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/target
diff --git a/test/integration/targets/environment/aliases b/test/integration/targets/environment/aliases
index b59832142f..a3ada117fb 100644
--- a/test/integration/targets/environment/aliases
+++ b/test/integration/targets/environment/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/target
diff --git a/test/integration/targets/error_from_connection/aliases b/test/integration/targets/error_from_connection/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/error_from_connection/aliases
+++ b/test/integration/targets/error_from_connection/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/facts_d/aliases b/test/integration/targets/facts_d/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/facts_d/aliases
+++ b/test/integration/targets/facts_d/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/facts_linux_network/aliases b/test/integration/targets/facts_linux_network/aliases
index 21a4e907df..703c532e90 100644
--- a/test/integration/targets/facts_linux_network/aliases
+++ b/test/integration/targets/facts_linux_network/aliases
@@ -3,3 +3,4 @@ shippable/posix/group2
skip/freebsd
skip/osx
skip/macos
+context/controller
diff --git a/test/integration/targets/failed_when/aliases b/test/integration/targets/failed_when/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/failed_when/aliases
+++ b/test/integration/targets/failed_when/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/fetch/aliases b/test/integration/targets/fetch/aliases
index fb5d6faa35..ff56593df1 100644
--- a/test/integration/targets/fetch/aliases
+++ b/test/integration/targets/fetch/aliases
@@ -1,2 +1,3 @@
shippable/posix/group2
needs/target/setup_remote_tmp_dir
+needs/ssh
diff --git a/test/integration/targets/fetch/hosts.yml b/test/integration/targets/fetch/hosts.yml
deleted file mode 100644
index 8465ef166c..0000000000
--- a/test/integration/targets/fetch/hosts.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-all:
- hosts:
- testhost:
- ansible_host: localhost
- ansible_connection: ssh
- ansible_python_interpreter: "{{ ansible_playbook_python }}"
- ansible_host_key_checking: no
- ansible_ssh_common_args: -o UserKnownHostsFile={{ output_dir }}/known_hosts -o StrictHostKeyChecking=no
diff --git a/test/integration/targets/fetch/runme.sh b/test/integration/targets/fetch/runme.sh
index 6a9bfa9902..a508a0a672 100755
--- a/test/integration/targets/fetch/runme.sh
+++ b/test/integration/targets/fetch/runme.sh
@@ -3,7 +3,7 @@
set -eux
function cleanup {
- ansible-playbook -i hosts.yml cleanup.yml -e "output_dir=${OUTPUT_DIR}" -b "$@"
+ ansible-playbook -i "${INVENTORY_PATH}" cleanup.yml -e "output_dir=${OUTPUT_DIR}" -b "$@"
unset ANSIBLE_CACHE_PLUGIN
unset ANSIBLE_CACHE_PLUGIN_CONNECTION
}
@@ -28,7 +28,7 @@ ansible-playbook -i ../../inventory injection/avoid_slurp_return.yml -e "output_
export ANSIBLE_CACHE_PLUGIN=jsonfile
export ANSIBLE_CACHE_PLUGIN_CONNECTION="${OUTPUT_DIR}/cache"
# Create a non-root user account and configure SSH acccess for that account
-ansible-playbook -i hosts.yml setup_unreadable_test.yml -e "output_dir=${OUTPUT_DIR}" "$@"
+ansible-playbook -i "${INVENTORY_PATH}" setup_unreadable_test.yml -e "output_dir=${OUTPUT_DIR}" "$@"
# Run the tests as the unprivileged user without become to test the use of the stat module from the fetch module
-ansible-playbook --user fetcher -i hosts.yml test_unreadable_with_stat.yml -e "output_dir=${OUTPUT_DIR}" "$@"
+ansible-playbook -i "${INVENTORY_PATH}" test_unreadable_with_stat.yml -e ansible_user=fetcher -e ansible_become=no -e "output_dir=${OUTPUT_DIR}" "$@"
diff --git a/test/integration/targets/file/tasks/main.yml b/test/integration/targets/file/tasks/main.yml
index 565afa0260..c96beba3bd 100644
--- a/test/integration/targets/file/tasks/main.yml
+++ b/test/integration/targets/file/tasks/main.yml
@@ -91,7 +91,10 @@
- "file2_result.state == 'absent'"
- name: verify we can touch a file
- file: path={{output_dir}}/baz.txt state=touch
+ file:
+ path: "{{output_dir}}/baz.txt"
+ state: touch
+ mode: '0644'
register: file3_result
- name: verify that the file was marked as changed
diff --git a/test/integration/targets/filter_core/aliases b/test/integration/targets/filter_core/aliases
index 1603f4351b..765b70da79 100644
--- a/test/integration/targets/filter_core/aliases
+++ b/test/integration/targets/filter_core/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/python2.6 # filters are controller only, and we no longer support Python 2.6 on the controller
-skip/aix
diff --git a/test/integration/targets/filter_encryption/aliases b/test/integration/targets/filter_encryption/aliases
index 70fd8b04d0..765b70da79 100644
--- a/test/integration/targets/filter_encryption/aliases
+++ b/test/integration/targets/filter_encryption/aliases
@@ -1,4 +1 @@
shippable/posix/group2
-skip/python2.6 # filters are controller only, and we no longer support Python 2.6 on the controller
-skip/python2.7 # filters are controller only, and we no longer support Python 2.7 on the controller
-skip/aix
diff --git a/test/integration/targets/filter_mathstuff/aliases b/test/integration/targets/filter_mathstuff/aliases
index 1603f4351b..765b70da79 100644
--- a/test/integration/targets/filter_mathstuff/aliases
+++ b/test/integration/targets/filter_mathstuff/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/python2.6 # filters are controller only, and we no longer support Python 2.6 on the controller
-skip/aix
diff --git a/test/integration/targets/filter_urls/aliases b/test/integration/targets/filter_urls/aliases
index 1603f4351b..765b70da79 100644
--- a/test/integration/targets/filter_urls/aliases
+++ b/test/integration/targets/filter_urls/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/python2.6 # filters are controller only, and we no longer support Python 2.6 on the controller
-skip/aix
diff --git a/test/integration/targets/filter_urlsplit/aliases b/test/integration/targets/filter_urlsplit/aliases
index 1603f4351b..765b70da79 100644
--- a/test/integration/targets/filter_urlsplit/aliases
+++ b/test/integration/targets/filter_urlsplit/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/python2.6 # filters are controller only, and we no longer support Python 2.6 on the controller
-skip/aix
diff --git a/test/integration/targets/gathering/aliases b/test/integration/targets/gathering/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/gathering/aliases
+++ b/test/integration/targets/gathering/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/gathering_facts/aliases b/test/integration/targets/gathering_facts/aliases
index 0ee704e116..027aba88a9 100644
--- a/test/integration/targets/gathering_facts/aliases
+++ b/test/integration/targets/gathering_facts/aliases
@@ -1,2 +1,3 @@
shippable/posix/group3
needs/root
+context/controller
diff --git a/test/integration/targets/groupby_filter/aliases b/test/integration/targets/groupby_filter/aliases
index 31094c3170..58201272a0 100644
--- a/test/integration/targets/groupby_filter/aliases
+++ b/test/integration/targets/groupby_filter/aliases
@@ -1,2 +1,3 @@
shippable/posix/group2
needs/file/test/lib/ansible_test/_data/requirements/constraints.txt
+context/controller
diff --git a/test/integration/targets/handler_race/aliases b/test/integration/targets/handler_race/aliases
index 68d6d978e3..1d28bdb2aa 100644
--- a/test/integration/targets/handler_race/aliases
+++ b/test/integration/targets/handler_race/aliases
@@ -1,3 +1,2 @@
shippable/posix/group5
-handler_race
-skip/aix
+context/controller
diff --git a/test/integration/targets/handlers/aliases b/test/integration/targets/handlers/aliases
index 30bb677af2..1d28bdb2aa 100644
--- a/test/integration/targets/handlers/aliases
+++ b/test/integration/targets/handlers/aliases
@@ -1,3 +1,2 @@
shippable/posix/group5
-handlers
-skip/aix
+context/controller
diff --git a/test/integration/targets/hardware_facts/aliases b/test/integration/targets/hardware_facts/aliases
index e00c22c3a2..3933d2e5d3 100644
--- a/test/integration/targets/hardware_facts/aliases
+++ b/test/integration/targets/hardware_facts/aliases
@@ -1,3 +1,4 @@
destructive
needs/privileged
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/hash/aliases b/test/integration/targets/hash/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/hash/aliases
+++ b/test/integration/targets/hash/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/hosts_field/aliases b/test/integration/targets/hosts_field/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/hosts_field/aliases
+++ b/test/integration/targets/hosts_field/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/ignore_errors/aliases b/test/integration/targets/ignore_errors/aliases
index 3005e4b26d..498fedd558 100644
--- a/test/integration/targets/ignore_errors/aliases
+++ b/test/integration/targets/ignore_errors/aliases
@@ -1 +1,2 @@
shippable/posix/group4
+context/controller
diff --git a/test/integration/targets/ignore_unreachable/aliases b/test/integration/targets/ignore_unreachable/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/ignore_unreachable/aliases
+++ b/test/integration/targets/ignore_unreachable/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/import_tasks/aliases b/test/integration/targets/import_tasks/aliases
index fff62d9f20..a1b27a8355 100644
--- a/test/integration/targets/import_tasks/aliases
+++ b/test/integration/targets/import_tasks/aliases
@@ -1,2 +1,2 @@
shippable/posix/group5
-skip/aix
+context/controller # this is a controller-only action, the module is just for documentation
diff --git a/test/integration/targets/incidental_cloud_init_data_facts/aliases b/test/integration/targets/incidental_cloud_init_data_facts/aliases
index 85f7fe0f04..544fcacdf5 100644
--- a/test/integration/targets/incidental_cloud_init_data_facts/aliases
+++ b/test/integration/targets/incidental_cloud_init_data_facts/aliases
@@ -4,3 +4,4 @@ skip/aix
skip/osx
skip/macos
skip/freebsd
+context/target
diff --git a/test/integration/targets/incidental_deploy_helper/aliases b/test/integration/targets/incidental_deploy_helper/aliases
index 31c6a8b454..3b88c806e4 100644
--- a/test/integration/targets/incidental_deploy_helper/aliases
+++ b/test/integration/targets/incidental_deploy_helper/aliases
@@ -1 +1,2 @@
shippable/posix/incidental
+context/target
diff --git a/test/integration/targets/incidental_inventory_aws_ec2/aliases b/test/integration/targets/incidental_inventory_aws_ec2/aliases
index 29f60feb44..41a05d3cf4 100644
--- a/test/integration/targets/incidental_inventory_aws_ec2/aliases
+++ b/test/integration/targets/incidental_inventory_aws_ec2/aliases
@@ -1,2 +1,3 @@
cloud/aws
shippable/aws/incidental
+context/controller
diff --git a/test/integration/targets/incidental_inventory_aws_ec2/runme.sh b/test/integration/targets/incidental_inventory_aws_ec2/runme.sh
index 916f7e8f7a..339be5dd31 100755
--- a/test/integration/targets/incidental_inventory_aws_ec2/runme.sh
+++ b/test/integration/targets/incidental_inventory_aws_ec2/runme.sh
@@ -2,6 +2,10 @@
set -eux
+source virtualenv.sh
+
+python -m pip install boto3 boto
+
# ensure test config is empty
ansible-playbook playbooks/empty_inventory_config.yml "$@"
diff --git a/test/integration/targets/incidental_inventory_docker_swarm/aliases b/test/integration/targets/incidental_inventory_docker_swarm/aliases
index c3a38c06da..74d3befedf 100644
--- a/test/integration/targets/incidental_inventory_docker_swarm/aliases
+++ b/test/integration/targets/incidental_inventory_docker_swarm/aliases
@@ -1,6 +1,5 @@
shippable/posix/incidental
-skip/aix
-skip/power/centos
+context/controller
skip/osx
skip/macos
skip/freebsd
diff --git a/test/integration/targets/incidental_inventory_foreman/aliases b/test/integration/targets/incidental_inventory_foreman/aliases
index c28a056e81..7eaacbbc31 100644
--- a/test/integration/targets/incidental_inventory_foreman/aliases
+++ b/test/integration/targets/incidental_inventory_foreman/aliases
@@ -1,3 +1,4 @@
shippable/cloud/incidental
cloud/foreman
destructive
+context/controller
diff --git a/test/integration/targets/incidental_inventory_foreman/inspect_cache.yml b/test/integration/targets/incidental_inventory_foreman/inspect_cache.yml
index c91f4c3868..b9e32f7d78 100644
--- a/test/integration/targets/incidental_inventory_foreman/inspect_cache.yml
+++ b/test/integration/targets/incidental_inventory_foreman/inspect_cache.yml
@@ -6,6 +6,10 @@
foreman_stub_api_path: /api/v2
cached_hosts_key: "http://{{ foreman_stub_host }}:{{ foreman_stub_port }}{{ foreman_stub_api_path }}/hosts"
tasks:
+ - name: make sure jmespath is installed
+ pip:
+ name: jmespath
+
- name: verify a cache file was created
find:
path:
diff --git a/test/integration/targets/incidental_inventory_foreman/runme.sh b/test/integration/targets/incidental_inventory_foreman/runme.sh
index ba94a9360f..d81fa02fc5 100755
--- a/test/integration/targets/incidental_inventory_foreman/runme.sh
+++ b/test/integration/targets/incidental_inventory_foreman/runme.sh
@@ -43,8 +43,8 @@ password: secure
validate_certs: False
FOREMAN_YAML
-ansible-playbook test_foreman_inventory.yml --connection=local "$@"
-ansible-playbook inspect_cache.yml --connection=local "$@"
+ansible-playbook test_foreman_inventory.yml --connection=local -e 'ansible_python_interpreter={{ ansible_playbook_python }}' "$@"
+ansible-playbook inspect_cache.yml --connection=local -e 'ansible_python_interpreter={{ ansible_playbook_python }}' "$@"
# remove inventory cache
rm -r ./foreman_cache
diff --git a/test/integration/targets/incidental_mongodb_parameter/aliases b/test/integration/targets/incidental_mongodb_parameter/aliases
index dc28548349..72ed62eb1d 100644
--- a/test/integration/targets/incidental_mongodb_parameter/aliases
+++ b/test/integration/targets/incidental_mongodb_parameter/aliases
@@ -6,3 +6,4 @@ skip/macos
skip/freebsd
skip/rhel
needs/root
+context/target
diff --git a/test/integration/targets/include_import/aliases b/test/integration/targets/include_import/aliases
index fff62d9f20..1d28bdb2aa 100644
--- a/test/integration/targets/include_import/aliases
+++ b/test/integration/targets/include_import/aliases
@@ -1,2 +1,2 @@
shippable/posix/group5
-skip/aix
+context/controller
diff --git a/test/integration/targets/include_vars-ad-hoc/aliases b/test/integration/targets/include_vars-ad-hoc/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/include_vars-ad-hoc/aliases
+++ b/test/integration/targets/include_vars-ad-hoc/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/include_when_parent_is_dynamic/aliases b/test/integration/targets/include_when_parent_is_dynamic/aliases
index 41c99f5192..8278ec8bcc 100644
--- a/test/integration/targets/include_when_parent_is_dynamic/aliases
+++ b/test/integration/targets/include_when_parent_is_dynamic/aliases
@@ -1,2 +1,2 @@
shippable/posix/group3
-skip/python2.6 # include is controller only, and we no longer support Python 2.6 on the controller
+context/controller
diff --git a/test/integration/targets/include_when_parent_is_static/aliases b/test/integration/targets/include_when_parent_is_static/aliases
index 41c99f5192..8278ec8bcc 100644
--- a/test/integration/targets/include_when_parent_is_static/aliases
+++ b/test/integration/targets/include_when_parent_is_static/aliases
@@ -1,2 +1,2 @@
shippable/posix/group3
-skip/python2.6 # include is controller only, and we no longer support Python 2.6 on the controller
+context/controller
diff --git a/test/integration/targets/includes/aliases b/test/integration/targets/includes/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/includes/aliases
+++ b/test/integration/targets/includes/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/includes_race/aliases b/test/integration/targets/includes_race/aliases
index fff62d9f20..1d28bdb2aa 100644
--- a/test/integration/targets/includes_race/aliases
+++ b/test/integration/targets/includes_race/aliases
@@ -1,2 +1,2 @@
shippable/posix/group5
-skip/aix
+context/controller
diff --git a/test/integration/targets/infra/aliases b/test/integration/targets/infra/aliases
index 887d7029da..711032383e 100644
--- a/test/integration/targets/infra/aliases
+++ b/test/integration/targets/infra/aliases
@@ -1,3 +1,4 @@
shippable/posix/group3
needs/file/hacking/test-module.py
needs/file/lib/ansible/modules/ping.py
+context/controller
diff --git a/test/integration/targets/interpreter_discovery_python/aliases b/test/integration/targets/interpreter_discovery_python/aliases
index 740ed1a57f..0dfc90e737 100644
--- a/test/integration/targets/interpreter_discovery_python/aliases
+++ b/test/integration/targets/interpreter_discovery_python/aliases
@@ -1,2 +1,3 @@
shippable/posix/group1
non_local # workaround to allow override of ansible_python_interpreter; disables coverage on this integration target
+context/target
diff --git a/test/integration/targets/interpreter_discovery_python_delegate_facts/aliases b/test/integration/targets/interpreter_discovery_python_delegate_facts/aliases
index dc9ac4682b..b4026b5f19 100644
--- a/test/integration/targets/interpreter_discovery_python_delegate_facts/aliases
+++ b/test/integration/targets/interpreter_discovery_python_delegate_facts/aliases
@@ -1,2 +1,3 @@
shippable/posix/group1
non_local # this test requires interpreter discovery, which means code coverage must be disabled
+context/controller
diff --git a/test/integration/targets/inventory/aliases b/test/integration/targets/inventory/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/inventory/aliases
+++ b/test/integration/targets/inventory/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/inventory_cache/aliases b/test/integration/targets/inventory_cache/aliases
index 70a7b7a9f3..1d28bdb2aa 100644
--- a/test/integration/targets/inventory_cache/aliases
+++ b/test/integration/targets/inventory_cache/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller
diff --git a/test/integration/targets/inventory_yaml/aliases b/test/integration/targets/inventory_yaml/aliases
index f8e28c7e46..a6dafcf8cd 100644
--- a/test/integration/targets/inventory_yaml/aliases
+++ b/test/integration/targets/inventory_yaml/aliases
@@ -1,2 +1 @@
shippable/posix/group1
-skip/aix
diff --git a/test/integration/targets/jinja2_native_types/aliases b/test/integration/targets/jinja2_native_types/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/jinja2_native_types/aliases
+++ b/test/integration/targets/jinja2_native_types/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/jinja_plugins/aliases b/test/integration/targets/jinja_plugins/aliases
index 70a7b7a9f3..1d28bdb2aa 100644
--- a/test/integration/targets/jinja_plugins/aliases
+++ b/test/integration/targets/jinja_plugins/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller
diff --git a/test/integration/targets/json_cleanup/aliases b/test/integration/targets/json_cleanup/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/json_cleanup/aliases
+++ b/test/integration/targets/json_cleanup/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/limit_inventory/aliases b/test/integration/targets/limit_inventory/aliases
index 3005e4b26d..498fedd558 100644
--- a/test/integration/targets/limit_inventory/aliases
+++ b/test/integration/targets/limit_inventory/aliases
@@ -1 +1,2 @@
shippable/posix/group4
+context/controller
diff --git a/test/integration/targets/lookup_config/aliases b/test/integration/targets/lookup_config/aliases
index bc987654d9..765b70da79 100644
--- a/test/integration/targets/lookup_config/aliases
+++ b/test/integration/targets/lookup_config/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_csvfile/aliases b/test/integration/targets/lookup_csvfile/aliases
index 45489be80c..765b70da79 100644
--- a/test/integration/targets/lookup_csvfile/aliases
+++ b/test/integration/targets/lookup_csvfile/aliases
@@ -1,2 +1 @@
shippable/posix/group2
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_dict/aliases b/test/integration/targets/lookup_dict/aliases
index 07b8702010..a6dafcf8cd 100644
--- a/test/integration/targets/lookup_dict/aliases
+++ b/test/integration/targets/lookup_dict/aliases
@@ -1,3 +1 @@
shippable/posix/group1
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_env/aliases b/test/integration/targets/lookup_env/aliases
index 07b8702010..a6dafcf8cd 100644
--- a/test/integration/targets/lookup_env/aliases
+++ b/test/integration/targets/lookup_env/aliases
@@ -1,3 +1 @@
shippable/posix/group1
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_file/aliases b/test/integration/targets/lookup_file/aliases
index 07b8702010..a6dafcf8cd 100644
--- a/test/integration/targets/lookup_file/aliases
+++ b/test/integration/targets/lookup_file/aliases
@@ -1,3 +1 @@
shippable/posix/group1
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_first_found/aliases b/test/integration/targets/lookup_first_found/aliases
index bc987654d9..765b70da79 100644
--- a/test/integration/targets/lookup_first_found/aliases
+++ b/test/integration/targets/lookup_first_found/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_indexed_items/aliases b/test/integration/targets/lookup_indexed_items/aliases
index bc987654d9..765b70da79 100644
--- a/test/integration/targets/lookup_indexed_items/aliases
+++ b/test/integration/targets/lookup_indexed_items/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_ini/aliases b/test/integration/targets/lookup_ini/aliases
index f9f29ef320..b59832142f 100644
--- a/test/integration/targets/lookup_ini/aliases
+++ b/test/integration/targets/lookup_ini/aliases
@@ -1,2 +1 @@
shippable/posix/group3
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_inventory_hostnames/aliases b/test/integration/targets/lookup_inventory_hostnames/aliases
index 45489be80c..765b70da79 100644
--- a/test/integration/targets/lookup_inventory_hostnames/aliases
+++ b/test/integration/targets/lookup_inventory_hostnames/aliases
@@ -1,2 +1 @@
shippable/posix/group2
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_items/aliases b/test/integration/targets/lookup_items/aliases
index bc987654d9..765b70da79 100644
--- a/test/integration/targets/lookup_items/aliases
+++ b/test/integration/targets/lookup_items/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_lines/aliases b/test/integration/targets/lookup_lines/aliases
index bc987654d9..765b70da79 100644
--- a/test/integration/targets/lookup_lines/aliases
+++ b/test/integration/targets/lookup_lines/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_list/aliases b/test/integration/targets/lookup_list/aliases
index bc987654d9..765b70da79 100644
--- a/test/integration/targets/lookup_list/aliases
+++ b/test/integration/targets/lookup_list/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_nested/aliases b/test/integration/targets/lookup_nested/aliases
index bc987654d9..765b70da79 100644
--- a/test/integration/targets/lookup_nested/aliases
+++ b/test/integration/targets/lookup_nested/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_password/aliases b/test/integration/targets/lookup_password/aliases
index 07b8702010..a6dafcf8cd 100644
--- a/test/integration/targets/lookup_password/aliases
+++ b/test/integration/targets/lookup_password/aliases
@@ -1,3 +1 @@
shippable/posix/group1
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_pipe/aliases b/test/integration/targets/lookup_pipe/aliases
index 07b8702010..a6dafcf8cd 100644
--- a/test/integration/targets/lookup_pipe/aliases
+++ b/test/integration/targets/lookup_pipe/aliases
@@ -1,3 +1 @@
shippable/posix/group1
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_random_choice/aliases b/test/integration/targets/lookup_random_choice/aliases
index bc987654d9..765b70da79 100644
--- a/test/integration/targets/lookup_random_choice/aliases
+++ b/test/integration/targets/lookup_random_choice/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_sequence/aliases b/test/integration/targets/lookup_sequence/aliases
index bc987654d9..765b70da79 100644
--- a/test/integration/targets/lookup_sequence/aliases
+++ b/test/integration/targets/lookup_sequence/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_subelements/aliases b/test/integration/targets/lookup_subelements/aliases
index bc987654d9..765b70da79 100644
--- a/test/integration/targets/lookup_subelements/aliases
+++ b/test/integration/targets/lookup_subelements/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_template/aliases b/test/integration/targets/lookup_template/aliases
index 07b8702010..a6dafcf8cd 100644
--- a/test/integration/targets/lookup_template/aliases
+++ b/test/integration/targets/lookup_template/aliases
@@ -1,3 +1 @@
shippable/posix/group1
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_together/aliases b/test/integration/targets/lookup_together/aliases
index bc987654d9..765b70da79 100644
--- a/test/integration/targets/lookup_together/aliases
+++ b/test/integration/targets/lookup_together/aliases
@@ -1,3 +1 @@
shippable/posix/group2
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_unvault/aliases b/test/integration/targets/lookup_unvault/aliases
index 4a2ce27cbd..6bd893d49f 100644
--- a/test/integration/targets/lookup_unvault/aliases
+++ b/test/integration/targets/lookup_unvault/aliases
@@ -1,3 +1,2 @@
shippable/posix/group2
needs/root
-skip/aix
diff --git a/test/integration/targets/lookup_url/aliases b/test/integration/targets/lookup_url/aliases
index 28990148bb..90ef161f59 100644
--- a/test/integration/targets/lookup_url/aliases
+++ b/test/integration/targets/lookup_url/aliases
@@ -1,5 +1,3 @@
destructive
shippable/posix/group1
needs/httptester
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_varnames/aliases b/test/integration/targets/lookup_varnames/aliases
index 45489be80c..765b70da79 100644
--- a/test/integration/targets/lookup_varnames/aliases
+++ b/test/integration/targets/lookup_varnames/aliases
@@ -1,2 +1 @@
shippable/posix/group2
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/lookup_vars/aliases b/test/integration/targets/lookup_vars/aliases
index 07b8702010..a6dafcf8cd 100644
--- a/test/integration/targets/lookup_vars/aliases
+++ b/test/integration/targets/lookup_vars/aliases
@@ -1,3 +1 @@
shippable/posix/group1
-skip/aix
-skip/python2.6 # lookups are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/loop_control/aliases b/test/integration/targets/loop_control/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/loop_control/aliases
+++ b/test/integration/targets/loop_control/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/loops/aliases b/test/integration/targets/loops/aliases
index ed821c2754..90ea9e1281 100644
--- a/test/integration/targets/loops/aliases
+++ b/test/integration/targets/loops/aliases
@@ -1,2 +1,2 @@
shippable/posix/group2
-skip/aix
+context/controller
diff --git a/test/integration/targets/meta_tasks/aliases b/test/integration/targets/meta_tasks/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/meta_tasks/aliases
+++ b/test/integration/targets/meta_tasks/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/missing_required_lib/aliases b/test/integration/targets/missing_required_lib/aliases
index 70a7b7a9f3..1d28bdb2aa 100644
--- a/test/integration/targets/missing_required_lib/aliases
+++ b/test/integration/targets/missing_required_lib/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller
diff --git a/test/integration/targets/module_defaults/aliases b/test/integration/targets/module_defaults/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/module_defaults/aliases
+++ b/test/integration/targets/module_defaults/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/module_no_log/aliases b/test/integration/targets/module_no_log/aliases
index cbbb880435..2e2633090b 100644
--- a/test/integration/targets/module_no_log/aliases
+++ b/test/integration/targets/module_no_log/aliases
@@ -1,5 +1,5 @@
shippable/posix/group1
-skip/aix # not configured to log user.info to /var/log/syslog
+context/controller
skip/freebsd # not configured to log user.info to /var/log/syslog
skip/osx # not configured to log user.info to /var/log/syslog
skip/macos # not configured to log user.info to /var/log/syslog
diff --git a/test/integration/targets/module_precedence/aliases b/test/integration/targets/module_precedence/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/module_precedence/aliases
+++ b/test/integration/targets/module_precedence/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/module_tracebacks/aliases b/test/integration/targets/module_tracebacks/aliases
index 804f046048..757f4fb831 100644
--- a/test/integration/targets/module_tracebacks/aliases
+++ b/test/integration/targets/module_tracebacks/aliases
@@ -1,3 +1,3 @@
shippable/posix/group4
needs/ssh
-skip/aix
+context/controller
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:
diff --git a/test/integration/targets/module_utils_distro/aliases b/test/integration/targets/module_utils_distro/aliases
index 0b4d548e4d..8278ec8bcc 100644
--- a/test/integration/targets/module_utils_distro/aliases
+++ b/test/integration/targets/module_utils_distro/aliases
@@ -1 +1,2 @@
-shippable/posix/group3 \ No newline at end of file
+shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/module_utils_facts.system.selinux/aliases b/test/integration/targets/module_utils_facts.system.selinux/aliases
index aab3ff52eb..ee281d2748 100644
--- a/test/integration/targets/module_utils_facts.system.selinux/aliases
+++ b/test/integration/targets/module_utils_facts.system.selinux/aliases
@@ -1,5 +1,4 @@
shippable/posix/group1
-skip/aix
skip/osx
skip/macos
skip/freebsd
diff --git a/test/integration/targets/no_log/aliases b/test/integration/targets/no_log/aliases
index 70a7b7a9f3..1d28bdb2aa 100644
--- a/test/integration/targets/no_log/aliases
+++ b/test/integration/targets/no_log/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller
diff --git a/test/integration/targets/noexec/aliases b/test/integration/targets/noexec/aliases
index 66a77c7b29..edabc85ab9 100644
--- a/test/integration/targets/noexec/aliases
+++ b/test/integration/targets/noexec/aliases
@@ -1,3 +1,4 @@
shippable/posix/group2
+context/controller
skip/docker
skip/macos
diff --git a/test/integration/targets/old_style_cache_plugins/aliases b/test/integration/targets/old_style_cache_plugins/aliases
index 05f65b7188..13906d9e11 100644
--- a/test/integration/targets/old_style_cache_plugins/aliases
+++ b/test/integration/targets/old_style_cache_plugins/aliases
@@ -1,4 +1,5 @@
shippable/posix/group3
+context/controller
skip/osx
skip/macos
disabled
diff --git a/test/integration/targets/old_style_modules_posix/aliases b/test/integration/targets/old_style_modules_posix/aliases
index b59832142f..a3ada117fb 100644
--- a/test/integration/targets/old_style_modules_posix/aliases
+++ b/test/integration/targets/old_style_modules_posix/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/target
diff --git a/test/integration/targets/omit/aliases b/test/integration/targets/omit/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/omit/aliases
+++ b/test/integration/targets/omit/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/order/aliases b/test/integration/targets/order/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/order/aliases
+++ b/test/integration/targets/order/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/parsing/aliases b/test/integration/targets/parsing/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/parsing/aliases
+++ b/test/integration/targets/parsing/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/path_lookups/aliases b/test/integration/targets/path_lookups/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/path_lookups/aliases
+++ b/test/integration/targets/path_lookups/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/path_with_comma_in_inventory/aliases b/test/integration/targets/path_with_comma_in_inventory/aliases
index 70a7b7a9f3..1d28bdb2aa 100644
--- a/test/integration/targets/path_with_comma_in_inventory/aliases
+++ b/test/integration/targets/path_with_comma_in_inventory/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller
diff --git a/test/integration/targets/pause/aliases b/test/integration/targets/pause/aliases
index 810f1ab6ed..b07d71c7ea 100644
--- a/test/integration/targets/pause/aliases
+++ b/test/integration/targets/pause/aliases
@@ -1,3 +1,3 @@
needs/target/setup_pexpect
shippable/posix/group1
-skip/aix
+context/controller # this is a controller-only action, the module is just for documentation
diff --git a/test/integration/targets/pkg_resources/aliases b/test/integration/targets/pkg_resources/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/pkg_resources/aliases
+++ b/test/integration/targets/pkg_resources/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/play_iterator/aliases b/test/integration/targets/play_iterator/aliases
index 3005e4b26d..498fedd558 100644
--- a/test/integration/targets/play_iterator/aliases
+++ b/test/integration/targets/play_iterator/aliases
@@ -1 +1,2 @@
shippable/posix/group4
+context/controller
diff --git a/test/integration/targets/playbook/aliases b/test/integration/targets/playbook/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/playbook/aliases
+++ b/test/integration/targets/playbook/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/plugin_config_for_inventory/aliases b/test/integration/targets/plugin_config_for_inventory/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/plugin_config_for_inventory/aliases
+++ b/test/integration/targets/plugin_config_for_inventory/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/plugin_filtering/aliases b/test/integration/targets/plugin_filtering/aliases
index 3005e4b26d..498fedd558 100644
--- a/test/integration/targets/plugin_filtering/aliases
+++ b/test/integration/targets/plugin_filtering/aliases
@@ -1 +1,2 @@
shippable/posix/group4
+context/controller
diff --git a/test/integration/targets/plugin_loader/aliases b/test/integration/targets/plugin_loader/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/plugin_loader/aliases
+++ b/test/integration/targets/plugin_loader/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/plugin_namespace/aliases b/test/integration/targets/plugin_namespace/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/plugin_namespace/aliases
+++ b/test/integration/targets/plugin_namespace/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/rel_plugin_loading/aliases b/test/integration/targets/rel_plugin_loading/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/rel_plugin_loading/aliases
+++ b/test/integration/targets/rel_plugin_loading/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/remote_tmp/aliases b/test/integration/targets/remote_tmp/aliases
index 757c99661d..4b8559d973 100644
--- a/test/integration/targets/remote_tmp/aliases
+++ b/test/integration/targets/remote_tmp/aliases
@@ -1,2 +1,4 @@
shippable/posix/group3
skip/aix
+context/target
+needs/target/setup_remote_tmp_dir
diff --git a/test/integration/targets/remote_tmp/playbook.yml b/test/integration/targets/remote_tmp/playbook.yml
index 43f99ca5f2..5adef62690 100644
--- a/test/integration/targets/remote_tmp/playbook.yml
+++ b/test/integration/targets/remote_tmp/playbook.yml
@@ -31,13 +31,16 @@
hosts: testhost
gather_facts: false
tasks:
+ - import_role:
+ name: ../setup_remote_tmp_dir
+
- file:
state: touch
- path: "{{ output_dir }}/65393"
+ path: "{{ remote_tmp_dir }}/65393"
- copy:
- src: "{{ output_dir }}/65393"
- dest: "{{ output_dir }}/65393.2"
+ src: "{{ remote_tmp_dir }}/65393"
+ dest: "{{ remote_tmp_dir }}/65393.2"
remote_src: true
- find:
@@ -52,6 +55,5 @@
- assert:
that:
- # Should only be AnsiballZ_find.py because find is actively running
- - result.files|length == 1
- - result.files[0].path.endswith('/AnsiballZ_find.py')
+ # Should find nothing since pipelining is used
+ - result.files|length == 0
diff --git a/test/integration/targets/remote_tmp/runme.sh b/test/integration/targets/remote_tmp/runme.sh
index 8d1eebd6b1..69efd6e016 100755
--- a/test/integration/targets/remote_tmp/runme.sh
+++ b/test/integration/targets/remote_tmp/runme.sh
@@ -2,4 +2,4 @@
set -ux
-ansible-playbook -i ../../inventory playbook.yml -e "output_dir=${OUTPUT_DIR}" -v "$@"
+ansible-playbook -i ../../inventory playbook.yml -v "$@"
diff --git a/test/integration/targets/retry_task_name_in_callback/aliases b/test/integration/targets/retry_task_name_in_callback/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/retry_task_name_in_callback/aliases
+++ b/test/integration/targets/retry_task_name_in_callback/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/roles/aliases b/test/integration/targets/roles/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/roles/aliases
+++ b/test/integration/targets/roles/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/roles_arg_spec/aliases b/test/integration/targets/roles_arg_spec/aliases
index 70a7b7a9f3..1d28bdb2aa 100644
--- a/test/integration/targets/roles_arg_spec/aliases
+++ b/test/integration/targets/roles_arg_spec/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller
diff --git a/test/integration/targets/roles_var_inheritance/aliases b/test/integration/targets/roles_var_inheritance/aliases
index 70a7b7a9f3..1d28bdb2aa 100644
--- a/test/integration/targets/roles_var_inheritance/aliases
+++ b/test/integration/targets/roles_var_inheritance/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller
diff --git a/test/integration/targets/run_modules/aliases b/test/integration/targets/run_modules/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/run_modules/aliases
+++ b/test/integration/targets/run_modules/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/set_fact/aliases b/test/integration/targets/set_fact/aliases
index 757c99661d..101793239a 100644
--- a/test/integration/targets/set_fact/aliases
+++ b/test/integration/targets/set_fact/aliases
@@ -1,2 +1,2 @@
shippable/posix/group3
-skip/aix
+context/controller # this is a controller-only action, the module is just for documentation
diff --git a/test/integration/targets/set_stats/aliases b/test/integration/targets/set_stats/aliases
index 70a7b7a9f3..a1b27a8355 100644
--- a/test/integration/targets/set_stats/aliases
+++ b/test/integration/targets/set_stats/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller # this is a controller-only action, the module is just for documentation
diff --git a/test/integration/targets/set_stats/runme.sh b/test/integration/targets/set_stats/runme.sh
index fa11797269..27193dc8e0 100755
--- a/test/integration/targets/set_stats/runme.sh
+++ b/test/integration/targets/set_stats/runme.sh
@@ -5,9 +5,9 @@ set -eux
export ANSIBLE_SHOW_CUSTOM_STATS=yes
# Simple tests
-ansible-playbook test_simple.yml
+ansible-playbook test_simple.yml -i "${INVENTORY_PATH}"
# This playbook does two set_stats calls setting my_int to 10 and 15.
# The aggregated output should add to 25.
-output=$(ansible-playbook test_aggregate.yml | grep -c '"my_int": 25')
+output=$(ansible-playbook test_aggregate.yml -i "${INVENTORY_PATH}" | grep -c '"my_int": 25')
test "$output" -eq 1
diff --git a/test/integration/targets/set_stats/test_aggregate.yml b/test/integration/targets/set_stats/test_aggregate.yml
index db48875e54..7f12895d1a 100644
--- a/test/integration/targets/set_stats/test_aggregate.yml
+++ b/test/integration/targets/set_stats/test_aggregate.yml
@@ -1,5 +1,5 @@
---
-- hosts: localhost
+- hosts: testhost
gather_facts: false
tasks:
- name: First set_stats
diff --git a/test/integration/targets/set_stats/test_simple.yml b/test/integration/targets/set_stats/test_simple.yml
index d734564a22..0f62120d3a 100644
--- a/test/integration/targets/set_stats/test_simple.yml
+++ b/test/integration/targets/set_stats/test_simple.yml
@@ -1,5 +1,5 @@
---
-- hosts: localhost
+- hosts: testhost
gather_facts: false
tasks:
- name: test simple data with defaults
diff --git a/test/integration/targets/setup_paramiko/install-FreeBSD-11-python-2.yml b/test/integration/targets/setup_paramiko/install-FreeBSD-11-python-2.yml
deleted file mode 100644
index dec5b5481a..0000000000
--- a/test/integration/targets/setup_paramiko/install-FreeBSD-11-python-2.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-- name: Install Paramiko for Python 2 on FreeBSD 11
- pkgng:
- name: py27-paramiko
diff --git a/test/integration/targets/setup_paramiko/install-FreeBSD-11-python-3.yml b/test/integration/targets/setup_paramiko/install-FreeBSD-11-python-3.yml
deleted file mode 100644
index eb01d00f1e..0000000000
--- a/test/integration/targets/setup_paramiko/install-FreeBSD-11-python-3.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-- name: Downgrade to pip version 18.1 to work around a PEP 517 virtualenv bug
- # pip 19.0.0 added support for PEP 517
- # versions as recent as 19.0.3 fail to install paramiko in a virtualenv due to a BackendUnavailable exception
- # installation without a virtualenv succeeds
- pip:
- name: pip==18.1
-- name: Setup remote constraints
- include_tasks: setup-remote-constraints.yml
-- name: Install Paramiko for Python 3 on FreeBSD 11
- pip: # no py36-paramiko package exists for FreeBSD 11
- name: paramiko
- extra_args: "-c {{ remote_constraints }}"
diff --git a/test/integration/targets/setup_paramiko/install-FreeBSD-11.4-python-3.yml b/test/integration/targets/setup_paramiko/install-FreeBSD-11.4-python-3.yml
deleted file mode 100644
index 9a7bfb6702..0000000000
--- a/test/integration/targets/setup_paramiko/install-FreeBSD-11.4-python-3.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-- name: Install Paramiko for Python 3 on FreeBSD 11.4
- pkgng:
- name: py37-paramiko
diff --git a/test/integration/targets/setup_paramiko/install-FreeBSD-12-python-2.yml b/test/integration/targets/setup_paramiko/install-FreeBSD-12-python-2.yml
deleted file mode 100644
index 29e7896917..0000000000
--- a/test/integration/targets/setup_paramiko/install-FreeBSD-12-python-2.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-- name: Install Paramiko for Python 2 on FreeBSD 12
- pkgng:
- name: py27-paramiko
diff --git a/test/integration/targets/setup_paramiko/install-FreeBSD-12-python-3.yml b/test/integration/targets/setup_paramiko/install-FreeBSD-12-python-3.yml
deleted file mode 100644
index 2aa7b500c7..0000000000
--- a/test/integration/targets/setup_paramiko/install-FreeBSD-12-python-3.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-- name: Install Paramiko for Python 3 on FreeBSD 12
- pkgng:
- name: py36-paramiko
diff --git a/test/integration/targets/setup_paramiko/install-FreeBSD-12.2-python-3.yml b/test/integration/targets/setup_paramiko/install-FreeBSD-12.2-python-3.yml
deleted file mode 100644
index 4fe6011bb1..0000000000
--- a/test/integration/targets/setup_paramiko/install-FreeBSD-12.2-python-3.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-- name: Install Paramiko for Python 3 on FreeBSD 12.2
- pkgng:
- name: py37-paramiko
diff --git a/test/integration/targets/setup_paramiko/install-FreeBSD-13-python-3.yml b/test/integration/targets/setup_paramiko/install-FreeBSD-13-python-3.yml
deleted file mode 100644
index 68dd3a9b95..0000000000
--- a/test/integration/targets/setup_paramiko/install-FreeBSD-13-python-3.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-- name: Install Paramiko for Python 3 on FreeBSD 13.0
- pkgng:
- name: py37-paramiko
diff --git a/test/integration/targets/setup_paramiko/install-FreeBSD-13-python-2.yml b/test/integration/targets/setup_paramiko/install-FreeBSD-python-3.yml
index 95697465b8..27daf3cfe9 100644
--- a/test/integration/targets/setup_paramiko/install-FreeBSD-13-python-2.yml
+++ b/test/integration/targets/setup_paramiko/install-FreeBSD-python-3.yml
@@ -1,6 +1,6 @@
- name: Setup remote constraints
include_tasks: setup-remote-constraints.yml
-- name: Install Paramiko for Python 2 on FreeBSD 13
+- name: Install Paramiko for Python 3 on FreeBSD
pip: # no package in pkg, just use pip
name: paramiko
extra_args: "-c {{ remote_constraints }}"
diff --git a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-11-python-2.yml b/test/integration/targets/setup_paramiko/uninstall-FreeBSD-11-python-2.yml
deleted file mode 100644
index d27f831c2e..0000000000
--- a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-11-python-2.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-- name: Uninstall Paramiko for Python 2 on FreeBSD 11
- pkgng:
- name: py27-paramiko
- state: absent
diff --git a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-11-python-3.yml b/test/integration/targets/setup_paramiko/uninstall-FreeBSD-11-python-3.yml
deleted file mode 100644
index 33f292e8da..0000000000
--- a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-11-python-3.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-- name: Uninstall Paramiko for Python 3 on FreeBSD 11
- pip: # no py36-paramiko package exists for FreeBSD 11
- name: paramiko
- state: absent
diff --git a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-11.4-python-3.yml b/test/integration/targets/setup_paramiko/uninstall-FreeBSD-11.4-python-3.yml
deleted file mode 100644
index 86956fd9fd..0000000000
--- a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-11.4-python-3.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-- name: Uninstall Paramiko for Python 3 on FreeBSD 11.4
- pkgng:
- name: py37-paramiko
- state: absent
diff --git a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-12-python-2.yml b/test/integration/targets/setup_paramiko/uninstall-FreeBSD-12-python-2.yml
deleted file mode 100644
index 7935248774..0000000000
--- a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-12-python-2.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-- name: Uninstall Paramiko for Python 2 on FreeBSD 12
- pkgng:
- name: py27-paramiko
- state: absent
diff --git a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-12-python-3.yml b/test/integration/targets/setup_paramiko/uninstall-FreeBSD-12-python-3.yml
deleted file mode 100644
index 46d26ca344..0000000000
--- a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-12-python-3.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-- name: Uninstall Paramiko for Python 3 on FreeBSD 12
- pkgng:
- name: py36-paramiko
- state: absent
diff --git a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-12.2-python-3.yml b/test/integration/targets/setup_paramiko/uninstall-FreeBSD-12.2-python-3.yml
deleted file mode 100644
index 0359bf4cf7..0000000000
--- a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-12.2-python-3.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-- name: Uninstall Paramiko for Python 3 on FreeBSD 12.2
- pkgng:
- name: py37-paramiko
- state: absent
diff --git a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-13-python-2.yml b/test/integration/targets/setup_paramiko/uninstall-FreeBSD-13-python-2.yml
deleted file mode 100644
index 200569695f..0000000000
--- a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-13-python-2.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-- name: Uninstall Paramiko for Python 2 on FreeBSD 13
- pip:
- name: paramiko
- state: absent
diff --git a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-13-python-3.yml b/test/integration/targets/setup_paramiko/uninstall-FreeBSD-13-python-3.yml
deleted file mode 100644
index 738e2c0b2c..0000000000
--- a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-13-python-3.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-- name: Uninstall Paramiko for Python 3 on FreeBSD 13.0
- pkgng:
- name: py37-paramiko
- state: absent
diff --git a/test/integration/targets/setup_paramiko/uninstall-FreeBSD-python-3.yml b/test/integration/targets/setup_paramiko/uninstall-FreeBSD-python-3.yml
new file mode 100644
index 0000000000..d3d3739b01
--- /dev/null
+++ b/test/integration/targets/setup_paramiko/uninstall-FreeBSD-python-3.yml
@@ -0,0 +1,4 @@
+- name: Uninstall Paramiko for Python 3 on FreeBSD
+ pip:
+ name: paramiko
+ state: absent
diff --git a/test/integration/targets/special_vars/aliases b/test/integration/targets/special_vars/aliases
index 2d9e6788ad..55b8ec066a 100644
--- a/test/integration/targets/special_vars/aliases
+++ b/test/integration/targets/special_vars/aliases
@@ -1,2 +1,3 @@
shippable/posix/group2
needs/target/include_parent_role_vars
+context/controller
diff --git a/test/integration/targets/special_vars_hosts/aliases b/test/integration/targets/special_vars_hosts/aliases
index 70a7b7a9f3..1d28bdb2aa 100644
--- a/test/integration/targets/special_vars_hosts/aliases
+++ b/test/integration/targets/special_vars_hosts/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller
diff --git a/test/integration/targets/split/aliases b/test/integration/targets/split/aliases
new file mode 100644
index 0000000000..87958830d5
--- /dev/null
+++ b/test/integration/targets/split/aliases
@@ -0,0 +1,2 @@
+context/target
+shippable/posix/group1
diff --git a/test/integration/targets/split/tasks/main.yml b/test/integration/targets/split/tasks/main.yml
new file mode 100644
index 0000000000..ead1c536af
--- /dev/null
+++ b/test/integration/targets/split/tasks/main.yml
@@ -0,0 +1,30 @@
+- name: Get control host details
+ setup:
+ delegate_to: localhost
+ register: control_host
+- name: Get managed host details
+ setup:
+ register: managed_host
+- name: Check split state
+ stat:
+ path: "{{ output_dir }}"
+ register: split
+ ignore_errors: yes
+- name: Build non-split status message
+ set_fact:
+ message: "
+ {{ control_host.ansible_facts.ansible_distribution }} {{ control_host.ansible_facts.ansible_distribution_version }}
+ {{ control_host.ansible_facts.ansible_python.executable }} ({{ control_host.ansible_facts.ansible_python_version }}) ->
+ {{ managed_host.ansible_facts.ansible_python.executable }} ({{ managed_host.ansible_facts.ansible_python_version }})"
+ when: split is success and split.stat.exists
+- name: Build split status message
+ set_fact:
+ message: "
+ {{ control_host.ansible_facts.ansible_distribution }} {{ control_host.ansible_facts.ansible_distribution_version }}
+ {{ control_host.ansible_facts.ansible_python.executable }} ({{ control_host.ansible_facts.ansible_python_version }}) ->
+ {{ managed_host.ansible_facts.ansible_distribution }} {{ managed_host.ansible_facts.ansible_distribution_version }}
+ {{ managed_host.ansible_facts.ansible_python.executable }} ({{ managed_host.ansible_facts.ansible_python_version }})"
+ when: split is not success or not split.stat.exists
+- name: Show host details
+ debug:
+ msg: "{{ message }}"
diff --git a/test/integration/targets/subversion/roles/subversion/defaults/main.yml b/test/integration/targets/subversion/roles/subversion/defaults/main.yml
index f989345a66..249578d2f2 100644
--- a/test/integration/targets/subversion/roles/subversion/defaults/main.yml
+++ b/test/integration/targets/subversion/roles/subversion/defaults/main.yml
@@ -1,11 +1,10 @@
---
apache_port: 11386 # cannot use 80 as httptester overrides this
-output_dir: "{{ lookup('env', 'OUTPUT_DIR') }}"
-subversion_test_dir: '{{ output_dir }}/svn-test'
+subversion_test_dir: /tmp/ansible-svn-test-dir
subversion_server_dir: /tmp/ansible-svn # cannot use a path in the home dir without userdir or granting exec permission to the apache user
subversion_repo_name: ansible-test-repo
subversion_repo_url: http://127.0.0.1:{{ apache_port }}/svn/{{ subversion_repo_name }}
subversion_repo_auth_url: http://127.0.0.1:{{ apache_port }}/svnauth/{{ subversion_repo_name }}
subversion_username: subsvn_user'''
subversion_password: Password123!
-subversion_external_repo_url: https://github.com/ansible/ansible-base-test-container # GitHub serves SVN
+subversion_external_repo_url: https://github.com/ansible/ansible-core-test-container # GitHub serves SVN
diff --git a/test/integration/targets/subversion/runme.sh b/test/integration/targets/subversion/runme.sh
index 99d56aa79b..c39bdc0090 100755
--- a/test/integration/targets/subversion/runme.sh
+++ b/test/integration/targets/subversion/runme.sh
@@ -4,7 +4,7 @@ set -eu
cleanup() {
echo "Cleanup"
- ansible-playbook runme.yml -e "output_dir=${OUTPUT_DIR}" "$@" --tags cleanup
+ ansible-playbook runme.yml -i "${INVENTORY_PATH}" "$@" --tags cleanup
echo "Done"
}
@@ -13,15 +13,18 @@ trap cleanup INT TERM EXIT
export ANSIBLE_ROLES_PATH=roles/
# Ensure subversion is set up
-ansible-playbook runme.yml "$@" -v --tags setup
+ansible-playbook runme.yml -i "${INVENTORY_PATH}" "$@" -v --tags setup
# Test functionality
-ansible-playbook runme.yml "$@" -v --tags tests
+ansible-playbook runme.yml -i "${INVENTORY_PATH}" "$@" -v --tags tests
# Test a warning is displayed for versions < 1.10.0 when a password is provided
-ansible-playbook runme.yml "$@" --tags warnings 2>&1 | tee out.txt
+ansible-playbook runme.yml -i "${INVENTORY_PATH}" "$@" --tags warnings 2>&1 | tee out.txt
+
+version=$(ANSIBLE_FORCE_COLOR=0 ansible -i "${INVENTORY_PATH}" -m shell -a 'svn --version -q' testhost 2>/dev/null | tail -n 1)
+
+echo "svn --version is '${version}'"
-version="$(svn --version -q)"
secure=$(python -c "from ansible.module_utils.compat.version import LooseVersion; print(LooseVersion('$version') >= LooseVersion('1.10.0'))")
if [[ "${secure}" = "False" ]] && [[ "$(grep -c 'To securely pass credentials, upgrade svn to version 1.10.0' out.txt)" -eq 1 ]]; then
diff --git a/test/integration/targets/subversion/runme.yml b/test/integration/targets/subversion/runme.yml
index c67d7b89b1..71c5e4b812 100644
--- a/test/integration/targets/subversion/runme.yml
+++ b/test/integration/targets/subversion/runme.yml
@@ -1,5 +1,5 @@
---
-- hosts: localhost
+- hosts: testhost
tasks:
- name: load OS specific vars
include_vars: '{{ item }}'
diff --git a/test/integration/targets/tags/aliases b/test/integration/targets/tags/aliases
index 757c99661d..8278ec8bcc 100644
--- a/test/integration/targets/tags/aliases
+++ b/test/integration/targets/tags/aliases
@@ -1,2 +1,2 @@
shippable/posix/group3
-skip/aix
+context/controller
diff --git a/test/integration/targets/task_ordering/aliases b/test/integration/targets/task_ordering/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/task_ordering/aliases
+++ b/test/integration/targets/task_ordering/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/tasks/aliases b/test/integration/targets/tasks/aliases
index a6dafcf8cd..13e01f0c94 100644
--- a/test/integration/targets/tasks/aliases
+++ b/test/integration/targets/tasks/aliases
@@ -1 +1,2 @@
shippable/posix/group1
+context/controller
diff --git a/test/integration/targets/template/aliases b/test/integration/targets/template/aliases
index f0c24d2091..327f088b2d 100644
--- a/test/integration/targets/template/aliases
+++ b/test/integration/targets/template/aliases
@@ -1,3 +1,3 @@
needs/root
shippable/posix/group5
-skip/aix
+context/controller # this "module" is actually an action that runs on the controller
diff --git a/test/integration/targets/template_jinja2_latest/aliases b/test/integration/targets/template_jinja2_latest/aliases
index 2a89ae7eb6..b9c19e3d84 100644
--- a/test/integration/targets/template_jinja2_latest/aliases
+++ b/test/integration/targets/template_jinja2_latest/aliases
@@ -1,5 +1,5 @@
needs/root
shippable/posix/group2
needs/target/template
-skip/aix
+context/controller
needs/file/test/lib/ansible_test/_data/requirements/constraints.txt
diff --git a/test/integration/targets/template_jinja2_non_native/aliases b/test/integration/targets/template_jinja2_non_native/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/template_jinja2_non_native/aliases
+++ b/test/integration/targets/template_jinja2_non_native/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/templating_lookups/aliases b/test/integration/targets/templating_lookups/aliases
index f8e28c7e46..13e01f0c94 100644
--- a/test/integration/targets/templating_lookups/aliases
+++ b/test/integration/targets/templating_lookups/aliases
@@ -1,2 +1,2 @@
shippable/posix/group1
-skip/aix
+context/controller
diff --git a/test/integration/targets/templating_settings/aliases b/test/integration/targets/templating_settings/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/templating_settings/aliases
+++ b/test/integration/targets/templating_settings/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/test_core/aliases b/test/integration/targets/test_core/aliases
index 041b0cc7bc..70a7b7a9f3 100644
--- a/test/integration/targets/test_core/aliases
+++ b/test/integration/targets/test_core/aliases
@@ -1,2 +1 @@
shippable/posix/group5
-skip/python2.6 # tests are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/test_files/aliases b/test/integration/targets/test_files/aliases
index 041b0cc7bc..70a7b7a9f3 100644
--- a/test/integration/targets/test_files/aliases
+++ b/test/integration/targets/test_files/aliases
@@ -1,2 +1 @@
shippable/posix/group5
-skip/python2.6 # tests are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/test_mathstuff/aliases b/test/integration/targets/test_mathstuff/aliases
index 041b0cc7bc..70a7b7a9f3 100644
--- a/test/integration/targets/test_mathstuff/aliases
+++ b/test/integration/targets/test_mathstuff/aliases
@@ -1,2 +1 @@
shippable/posix/group5
-skip/python2.6 # tests are controller only, and we no longer support Python 2.6 on the controller
diff --git a/test/integration/targets/throttle/aliases b/test/integration/targets/throttle/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/throttle/aliases
+++ b/test/integration/targets/throttle/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/unarchive/tasks/test_unprivileged_user.yml b/test/integration/targets/unarchive/tasks/test_unprivileged_user.yml
index d35f88dc7c..7022bba1e0 100644
--- a/test/integration/targets/unarchive/tasks/test_unprivileged_user.yml
+++ b/test/integration/targets/unarchive/tasks/test_unprivileged_user.yml
@@ -75,6 +75,7 @@
name: unarchivetest1
state: absent
remove: yes
+ force: yes
become: yes
become_user: root
diff --git a/test/integration/targets/undefined/aliases b/test/integration/targets/undefined/aliases
index 70a7b7a9f3..1d28bdb2aa 100644
--- a/test/integration/targets/undefined/aliases
+++ b/test/integration/targets/undefined/aliases
@@ -1 +1,2 @@
shippable/posix/group5
+context/controller
diff --git a/test/integration/targets/unicode/aliases b/test/integration/targets/unicode/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/unicode/aliases
+++ b/test/integration/targets/unicode/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/unsafe_writes/aliases b/test/integration/targets/unsafe_writes/aliases
index 4fb7a11640..cf954afc1f 100644
--- a/test/integration/targets/unsafe_writes/aliases
+++ b/test/integration/targets/unsafe_writes/aliases
@@ -1,6 +1,8 @@
+context/target
needs/root
skip/freebsd
skip/osx
skip/macos
skip/aix
shippable/posix/group3
+needs/target/setup_remote_tmp_dir
diff --git a/test/integration/targets/unsafe_writes/basic.yml b/test/integration/targets/unsafe_writes/basic.yml
index 410726ad0e..99a3195f65 100644
--- a/test/integration/targets/unsafe_writes/basic.yml
+++ b/test/integration/targets/unsafe_writes/basic.yml
@@ -1,9 +1,23 @@
- hosts: testhost
gather_facts: false
- vars:
- testudir: '{{output_dir}}/unsafe_writes_test'
- testufile: '{{testudir}}/unreplacablefile.txt'
tasks:
+ - import_role:
+ name: ../setup_remote_tmp_dir
+ - name: define test directory
+ set_fact:
+ testudir: '{{remote_tmp_dir}}/unsafe_writes_test'
+ - name: define test file
+ set_fact:
+ testufile: '{{testudir}}/unreplacablefile.txt'
+ - name: define test environment with unsafe writes set
+ set_fact:
+ test_env:
+ ANSIBLE_UNSAFE_WRITES: "{{ lookup('env', 'ANSIBLE_UNSAFE_WRITES') }}"
+ when: lookup('env', 'ANSIBLE_UNSAFE_WRITES')
+ - name: define test environment without unsafe writes set
+ set_fact:
+ test_env: {}
+ when: not lookup('env', 'ANSIBLE_UNSAFE_WRITES')
- name: test unsafe_writes on immutable dir (file cannot be atomically replaced)
block:
- name: create target dir
@@ -61,6 +75,7 @@
msg: "Failed with envvar: {{env_enabled}}, due AUW: to {{q('env', 'ANSIBLE_UNSAFE_WRITES')}}"
that:
- env_enabled and copy_with_env is changed or not env_enabled and copy_with_env is failed
+ environment: "{{ test_env }}"
always:
- name: remove immutable flag from dir to prevent issues with cleanup
file: path={{testudir}} state=directory attributes="-i"
diff --git a/test/integration/targets/unsafe_writes/runme.sh b/test/integration/targets/unsafe_writes/runme.sh
index 791a5676b4..619ce02568 100755
--- a/test/integration/targets/unsafe_writes/runme.sh
+++ b/test/integration/targets/unsafe_writes/runme.sh
@@ -3,10 +3,10 @@
set -eux
# test w/o fallback env var
-ansible-playbook basic.yml -i ../../inventory -e "output_dir=${OUTPUT_DIR}" "$@"
+ansible-playbook basic.yml -i ../../inventory "$@"
# test enabled fallback env var
-ANSIBLE_UNSAFE_WRITES=1 ansible-playbook basic.yml -i ../../inventory -e "output_dir=${OUTPUT_DIR}" "$@"
+ANSIBLE_UNSAFE_WRITES=1 ansible-playbook basic.yml -i ../../inventory "$@"
# test disnabled fallback env var
-ANSIBLE_UNSAFE_WRITES=0 ansible-playbook basic.yml -i ../../inventory -e "output_dir=${OUTPUT_DIR}" "$@"
+ANSIBLE_UNSAFE_WRITES=0 ansible-playbook basic.yml -i ../../inventory "$@"
diff --git a/test/integration/targets/until/aliases b/test/integration/targets/until/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/until/aliases
+++ b/test/integration/targets/until/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/unvault/aliases b/test/integration/targets/unvault/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/unvault/aliases
+++ b/test/integration/targets/unvault/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/uri/meta/main.yml b/test/integration/targets/uri/meta/main.yml
index 39b94950af..2c2155aba0 100644
--- a/test/integration/targets/uri/meta/main.yml
+++ b/test/integration/targets/uri/meta/main.yml
@@ -2,4 +2,3 @@ dependencies:
- prepare_tests
- prepare_http_tests
- setup_remote_tmp_dir
- - setup_remote_constraints
diff --git a/test/integration/targets/uri/tasks/main.yml b/test/integration/targets/uri/tasks/main.yml
index c6ba67224e..700e7f1017 100644
--- a/test/integration/targets/uri/tasks/main.yml
+++ b/test/integration/targets/uri/tasks/main.yml
@@ -366,10 +366,25 @@
with_items: "{{ uri_os_packages[ansible_os_family].step2 | default([]) }}"
when: not ansible_python.has_sslcontext and not is_ubuntu_precise|bool
+- name: create constraints path
+ set_fact:
+ remote_constraints: "{{ remote_tmp_dir }}/constraints.txt"
+ when: not ansible_python.has_sslcontext and not is_ubuntu_precise|bool
+
+- name: create constraints file
+ copy:
+ content: |
+ cryptography == 2.1.4
+ idna == 2.5
+ pyopenssl == 17.5.0
+ six == 1.13.0
+ urllib3 == 1.23
+ dest: "{{ remote_constraints }}"
+ when: not ansible_python.has_sslcontext and not is_ubuntu_precise|bool
+
- name: install urllib3 and pyopenssl via pip
pip:
name: "{{ item }}"
- state: latest
extra_args: "-c {{ remote_constraints }}"
with_items:
- urllib3
diff --git a/test/integration/targets/var_blending/aliases b/test/integration/targets/var_blending/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/var_blending/aliases
+++ b/test/integration/targets/var_blending/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/var_precedence/aliases b/test/integration/targets/var_precedence/aliases
index 3005e4b26d..498fedd558 100644
--- a/test/integration/targets/var_precedence/aliases
+++ b/test/integration/targets/var_precedence/aliases
@@ -1 +1,2 @@
shippable/posix/group4
+context/controller
diff --git a/test/integration/targets/var_reserved/aliases b/test/integration/targets/var_reserved/aliases
index 765b70da79..90ea9e1281 100644
--- a/test/integration/targets/var_reserved/aliases
+++ b/test/integration/targets/var_reserved/aliases
@@ -1 +1,2 @@
shippable/posix/group2
+context/controller
diff --git a/test/integration/targets/var_templating/aliases b/test/integration/targets/var_templating/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/var_templating/aliases
+++ b/test/integration/targets/var_templating/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/want_json_modules_posix/aliases b/test/integration/targets/want_json_modules_posix/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/want_json_modules_posix/aliases
+++ b/test/integration/targets/want_json_modules_posix/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller
diff --git a/test/integration/targets/yaml_parsing/aliases b/test/integration/targets/yaml_parsing/aliases
index b59832142f..8278ec8bcc 100644
--- a/test/integration/targets/yaml_parsing/aliases
+++ b/test/integration/targets/yaml_parsing/aliases
@@ -1 +1,2 @@
shippable/posix/group3
+context/controller