mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Add support for non_local alias in ansible-test.
This commit is contained in:
@@ -1 +1,2 @@
|
||||
needs/root
|
||||
non_local
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
|
||||
set -eux
|
||||
|
||||
ANSIBLE_TEST_REMOTE_INTERPRETER='' ./posix.sh "$@"
|
||||
./posix.sh "$@"
|
||||
|
||||
ANSIBLE_TEST_REMOTE_INTERPRETER='' ANSIBLE_REMOTE_USER="1000" ./posix.sh "$@"
|
||||
ANSIBLE_REMOTE_USER="1000" ./posix.sh "$@"
|
||||
|
||||
@@ -5,7 +5,7 @@ buildah-container ansible_ssh_pipelining=true
|
||||
# 2. create container:
|
||||
# $ sudo buildah from --name=buildah-container python:2
|
||||
# 3. run test:
|
||||
# $ ANSIBLE_TEST_REMOTE_INTERPRETER= ansible-test integration --local connection_buildah
|
||||
# $ ansible-test integration connection_buildah
|
||||
# 6. remove container
|
||||
# $ sudo buildah rm buildah-container
|
||||
ansible_host=buildah-container
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
non_local
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
non_local
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
non_local
|
||||
|
||||
Reference in New Issue
Block a user