| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The variable ansible_play_hosts actually does _not_ includes failed or unreachable hosts.
+label: docsite_pr
|
|
|
| |
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
|
| |
|
|
|
|
|
| |
fixes #51025
added test cases
|
| |
|
|
|
|
|
|
|
|
|
|
| |
##### SUMMARY
Added `[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12` to the Powershell scripts that use a file download. If not specified the script won't be allowed to download data from the mentioned URL's.
##### ISSUE TYPE
- Docs Pull Request
+label: docsite_pr
|
|
|
|
|
|
|
| |
* Allow restricting config values to enumerated list
* dont document internal entries
* also ignore private defs for ansible-config
* remove invalid value from tests
* added porting entry
|
|
|
|
| |
* update rstceck and sphinx versions in contraints
* fix test error
|
|
|
| |
Signed-off-by: Adam Miller <admiller@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
##### SUMMARY
<!--- Your description here -->
single_list must be transformed to a list of pairs before feeding it into dict()
##### ISSUE TYPE
- Docs Pull Request
+label: docsite_pr
|
|
|
| |
It should be plural to match other options and environment variables.
|
|
|
|
| |
collection verify' (#73229)
|
|
|
|
| |
messages (#73059)
|
| |
|
|
|
|
|
|
|
|
| |
When the pause module is run in the background and seconds parameter is provided,
do not warn.
* Add tests
* Fix existing tests
The test wasn't failing when it should have.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change:
- On CentOS Stream, make distribution_release be "Stream"
- On CentOS Core, it continues to be "Core"
- Implement custom distribution file parser for CentOS, so we can look
for "CentOS Linux" and "CentOS Stream"
- Two new fixtures introduced (CentOS Linux 8.1 and CentOS Stream 8)
- Removed two dicts from `Distribution` class that were seemingly not
used anywhere.
Test Plan:
- ci_complete
- New test fixtures
Tickets:
- Fixes #73027
Signed-off-by: Rick Elrod <rick@elrod.me>
|
| |
|
|
|
|
|
|
|
|
|
| |
The test currently only expects the literal `ansible` followed
by a semver in the first output line of `ansible --version`.
When running from within a git checkout, additional information
like the currently checkout branch are attached, which lets
the test fail. This commit allows arbitrary information to
follow the semver.
|
|
|
|
|
|
|
|
|
| |
`test_prepare_multipart` fails in non Debian environments since
Debian installations map the file ending `.key` to the MIME type
`application/pgp-keys`, which is not IANA conformant. This commit
explicitly sets the corresponding file type to
`application/octet-stream` and adjusts the expected serialized
result.
|
|
|
|
| |
avoided. (#73171)
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove unused code in ansible-test.
* Remove obsolete endpoint logic from ansible-test.
* Remove obsolete region selection in ansible-test.
* Remove obsolete port logic in ansible-test.
* Clean up ansible-test remote providers.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Closes: https://github.com/ansible/ansible/issues/72429
Co-authored-by: Brad Solomon <brsolomon@deloitte.com>
|
|
|
|
|
| |
* Fix connection_paramiko_ssh test for macOS 11
* Update Azure Pipelines config
* Add changelog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do the right thing on Linux when password lock and a password hash are provided by writing
out the password hash prepended by the appropriate lock string rather than using -U and -L.
This is the correct way to set and lock the account in one command.
On BSD, run separate commands as appropriate since locking and setting the password cannot
be done in a single action.
FreeBSD requires running several commands to get the account in the desired state. As a result,
the rc, output, and error from all commands need to be combined and evaluated so an accurate
and complete summary can be given at the end of module execution.
* Improve integration tests to cover this scenario.
* Break up user integration tests into smaller files
* Properly lock account when creating a new account and password is supplied
* Simplify rc collection in FreeBSD class
Since the _handle_lock() method was added, the rc would be set to None, which could make
task change reporting incorrect. My first attempt to solve this used a set and was a bit too
complicated. Simplify it my comparing the rc from _handle_lock() and the current value of rc.
* Improve the Linux password hash and locking behavior
If password lock and hash are provided, set the hash and lock the account by using a password
hash since -L cannot be used with -p.
* Ensure -U and -L are not combined with -p since they are mutually exclusive to usermod.
* Clarify password_lock behavior.
|
|
|
| |
Co-authored-by: Andrew Klychkov <andrew.klychkov@gmail.com>
|
|
|
| |
Fix typo - FQCN not FCQN.
|
|
|
|
|
|
|
|
| |
* Update lib/ansible/modules/apt_repository.py
* Remove unnecessary ignored sanity tests
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>
Co-authored-by: Amin Vakil <info@aminvakil.com>
|
|
|
|
| |
Adds a note pointing to the datetime documentation as to_datetime does not use the time library but instead uses datetime.
Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>
|
|
|
|
| |
This change references the suggested workaround in #25414.
Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
| |
Tests should use the Python built-in ``venv`` module on Python 3 instead of the standalone ``virtualenv`` module.
On Python 2 the ``virtualenv`` module continues to be the only option.
The version installed is either the OS packaged version or the last release to support Python 2, which is version 16.7.10.
|
|
|
|
|
|
|
| |
The old example failed with:
fatal: [localhost]: FAILED! => {"msg": "to count backwards make stride negative"}
I fixed this and placed a start parameter to consolidate with the rest of the examples provided.
Co-authored-by: Jorge Rua <jorua@redhat.com>
|
| |
|
| |
|
|
|
|
|
|
| |
The standard Port for ansible winrm is set to 5986/HTTPS.
To be able to use Kerberos, you need to set ansible_port: 5985/HTTP otherwiese you get error message or timeout.
HTTPS is not needed for environments with Kerberos, since kerberos has server identification built in to the protocoll.
FYI: HTTP traffic will by default also be encrypted when using kerberos
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change:
- Internally, use dnf.subject.Subject#get_best_query for state: absent
- Add a bunch of tests for removing packages, given a bunch of different
pkg specs (nv, nvr, nvra, wildcard, etc.)
Test Plan:
- New tests
- Local experiments with DNF API via PDB.
Tickets:
- Fixes #72809
Signed-off-by: Rick Elrod <rick@elrod.me>
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
Fixes: #45475
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
|
|
|
|
| |
Co-authored-by: Rick Elrod <rick@elrod.me>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change:
- Changes to make F33 work with current tests
- Add F33 to docker.txt
- Add F33 to AZP config
Test Plan:
- ci_complete
Signed-off-by: Rick Elrod <rick@elrod.me>
|
| |
|