Rick Elrod
ef554d0378
[playbook] error on empty, error on 'include' (remove two deprecations) ( #74172 )
...
Change:
- Remove two deprecated features
- We now error if a playbook is an empty list instead of just skipping
- We now error if using 'include' instead of 'import_playbook'
Test Plan:
- Added new tests for new errors
Tickets:
- Fixes #74133
Signed-off-by: Rick Elrod <rick@elrod.me>
* sanity & changelog
Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
Matt Clay
becf941673
Add PyPI proxy container for tests on Python 2.6.
4 years ago
Rick Elrod
d7df8a4484
[cron] Remove deprecated features ( #74197 )
...
Change:
- Require name always
- Drop 'reboot' parameter in favor of 'special_time: reboot'
Test Plan:
- CI
Tickets:
- fixes #74132
Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
David Shrewsbury
d5ce6e6bed
Increase test coverage for command module ( #74183 )
4 years ago
Brian Coca
b07a78b4ba
remove deprecated connection password functions ( #74155 )
...
* they were moved from connecitons to become plugins
* fixed clog, removed sanity ignore
* fixed tests to use become functions
4 years ago
Brian Coca
45ab6fddf3
removed task parameters ( #74154 )
...
* fixed clog
* removed ignore
* fix typose
* removed ignore
4 years ago
Sandra McCann
7443e9d659
pin docutils to 0.16 until theme problem is fixed ( #74193 )
4 years ago
Sam Doran
4df9ea86c2
ansible-test - change diff mathching regexp so prefixes are optional
...
The `a/` and `b/` prefixes can be disabled in the `git diff` output by setting
`diff.noprefix` to `true`. The output is still a valid diff, but `ansible-test` would
raise an exception since without the prefixes, it thought the diff line was invalid.
4 years ago
Sam Doran
7b79b69369
ansible-test - ensure trailing separator is added for connection unit test target ( #74176 )
...
For connection units tests, if the `__init__.py` file is modified, the trailing separator was
not added, making the target invalid.
4 years ago
Matt Clay
459ea5a4a4
Update test containers in ansible-test. ( #74166 )
...
* Update distro test containers to version 2.0.2.
* Update the default test containers.
4 years ago
Matt Martz
09c8faca9f
Add 2.12 roadmap ( #74000 )
4 years ago
Deric Crago
653a96dcea
renamed: ansible-base.{dirs,install} -> ansible-core.{dirs,install} ( #74159 )
4 years ago
Martin Krizek
96f94c0fef
Use a file-like obj for stdout/stderr for deadlock workaround ( #74156 )
...
Fixes #74149
4 years ago
David Shrewsbury
d1842afd59
ansible-inventory - add coverage tests ( #74130 )
4 years ago
David Shrewsbury
1cacf933b7
lineinfile - improve test coverage ( #74122 )
4 years ago
Sviatoslav Sydorenko
ecd69ed36e
Use `render` for code blocks in issue forms
4 years ago
Alicia Cozine
05662fd2ab
Docs: clarify role docs - vars vs params, dependencies ( #74104 )
4 years ago
Sviatoslav Sydorenko
282dd1bbc7
Drop deprecated `issue_body` from issue forms
...
This change removes the deprecated attribute and also adds an explicit
textarea at the end of the docs report form to replace it.
4 years ago
Sviatoslav Sydorenko
0dd2327bca
Add CoC checkboxes to the issue forms
4 years ago
Rick Elrod
3a74f7ea22
prep for 2.12 version bump ( #74126 )
...
* prep for 2.12
* Add 2.12 deprecations and sort ignore.txt list.
Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
Matt Clay
f436058fad
Add ansible-test constraint for decorator.
4 years ago
Rick Elrod
1c1734d32c
Fix 2.11 changelog ancestor, missed at 2.10 branching ( #74123 )
...
Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
Matt Martz
33185c29ab
Implement workaround for stdout deadlock in multiprocessing shutdown ( #74099 )
4 years ago
Matt Clay
4e2da0f894
Add ansible-test six constraint for Python 2.6.
4 years ago
Hunter Lannon
c0a8ed1e35
Fixed link to win_package module ( #74090 )
4 years ago
Brian Coca
f9f839fa08
Fix debug factsetter ( #74067 )
...
* prevent debug from setting namespaced facts as tlv
* also added tests
4 years ago
Toshio Kuratomi
112a7718c6
Porting guide update for ansible-4.0 alpha3 ( #74075 )
4 years ago
Matt Clay
b75844af45
Fix ansible-test coverage exporting.
...
ci_complete
ci_coverage
4 years ago
Amin Vakil
846c2d1ed3
Fix comment in iptables unit test ( #74061 )
4 years ago
Toshio Kuratomi
47ffa27416
Update the porting guide for a new ansible version ( #74073 )
4 years ago
chemsaf3
381bd1a575
import openbsd patches ( #74056 )
...
* add openbsd service info
* Create openbsd-service.yml
* Update var name
4 years ago
Baptiste Mille-Mathias
6b33864a2c
Clarify tags on tasks are applied with OR and not AND ( #74038 )
...
Co-authored-by: flowerysong <junk+github@flowerysong.com>
4 years ago
Rick Elrod
5e25ba62a6
Update Ansible release version to v2.11.0b4.post0. ( #74064 )
4 years ago
Rick Elrod
ae90774f2b
New release v2.11.0b4 ( #74063 )
4 years ago
Matt Davis
454c7e37ec
nonzero exit code on `ansible galaxy collection verify` failures ( #74051 )
4 years ago
Alexander Sowitzki
1527078a8f
pause - do not continue with '\r' when timeout is set ( #74030 )
...
Original function of pause was, to only allow user input
(finished with enter) when no timeout was set. This restores
the behaviour.
4 years ago
Matt Davis
a84c1a5669
add --offline option to galaxy collection verify ( #74040 )
...
* --offline allows in-place verify for installed collections with manifests
* manifest hash, collection name, version, and path are now always displayed
* test updates
4 years ago
Felix Fontein
af7f3fc266
Revert "Add duplicated set filter and documentation ( #72729 )" ( #74053 )
...
This reverts commit 99a6627c60
.
* ci_complete
4 years ago
Matt Martz
88d6a72178
Temporarily disable strategy units ( #74048 )
4 years ago
Baptiste Mille-Mathias
99a6627c60
Add duplicated set filter and documentation ( #72729 )
...
Co-authored-by: Kerry <kerry@flatline-studios.com>
4 years ago
Lydie
def2870df7
updated link to ansible.builtin.user password ( #73789 )
4 years ago
Brian Coca
22330dd322
Correctly set path and fullpath for template vars ( #73924 )
...
* Correctly set path and fullpath for template vars
don't expect path to always be full path
also added exception/tb on action fail
4 years ago
Brian Coca
4a82e2c486
Fix setup subset ( #74022 )
...
* fix error msg on bad subset
* added test
* handle more raised but not handled fact exceptions
4 years ago
Alicia Cozine
c66cff444c
documents the use of ansible.legacy ( #73942 )
4 years ago
Leandro Scardua
5dbcaa4c01
Update version on FreeBSD ( #73664 )
...
##### SUMMARY
<!--- Your description here -->
On the main freebsd change, and no the version: py37-ansible
##### ISSUE TYPE
- Docs Pull Request
+label: docsite_pr
4 years ago
Sandra McCann
59c61bc88a
update docs to uninstall ansible-base on upgrade ( #74024 )
4 years ago
sgpinkus
2abb2d3f17
Update playbooks_variables.rst. To say you can define variables within a playbook is somewhat misleading. Variables are defined within plays and are only visible within the play they are defined in *not* the entire playbook. There is no way to define vars to have strictly playbook scope. ( #73986 )
...
+label: docsite_pr
4 years ago
Marketka
0bf9b7fdf8
Added prerequisites to install for CentOS ( #73993 )
...
* Added prerequisites to install for CentOS as well so CentOS users don't have to look for alternatives for each Ubuntu package.
Signed-off-by: mm667937 <marketa.muzikova@broadcom.com>
Signed-off-by: mm667937 <marketa.muzikova@broadcom.com>
4 years ago
Baptiste Mille-Mathias
584432be26
Use FQCN for module set_stats ( #74028 )
4 years ago
saruter
73c08df2db
Docs: Add filter "urlencode" with example ( #74034 )
...
* Add example for URLENCODE filter
4 years ago