This website requires JavaScript.
Explore
Cloud
Chat
CI/CD
Help
Sign in
cmueller
/
ansible
Watch
1
Star
0
Fork
You've already forked ansible
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
36a545553e
ansible
/
test
/
integration
/
targets
/
ansible-runner
/
runme.sh
6 lines
98 B
Bash
Raw
Normal View
History
Unescape
Escape
Fix incorrect assumptions in integration tests. (#58365) * Fix nested template test. There were two issues with the previous implementation: 1. The LOGNAME environment variable may not be set. 2. The comparison assumed that testhost is localhost. * Fix variable display for cartesian lookup test. * Fix vars list test. The test assumed that the ansible_user variable is always set, which is not guaranteed when using connections other than local. * Fix supervisorctl integration test. Use ansible_user_id instead of ansible_user since ansible_user is not guaranteed to be available when the connection is not local. * Fix file integration test. Use ansible_user_id instead of ansible_user since ansible_user is not guaranteed to be available when the connection is not local. * Fix expect integration test. Do not assume module_utils is available for utility scripts. * Fix python_requirements_info integration test. Check for pip instead of ansible, since ansible is not guaranteed to be installed when using a connection other than local. * Fix ansible-runner integration test. Use implicit localhost to run the test since it requires access to the ansible installation currently being tested. * Fix tower_common integration test. Accept errors on stdout or stderr. * Fix tower_user integration test. Recognize errors on stdout or stderr.
2019-06-26 03:39:41 +02:00
#!/usr/bin/env bash
set
-eux
Clean up various integration tests. (#60613) * Fix var_blending test temp dir usage. * Fix filters integration test: - Fix use of `output_dir`. - Use `localhost` instead of `testhost` since we're only testing filters. - Fix `fileglob` test to actually test a directory that exists. * Fix lookups integration test: - Fix use of `output_dir`. - Use `localhost` instead of `testhost` since we're only testing lookups. * Fix ansible-runner test temp dir usage. * Fix template and template_jinja2_latest test. Use the `OUTPUT_DIR` env var to get the output directory for the tests. * Fix Python version compat in filters test. * Skip filters test on Python 2.6.
2019-08-15 01:33:45 +02:00
ANSIBLE_ROLES_PATH
=
../ ansible-playbook test.yml -i inventory
"
$@
"
Reference in a new issue
Copy permalink