Jérôme Loyet
daca3ade99
Allow list of filters for the setup module ( #68551 )
...
The setup module can now filter out multiple pattern by providing a list
to the filter parameter instead of just a string. Single string sill
works. Previous behaviour remains.
(cherry picked from commit b5c36dac483fdd74d6c570d77cc8f3e396720366)
2020-09-09 20:40:48 +02:00
Alicia Cozine
b430f9b9aa
Adds FAQ and other pointers for collections ( #71606 )
2020-09-09 13:16:26 -04:00
esmersmith
a34043c6be
Changed all_modules references to list_of_collections in the documentation ( #71656 )
2020-09-09 11:43:40 -05:00
Zois Pagoulatos
1ad0f666d5
Fix typo in documentation ( #71652 )
...
Fix typo on the page about unit testing modules,
2020-09-09 11:41:43 -05:00
Toshio Kuratomi
9fcf1db871
Update the porting guide for 2.10.0b2 ( #71677 )
2020-09-09 08:37:56 -05:00
Matt Martz
61f6aa55b6
Add semver support to the jinja2 version test ( #71600 )
2020-09-08 08:52:27 -05:00
Jordan Borean
b615789fcc
psrp - fix hang when copying an empty file ( #71649 )
2020-09-05 14:57:15 +10:00
Toshio Kuratomi
4d4e75ee05
Update to the ansible-2.10.0 pre-release schedule ( #71647 )
2020-09-04 20:26:43 -05:00
Sandra McCann
bbd4ec13f1
clarify that collection names use same requirements as namespaces ( #71639 )
2020-09-04 14:37:44 -05:00
Sandra McCann
2f240f5dd7
Add note on where inventory scripts moved to' ( #71638 )
2020-09-04 14:35:08 -05:00
Matt Martz
48f12c14e9
AnsibleVaultEncryptedUnicode should be considered a string ( #71609 )
...
* AnsibleVaultEncryptedUnicode should be considered a string
* linting fix
* clog frag
2020-09-03 14:54:00 -05:00
Andrew Klychkov
7bfeed3e24
Docsite: replace Latin phrases to English ( #71588 )
...
Replace Latin phrases like "e.g." and "i.e." and "etc." with English phrases.
* Update docs/docsite/rst/community/committer_guidelines.rst
* Update docs/docsite/rst/dev_guide/developing_modules_documenting.rst
* Update docs/docsite/rst/dev_guide/developing_program_flow_modules.rst
* Update docs/docsite/rst/dev_guide/module_lifecycle.rst
* Update docs/docsite/rst/user_guide/intro_inventory.rst
* Update docs/docsite/rst/user_guide/playbooks_loops.rst
* Update docs/docsite/rst/user_guide/playbooks_reuse.rst
* Update docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst
* Update docs/docsite/rst/dev_guide/testing.rst
* Update docs/docsite/rst/dev_guide/testing_integration.rst
* Update docs/docsite/rst/porting_guides/porting_guide_2.5.rst
* Update docs/docsite/rst/reference_appendices/faq.rst
2020-09-03 14:47:57 -05:00
Matt Martz
0cf4aabc55
Ensure we clean up if an exception kills strategy.run. Fixes #23958 ( #71513 )
2020-09-03 15:09:08 -04:00
Andrew Klychkov
d398a4b4f0
file: module should warn in check_mode when path and owner/group don't exist ( #69640 )
...
* file: module must fail in check_mode when path and owner/group don't exist
2020-09-03 09:11:50 -04:00
Martin Krizek
a3b954e5c9
Force template module to use non-native Jinja2 ( #68560 )
...
Fixes #46169
2020-09-03 09:01:34 +02:00
Matt Clay
3d769f3a76
Add pause to avoid same mtime in test.
2020-09-02 15:35:08 -07:00
Matt Martz
db98433e7a
Use InventoryManager for inventory_hostnames lookup ( #71573 )
...
* Use InventoryManager for inventory_hostnames lookup. Fixes #17268
* Add test for using patterns
* s/it's/its/
* Allow bypassing parse_sources in InventoryManager
* Remove unneeded method call
2020-09-02 15:42:09 -05:00
Matt Martz
05788c05d3
Remove incidental_postgresql_user tests
2020-09-02 13:14:04 -07:00
Sandra McCann
b518a5db14
add skeleton ansible 2.11 roadmap ( #71566 )
...
* add skeleton ansible roadmap to docs/docsite/rst/roadmap/COLLECTIONS_2_11.rst
2020-09-02 13:48:53 -05:00
Alicia Cozine
96aee766f4
More docs updates to reflect collections ecosystem ( #71597 )
2020-09-02 13:50:12 -04:00
Sandra McCann
7f9258b024
update backport instructions for 2.11 ( #71567 )
...
* update backport instructions in docs/docsite/rst/community/development_process.rst
Co-authored-by: Matt Martz <matt@sivel.net>
2020-09-02 11:53:48 -05:00
Rick Elrod
64e2b9da3b
[yum tests] add missing "always" block ( #71564 )
...
Change:
- So that if yum tests get re-run, we don't error out the second time.
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-09-02 11:35:20 -05:00
Rick Elrod
db519bc17c
[tests] Bump container versions ( #71518 )
...
Change:
- This pulls in python 3.9.0rc1
Test Plan:
- CI, hopefully
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-09-02 11:20:55 -05:00
Andrew Klychkov
bfba0ffc45
Docsite: improve developing_modules_documenting.rst ( #71590 )
...
* Docsite: improve developing_modules_documenting.rst
* add necessary dots to returns descriptions
2020-09-02 09:26:42 -04:00
Andrew Klychkov
cda5854099
Docsite: improve spelling_word_choice.rst ( #71592 )
2020-09-02 09:24:53 -04:00
Toshio Kuratomi
1882c60b04
Update the porting guide for ansible-2.10.0b1 ( #71583 )
2020-09-01 18:47:51 -04:00
Rick Elrod
0c50ee1abe
[docs] Fix up porting guides for CVE revert ( #71580 )
...
Change:
- Fix up wording and do proper backports for porting guide entries.
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-09-01 17:25:58 -05:00
Matt Clay
98febab975
Use new endpoint for Parallels based instances.
2020-09-01 13:20:20 -07:00
Alicia Cozine
b694dbadfe
User guide overhaul, Table of Contents ( #71553 )
2020-09-01 12:29:21 -04:00
Alicia Cozine
29b20bd1b1
DOCS: Mentions ansible-base, adds collections pointers to Community and Dev Guides ( #71480 )
2020-09-01 12:25:37 -04:00
Andrew Klychkov
56423b1648
testing_sanity.rst: add argument for running in docker ( #71223 )
2020-09-01 12:00:13 -04:00
Tadej Borovšak
b9e2c4e37d
Add tests for ignore functionality of collection build ( #69345 )
...
In order to test this piece of functionality, we create a dedicated
collection that contains files that should be ignored when building
the collection tarball.
After the collection is built, we make sure the produced tarball does
not contain any files that should be ignored.
2020-09-01 11:51:35 -04:00
Abhijeet Kasurde
159544610e
get_url: Handle same SHA sum for downloaded files ( #71435 )
...
Fixes : #71420
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-09-01 09:55:08 -04:00
Rick Elrod
0f3b5bb4a6
[tests] fix fallout from dnf gpg fix ( #71548 )
...
Change:
- Missed needed gpg ignores
Test Plan:
- CI
- ci_complete
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-08-31 18:41:07 -05:00
Sam Doran
785012321f
Fix setup_paramiko test ( #71547 )
2020-08-31 15:39:41 -05:00
Sandra McCann
f75223d2c6
update install for 2.10 ( #71543 )
...
* update install for 2.10
2020-08-31 15:34:20 -05:00
Fabien Malfoy
215eb730e1
ansible-vault: Fix typo in help message ( #71485 )
2020-08-31 14:58:45 -05:00
Matt Deacalion
ec3920cef1
Update intro_patterns.rst ( #71542 )
...
Call out the trailing comma when specifying a single host. Small snag that took me a while to notice.
2020-08-31 14:49:18 -05:00
Amin Vakil
bc6461432e
Add --allow-disabled to sanity docs ( #71524 )
2020-08-31 10:46:03 -05:00
Rick Elrod
9bea33ffa3
[dnf] ensure packages are gpg-verified ( #71537 )
...
Change:
- By default the dnf API does not gpg-verify packages. This is a feature
that is executed in its CLI code. It never made it into Ansible's
usage of the API, so packages were previously not verified.
- This fixes CVE-2020-14365.
Test Plan:
- New integration tests
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-08-31 10:47:38 -04:00
Martin Krizek
d083307e36
Set global skipped result flag for looped tasks ( #67847 )
...
This allows for the skipped filter to be used on a registered looped
task results.
Fixes #16949
2020-08-28 08:01:26 +02:00
Matt Clay
2bbcbe99fd
Support macOS 10.15 for ansible-test --remote.
...
Use of this new version is experimental, so it is not enabled in CI yet.
2020-08-27 15:48:11 -07:00
Sandra McCann
d6fe849b2e
add skeleton 2.11 base roadmap ( #71478 )
2020-08-27 16:45:20 -05:00
Toshio Kuratomi
c586d436fa
Feature freeze date has been merged with Ansible-2.10.0beta1 ( #71494 )
2020-08-27 15:55:55 -04:00
Martin Krizek
fbdfb85c20
Remove duplicate unit test ( #71488 )
...
test_dict_undefined_values is a duplicate of test_dict_undefined_values_is_defined.
It seems originally test_dict_undefined_values was supposed
to do what test_dict_undefined_values_bare does so it is safe to remove.
2020-08-27 15:55:30 -04:00
Martin Krizek
50f221c63e
Fix incorrect msg in the results dict in loops ( #71482 )
2020-08-27 15:49:53 -04:00
Matt Martz
a1a624b150
Normalize how None is handled in quote filter. Fixes #32174 ( #71473 )
2020-08-27 15:42:56 -04:00
Sandra McCann
addee0699e
quick update to changelog instructins ( #71492 )
2020-08-27 11:05:35 -05:00
Timothy Visser
7127d37466
Remove "mode: preserve" option from documentation ( #71486 )
...
Remove "mode: preserve" option from documentation in doc fragments "FILE_COMMON_ARGUMENTS", as it was incorrectly included in the documentation for the `lineinfile`, `unarchive` and other file-related modules.
The `copy` and `templates` modules documentation remains untouched and still contain "mode: preserve", as intended.
2020-08-27 10:37:04 -05:00
Matt Martz
fdf5dd02b3
Updates for password hashing ( #71120 )
...
* Validate salt when using crypt. Respect salt_size in password lookup. Repair salt for bcrypt. Fixes #71107 . Fixes #53750 . Fixes #36129 .
* Handle algorithms we don't know about, and make sure to return the salt
* Account for old passlib
* Add tests for salt constraints
* Add changelog fragment
* Add test for #36129
2020-08-26 14:54:38 -05:00