summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New release v2.12.0b1v2.12.0b1Dimitri Savineau2021-09-274-2/+1482
|
* attribs last PR for now ... i hope (#75778)Brian Coca2021-09-2433-48/+425
| | | | | | | | | | | | | | | | | | | | | | | | | * attribs last PR for now ... i hope * thatsallfolks! * fixes * Update lib/ansible/modules/template.py Co-authored-by: Matt Martz <matt@sivel.net> * Update lib/ansible/modules/validate_argument_spec.py Co-authored-by: Matt Martz <matt@sivel.net> * moar fixes * asldf * missing import * iswearihadaddedthese Co-authored-by: Matt Martz <matt@sivel.net>
* Fix lineinfile test (#75785)Brian Coca2021-09-244-143/+144
| | | | | * fix remote test after controller split * other files had it too!
* ansible-test - More PEP 484 type hints.Matt Clay2021-09-2411-457/+256
|
* updated ansible.cfg to guide stray link devel link (#75782)Brian Coca2021-09-241-1/+7
| | | * updated ansible.cfg to guide stray link devel link
* ansible-test - Update default containers.Matt Clay2021-09-242-3/+3
|
* Revert "Compile role with parents in the task's dependency chain (#75165)" ↵Sloane Hertel2021-09-2415-49/+5
| | | | | (#75779) This reverts commit 440cf15aeb134e7df3969d4481dbe027358d74db.
* ansible-test - Warn about stale sanity venvs.Matt Clay2021-09-241-0/+11
|
* ansible-test - More PEP 484 type hints.Matt Clay2021-09-248-339/+164
|
* ad-hoc: add documentation about pattern (#73303)Abhijeet Kasurde2021-09-242-0/+36
| | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Changed to file instead path for touch choice in state parameter docs (#75282)Rafael Minguillón Sánchez2021-09-241-1/+1
|
* clarify order (#75338)Brian Coca2021-09-241-4/+7
|
* using FQCN also for ansible.builtin collection (#75644)Jonas I. Liechti2021-09-241-17/+17
|
* added section about parallelism to delegation (#74158)Brian Coca2021-09-241-0/+20
|
* correct dedupe scope (#75422)Brian Coca2021-09-241-3/+4
|
* docs - add some info on plugin option source precedence (#75754)Brian Scholer2021-09-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | * docs - add some info on plugin option source precedence ##### SUMMARY Add some clarity on precedence, especially from sources of the same type. ##### ISSUE TYPE - Docs Pull Request +label: docsite_pr * update RST formatting * Update docs/docsite/rst/dev_guide/developing_plugins.rst Apply review suggestions Co-authored-by: Aine Riordan <44700011+ariordan-redhat@users.noreply.github.com> Co-authored-by: Aine Riordan <44700011+ariordan-redhat@users.noreply.github.com>
* Add note about `loop_control.extended` memory impact (#75759)Matt Martz2021-09-241-0/+2
| | | | | * Add note about `loop_control.extended` memory impact * moar correct
* Update roadmap to indicate branching happens at feature freeze (#75777)Matt Martz2021-09-241-2/+2
|
* Update ansible porting guide for 4.6.0 release. (#75752)Toshio Kuratomi2021-09-241-4/+29
|
* ansible-test - Code cleanup. (#75774)Matt Clay2021-09-2417-317/+130
| | | | * ansible-test - Remove unused code. * ansible-test - More PEP 484 type hints.
* ansible-test - Fix code coverage reporting. (#75771)Matt Clay2021-09-235-8/+12
|
* Fix up validate-modules sanity check for PowerShell - ci_completeJordan Borean2021-09-231-1/+1
|
* ansible-test - Add minimum constraints for pytest.Matt Clay2021-09-233-3/+11
| | | | Use `--strict` for `pytest` on Python 2.6 since `--strict-markers` is not available.
* PowerShell - Support optional module util imports (#75187)Jordan Borean2021-09-239-14/+141
|
* ansible-test - Add `--prime-containers` option.Matt Clay2021-09-2312-4/+55
| | | | | | | Resolves https://github.com/ansible/ansible/issues/75320 The option `--prime-containers` was chosen over `--docker-pull-only` to match the recently added `--prime-venvs` option for sanity tests. It would also fit well with a future `--prime-requirements` option for pre-installing requirements for unit and integration tests.
* ansible-test - Remove unused constraints.Matt Clay2021-09-232-16/+2
| | | | ci_complete
* attributes: support extra value 'not applicable' for support (#75751)Felix Fontein2021-09-231-1/+1
| | | | | | | * Support two extra values 'unknown' and 'not applicable' for support. * Simplify to only one new state: 'n/a' * Adhere to the IBM style guide.
* Add attributes 2/x (#75619)Brian Coca2021-09-2340-200/+614
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added attribute information to more modules rearranged the shared data platform revamped use 'details' and avoid overriding description Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_core.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_core.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_core.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_core.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_core.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/fail.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/debug.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/command.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/assert.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_core.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/gather_facts.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/include_vars.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/meta.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/meta.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_common_attributes.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_common_attributes.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_common_attributes.py Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de>
* Add constraints to prepare_http_tests target.Matt Clay2021-09-231-1/+3
|
* ansible-test - Update distro test containers. (#75762)Matt Clay2021-09-222-10/+12
|
* ansible-test - Create injector scripts at runtime. (#75761)Matt Clay2021-09-2226-53/+120
| | | | | | | * ansible-test - Create injector scripts at runtime. * Set bootstrap.sh shebang at runtime. * Remove shebang and execute bit from importer. * Update shebang sanity test. * Preserve line numbers.
* Compile role with parents in the task's dependency chain (#75165)Sloane Hertel2021-09-2215-5/+49
| | | | | | | | | * Use the task dependency chain to compile the role instead of the parent role's _parents list * keep existing role inheritance, but limit it to roles in the current task dependency chain * Test getting role parents recursively by using the current task dependency chain * changelog
* ansible-test - Update default containers.Matt Clay2021-09-222-2/+4
| | | | ci_complete
* Update vendored copy of distro to 1.6.0 (#75732)Matt Martz2021-09-226-178/+286
| | | | | | | * Update vendored copy of distro to 1.6.0 * copy pasta mistake * ci_complete
* ansible-galaxy role install: download from API response location (#73114)Ross Bender2021-09-223-2/+160
| | | | | | | | | * download role from api response location * include changelog fragment * add unit test for role download url Co-authored-by: Sam Doran <sdoran@redhat.com>
* use passlib default if `password_hash` option isn't set (#75043)Thomas Sjögren2021-09-215-14/+16
| | | | | * add changelog fragment * password_hash|length == 120 * mention the new default bcrypt format in the porting guide
* ansible-galaxy: Clone git collections using shallow clones (#75722)Sloane Hertel2021-09-213-2/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ansible-galaxy: Clone git collections using shallow clones This ensures the collection obtained via git url is a result of a shallow git clone (git clone --depth=1). The git history of the collection is not used by ansible, and as such, cloning the entire history of the repo is unnecessary. Signed-off-by: Tomas Babej <tomas@tbabej.com> * ansible-galaxy: Only perform shallow clones on non-versioned git urls In general, the version can be anything we can checkout (branch, tag, but also a commit hash). In particular for commit hashes we cannot perform a shallow clone. Err on the safe side and only perform shallow clones for non-versioned git urls (cloning HEAD). * galaxy-install: Make shallow cloning compatible with older Python versions Signed-off-by: Tomas Babej <tomas@tbabej.com> * Pass args as a tuple Add tests for the git command created from different repo and version combinations * changelog Co-authored-by: Tomas Babej <tomas@tbabej.com>
* Python 3.8 Controller Minimum (#74013)Matt Martz2021-09-2117-164/+56
|
* Re-enable old_style_cache_plugin test target (#75748)Sloane Hertel2021-09-219-63/+367
| | | Fix tests for cache plugins written before ConfigManager
* ansible-test - Remove deprecated environments.Matt Clay2021-09-213-3/+3
|
* ansible-test - Add `--prime-venvs` option.Matt Clay2021-09-216-7/+32
|
* ansible-test - Add support for windows/2022 (#75743)Matt Clay2021-09-213-0/+5
| | | ci_complete
* ansible-test - split controller/target testing (#75605)Matt Clay2021-09-20517-6683/+12977
|
* Add an `undef` global Jinja function (#75435)Daniel Goldman2021-09-208-4/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add tests for fail filter also tests that fail does not block inspectability * add fail filter fallback message is a bit clunky, since you can't invoke a filter without specifying an input. That is, "{{ fail }}" doesn't work, so you have to do "{{ None | fail }}" * document 'fail' filter * add changelog fragment * fail filter uses default message on Undefined or emptystring makes it slightly easier to use the default message: ```diff - "{{ None | fail }}" + "{{ '' | fail }}" ``` and the user sees a slightly more relevant message if the message itself is undefined: ```diff - The error was: {{ failmsg | fail }}: 'failmsg' is undefined + The error was: {{ failmsg | fail }}: Mandatory variable has not been overridden ``` * rebuild as the builtin `Undefined` * harmonise `hint` parameter for make_undefined with jinja * use code block for documentation item [ref](https://github.com/ansible/ansible/pull/75435#discussion_r707661035) * rename to `undef` to expose less Python into the Jinja [ref](https://github.com/ansible/ansible/pull/75435#pullrequestreview-757799031) * explicitly instantiate undefined value now that it's possible see I knew we would break something with reflection * preserve test coverage of undefined variable Co-authored-by: Matt Davis <nitzmahone@users.noreply.github.com>
* facts: Add uptime fact for FreeBSD and Darwin (#75432)zorun2021-09-202-0/+55
| | | | | | | | | This is a bit more complicated than on OpenBSD/NetBSD. The code is inspired in part from https://github.com/Cairnarvon/uptime Tested on the GCC compile farm: https://cfarm.tetaneutral.net/ Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
* Remove (only) user-facing use of ANSIBLE_ASYNC_DIR (#74249)Rick Elrod2021-09-176-62/+18
| | | | | | | | | | | | | | | | Change: - Remove only user-facing use of ANSIBLE_ASYNC_DIR. - Remove two comments saying to change things that, apparently, we aren't going to change... Test Plan: - ci_complete Tickets: - Fixes #74139 - Fixes #74138 - Refs #74226 Signed-off-by: Rick Elrod <rick@elrod.me>
* Enable ansible-galaxy to specify client id override with Keycloak Token (#75601)Chris Hambridge2021-09-175-5/+64
| | | | | | | | | | | | | * Enable ansible-galaxy to specify client id override with Keycloak Token * Specify ability to provide override of client_id * Test client_id can be configured for individual servers * Add issue link to changelog * Document client_id as a config option and add an example Co-authored-by: s-hertel <19572925+s-hertel@users.noreply.github.com>
* Integration test and sanity index generation fixes. (#75731)Matt Clay2021-09-173-7/+9
| | | | | | | | | | * Fix test usage of `which python`. Also use `command -v` instead of `which` where needed. * Fix testing_formatter.sh file checking. The index is longer expected to exist when generating it. The generation script is run with `set -eux`.
* Ignore support code in update-bundled test.Matt Clay2021-09-171-0/+3
|
* Document diff mode support for apt_repository and cron (#75709)Sloane Hertel2021-09-172-0/+4
|