John R Barker
a165c72073
feature_request: Component Name ( #73787 )
...
Typo in name results in Bot shouting
2021-03-04 17:06:00 +00:00
Rick Elrod
2d85c9de93
Some changelog fixes for 2.11 ( #73778 )
...
Signed-off-by: Rick Elrod <rick@elrod.me>
2021-03-03 16:26:59 -05:00
Brian Coca
42c3c51665
Set fact fixes ( #73684 )
...
* fixes to set_fact
correctly give error messages that were previously ignored
corrected and expanded docs
2021-03-03 16:23:56 -05:00
Brian Coca
ce1de28061
Fix notify on import_tasks ( #73572 )
...
* Fix notify on import_tasks
also able to apply to blocks now.
2021-03-03 16:11:09 -05:00
Brian Coca
935528e22e
finish migrating ssh plugin to config system ( #73708 )
...
* finish migrating ssh plugin to config system
fixes #72739
fixes #57220
* fix connection detection in reset
* correct options for connection meta reset
Co-authored-by: David Shrewsbury <Shrews@users.noreply.github.com>
2021-03-03 15:25:16 -05:00
Brian Coca
43300e2279
module output is only json objects ( #73765 )
...
* module output is only json objects
remove json lists as they are not valid from modules
fixes #73744
2021-03-03 15:11:18 -05:00
Brian Coca
527bff6b79
Don't fail for mixed typed keys ( #73726 )
...
* Don't fail for mixed typed keys
but warn that content cound not be sorted because of this
* added tests
2021-03-03 14:24:50 -05:00
Sandra McCann
6514027957
add base 2.10 to docs version switcher ( #73770 )
2021-03-03 13:06:11 -06:00
Brian Coca
2e0835b312
minor detection improvement on j2plugin loader ( #73714 )
...
* minor improvement on j2plugin loader, comments and var names clarified
2021-03-03 11:31:29 -05:00
Sviatoslav Sydorenko
fca85db56a
Convert markdown issue templates into issue forms ( #73751 )
...
* Convert markdown issue templates into issue forms
* Limit allowed issues to the form based ones
* Title-case the form field labels
Co-authored-by: John R Barker <john@johnrbarker.com>
* Remove CoC checkboxes from the forms
Co-authored-by: John R Barker <john@johnrbarker.com>
2021-03-03 11:53:33 +00:00
Rick Elrod
734c053562
Update Ansible release version to v2.11.0b1.post0. ( #73764 )
2021-03-02 17:33:56 -06:00
Rick Elrod
24d41180ea
New release v2.11.0b1 ( #73761 )
2021-03-02 15:16:50 -06:00
Matt Clay
f40dde44f4
Remove old ansible-test windows completion entries.
2021-03-02 10:48:03 -08:00
Matt Clay
b6add939ff
Remove outdated --docker and --remote entries.
2021-03-02 10:05:39 -08:00
Felix Fontein
c888705493
Add note on infoblox inventory script. ( #73676 )
2021-03-02 11:01:50 -06:00
Brian Williams
1f2f292290
Fix invalid yaml in collections_using.rst ( #73727 )
...
Fix invalid quoting.
2021-03-02 10:10:08 -05:00
Martin Krizek
158d28a254
.github/BOTMETA.yml: cleanup ( #73652 )
...
Remove anything that is not in ansible/ansible as issues/PRs
with those components will be auto-closed anyway.
2021-03-02 13:37:44 +01:00
Felix Fontein
3cc693b92c
Import test: improve docs, add more tests ( #73600 )
2021-03-01 16:10:46 -08:00
Matt Martz
ba3f84883f
Reduce complexity of Templar._lookup slightly ( #73277 )
...
* A little more complexity reduction
* restore logic
* Readability
* Add ran check back
* Add clog
2021-03-01 16:11:54 -05:00
Matt Martz
949b2cc74c
Update CI URL in setup.py ( #73750 )
...
* Update CI URL in setup.py
* AZP
2021-03-01 14:20:10 -06:00
Abhijeet Kasurde
6cb324bb0e
selinux: return selinux_getpolicytype facts ( #73609 )
...
* selinux: return selinux_getpolicytype facts
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* add basic selinux facts tests
* fix selinux facts test when selinux missing
Co-authored-by: Matt Davis <mrd@redhat.com>
2021-03-01 11:11:09 -08:00
ylmrx
e7e3c12ad2
Fixes for ansible-console usability ( #73665 )
...
- Fix Ctrl+C/D behavior (#68529 )
- correct few typos and missing infos
- Fixes doc (#72195 )
2021-03-01 14:04:59 -05:00
Matt Davis
d0e991e892
Clarify CLI version number as core version ( #72287 )
...
* clarify CLI version number as core version
* reduce confusion with `ansible` PyPI package >= 2.10 drifting from core version
* fix units
2021-03-01 11:14:56 -06:00
Alexei Znamensky
920b68f5f2
Fixed/improved regular expresssion for collection names ( #73577 )
...
* added changelog fragment
* added a couple of tests to coll name validation
2021-03-01 10:40:38 -05:00
Alexander Sowitzki
e804fccf1c
Let file module not change link to absolute when src not given ( #65448 )
...
The file module changes existing sym links from relative to absolute
if the src is not stated in the tasks since it uses `os.path.realpath`
to fetch the link source and not `os.readlink`. Changed that.
2021-03-01 15:14:03 +01:00
Ikko Ashimine
176beddb3f
Fix typo in incidental.py ( #73737 )
...
successfull -> successful
2021-03-01 17:37:58 +05:30
Rick Elrod
17fabd8b45
[changelog config] Ansible Base -> ansible-core ( #73739 )
...
Signed-off-by: Rick Elrod <rick@elrod.me>
2021-02-27 21:51:11 -06:00
Sam Doran
2377a0a776
Improve ArgumentSpecValidator unit tests ( #73642 )
...
* Add more scenarios to basic valid testing
* Update invalid tests
* Fix test for Python 2
* Condense data
* Add tests for missing required and invalid-elements
* Update aliases tests
* Add invalid scenarios for aliases
* Add tests for _add_error() method
* Fix sanity test failure
2021-02-26 09:30:16 -05:00
Brian Coca
91b42d62fa
another useful example ( #73728 )
2021-02-25 16:11:16 -06:00
Brian Coca
9690512069
Pipe it to connections ( #73688 )
...
* pipelining tweaks
added 'defaults' entry for ini pipelining from ssh plugin
2021-02-25 15:08:11 -05:00
Sloane Hertel
8628c12f30
find module - stop traversing directories with os.walk when depth is already exceeded ( #73718 )
2021-02-26 05:32:49 +10:00
Matt Martz
950ab74758
Normalize ConfigParser between Python2 and Python3 ( #73715 )
...
* Normalize config parser between py2 and py3
* Add tests and changelog
* Use different config entry, since we supply certain env vars
2021-02-25 11:03:03 -06:00
manas-init
eb72c36a71
galaxy: Handle ignored directory names in role skeleton ( #72035 )
...
* galaxy: restore left hand slicing in assignment
Fix 'ansible-galaxy role init --role-skeleton=role-skeleton' when the role skeleton
contains an ignored directory.
The issue was because the 'dirs' variable was changed to reference a different list,
but needs to be mutated instead to stop os.walk from traversing ignored directories.
Fixes : #71977
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-02-24 18:52:24 -05:00
Brian Coca
dabfee4d5c
commented function ( #73625 )
2021-02-24 01:20:47 -05:00
Alicia Cozine
29d3951464
Docs: Adds banner for core/package split ( #73552 )
...
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
2021-02-23 15:54:17 -05:00
Sandra McCann
f4eab92aa0
fix core version switcher ( #73704 )
2021-02-23 14:12:54 -06:00
Matt Martz
11f1177e6c
Operate pexpect with bytes to limit encoding issues ( #73255 )
...
* Operate pexpect with bytes to limit encoding issues
* Update tests to ensure no pepxect encoding issues
* Add changelog fragment
* Add multiline note
* Use rst formatting directly
2021-02-23 18:57:25 +01:00
Abhijeet Kasurde
4b347415fa
inventory: misc typo fixes ( #73695 )
...
* Misc typo fixes
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-02-23 10:42:20 -05:00
Sam Doran
3ab52f2965
Disable junit callback on roles_arg_spec_tests ( #73663 )
...
This prevents the role arg spec validation tasks from showing up as failure
in the CI output.
2021-02-23 10:21:28 -05:00
Sviatoslav Sydorenko
c22bc46cb9
Mention ansible-core
@ "Release and maintenance" ( #73612 )
2021-02-22 19:07:25 -06:00
Viktor Ekholm
b28abdfbdb
Fixed typo in vault documentation ( #73666 )
...
Example variable was named `my_encrytped_var`. Renamed it to `my_encrypted_var`.
2021-02-22 19:03:23 -06:00
Rick Elrod
fa046d302c
[InventoryManager] Fix two unhandled exceptions ( #73667 )
...
Change:
- Fix regression: unhandled exception when given inventory directory
is empty or contains empty subdirectories.
- Fix unhandled exception when limit file is actually a directory
instead of a file.
- Fix inventory tests which previously could never fail due to missing
`set -e`. Fixed up tests that failed after `set -e` was added. Added
several tests.
Test Plan:
- New tests
- Fixed existing tests which previously could never fail
Tickets:
- Fixes #73658
Signed-off-by: Rick Elrod <rick@elrod.me>
2021-02-22 16:18:23 -05:00
Syed Ali Haider
5078a0baa2
Minor Doc Update to password.py ( #73468 )
...
Adds in the caveat that Python's string modules have different constants depending on the major version (2.x vs 3.x), but preserves the fact that a fair amount of them are common. Other minor docs touchups also included.
2021-02-18 17:22:16 -06:00
David Shrewsbury
c8ee186e11
Remove warning about role validation with deps ( #73653 )
...
* Remove warning about role validation with deps
* add changelog
* update cl
2021-02-18 17:16:03 -06:00
Jens Heinrich
1a14996025
Replace reference to playbook_environment ( #73633 )
...
Use the new anchor syntax
2021-02-18 17:07:23 -06:00
Willams de Lima
fa05af8321
Fixing ad-hoc commands #73636 ( #73646 )
2021-02-18 16:48:22 -06:00
Felix Fontein
b6566d26df
pylint sanity test: stop ignoring 'used-before-assignment' ( #73639 )
...
* Remove pylint ignore 'used-before-assignment'.
* Adjust changelog fragment.
2021-02-18 12:36:28 -08:00
Toshio Kuratomi
89ed2353e0
Update the porting guide for a new ansible version ( #73650 )
...
* Update the porting guide for a new ansible version
* Add a link to the changelog to the ansible-3 porting guide
2021-02-18 12:38:56 -05:00
Andrew Klychkov
010afe0b2d
azure-pipelines: remove ubuntu1604
2021-02-18 08:58:02 -08:00
Aaron Guise
ac0dedda72
hostname - add Almalinux support ( #73619 )
2021-02-18 10:24:36 -05:00