summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ansible (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate plural collections_paths option (#81063)Jordan Borean2023-06-222-3/+3
| | | | | * Deprecate plural collections_paths option * Fix test assumption
* Fix calling v2_playbook_on_notify callback (#80585)Martin Krizek2023-04-243-25/+2
| | | Co-authored-by: Matt Martz <matt@sivel.net>
* Add missing space after keywords. (#78480)Matt Clay2022-08-081-1/+1
| | | Also remove unnecessary parenthesis.
* Re-organize CI test groups for POSIX tests. (#77420)Matt Clay2022-08-041-1/+1
| | | | | | * `context/target` tests must be in groups 1 - 2. * `context/controller` tests must be in groups 3 - 5. This makes it easier to efficiently organize groups and balance test runtimes.
* ansible-test - split controller/target testing (#75605)Matt Clay2021-09-211-1/+1
|
* [controller ansiballz] escape directory regex (#74270)Rick Elrod2021-04-162-0/+19
| | | | | | | | | | | | Change: - We were passing a directory name directly to re.compile(). If the directory isn't valid regex (or is) this can have odd side effects, such as crashing. - Fix a few other similar cases, but less likely to be a real issue. Test Plan: - New test Signed-off-by: Rick Elrod <rick@elrod.me>
* ansible-doc role arg spec support (#72120)David Shrewsbury2020-11-172-4/+4
| | | | | | | | | | | | * Support listing roles in text and JSON * Change tests for unfrack'd playbook_dir var These tests were using '/tmp' for testing the setting of the playbook_dir var. Now that we unfrack that var, MacOS will change this to '/private/tmp' causing the tests to fail. We can choose a path that does not exist (since unfrack does not validate existence) so that we can guarantee unfracking will not change the value.
* Make it so callback plugins can act on implicit/explicit meta tasks (#71009)Rick Elrod2020-08-183-0/+38
| | | | | | | | | | | | | Change: - Now sends meta tasks to the task start callback - Lets callback plugins opt-in to receiving implicit tasks Test Plan: - New integration tests Tickets: - Indirectly fixes #71007 by allowing custom callbacks with this data Signed-off-by: Rick Elrod <rick@elrod.me>
* Add collection path in CLI version info (#68633)Abhijeet Kasurde2020-06-252-0/+7
| | | | | This will provide user default path of collection Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* adhoc: Load callbacks before sending v2_playbook_on_start (#67673)flowerysong2020-02-253-0/+39
|
* Testing: Add support for AIX platform (#65802)Yanis Guenane2020-01-301-0/+1
|
* vars: Fail with warning for extra_vars filename without @ sign (#59915)Abhijeet Kasurde2019-12-193-0/+20
| | | | | | | | Rather than silently processing extra_vars filename without @ sign, CLI now fails with appropriate warning about requirement. Fixes: #51857 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* fix default collection resolution in adhoc (#63298)Matt Davis2019-10-101-1/+1
| | | | | | | | | | | | | | * fix default collection resolution in adhoc * if an adhoc command is run with a playbook-dir under a configured collection, default collection resolution is used to resolve unqualified module/action names * Set ANSIBLE_PLAYBOOK_DIR in integration tests. * Fix config conflict in ansible integration test. * add adhoc default collection test * text-ify warning string
* add ANSIBLE_PLAYBOOK_DIR envvar support (#63220)Matt Davis2019-10-092-0/+11
| | | | | | | | | | | * add ANSIBLE_PLAYBOOK_DIR envvar support * allows `ANSIBLE_PLAYBOOK_DIR` envvar as a fallback on CLI types that support `--playbook-dir`. This should have been implemented with #59464, but was missed due to an oversight. * added basic integration test * make first-class PLAYBOOK_DIR config entry * update changelog
* fixes to config manager (#58530)Brian Coca2019-07-172-1/+3
| | | | | | | | | * skip unreadable ansible.cfg * all types should check for type * patch access for tests and fix tests that relied on missing files not being checked
* Use atexit to cleanup tmp dirs (#56532)Sam Doran2019-06-281-2/+23
| | | | | | * Wrap everything in try/except to avoid leaving files behind * Add unit tests, integration tests, and changelog * Do text the correct way
* Migrate command line parsing to argparse (#50610)Matt Martz2019-04-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start of migration to argparse * various fixes and improvements * Linting fixes * Test fixes * Fix vault_password_files * Add PrependAction for argparse * A bunch of additional tweak/fixes * Fix ansible-config tests * Fix man page generation * linting fix * More adhoc pattern fixes * Add changelog fragment * Add support for argcomplete * Enable argcomplete global completion * Rename PrependAction to PrependListAction to better describe what it does * Add documentation for installing and configuring argcomplete * Address rebase issues * Fix display encoding for vault * Fix line length * Address rebase issues * Handle rebase issues * Use mutually exclusive group instead of handling manually * Fix rebase issues * Address rebase issue * Update version added for argcomplete support * -e must be given a value * ci_complete
* Add shippable/posix/group4/ for CI. (#53816)Matt Clay2019-03-151-1/+1
|
* Update Shippable integration test groups. (#43118)Matt Clay2018-07-241-1/+1
| | | | | | | * Update Shippable integration test groups. * Update integration test group aliases. * Rebalance AWS and Azure tests with extra group. * Rebalance Windows tests with another group.
* ansible-config: add simple tests (#34900)Pilou2018-01-172-1/+11
| | | | | | | | | | | | * Revert "Fix ansible-config with python3 (#34673)" This reverts commit 2a9daaa45b0252cd935c48b5d0ab4b581aa16e32. * ansible-config: add simple tests * Fix ansible-config with python3 * ansible-test: don't quote "unusual" characters
* Miscellaneous bug fixes for ansible-test.Matt Clay2017-05-121-8/+4
| | | | | | | | | - Overhauled coverage injector to fix issues with non-local tests. - Updated integration tests to work with the new coverage injector. - Fix concurrency issue by using random temp files for delegation. - Fix handling of coverage files from root user. - Fix handling of coverage files without arcs. - Make sure temp copy of injector is world readable and executable.
* Initial ansible-test implementation. (#18556)Matt Clay2016-11-301-0/+1
|
* Move ansible ad-hoc tests to integration targets.Matt Clay2016-11-111-0/+13