| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Docs Networking tests
* Copy networking tests from test-network-modules
* Networking transport settings - group_vars
* Network playbooks
* Debug should be off by default
* Update nxos.yaml
* Remove items from top level
* Use dependencies, not pre-tasks
* Remove trailing blank lines
* Remove backup files
* newlines
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to support legacy plugins, the following two method signatures
are allowed for `CallbackBase.v2_playbook_on_start`:
def v2_playbook_on_start(self):
def v2_playbook_on_start(self, playbook):
Previously, the logic to handle this divergence checked to see if the
callback plugin being called supported an argument named `playbook`
in its `v2_playbook_on_start` method. This was fragile in a few ways:
- if a plugin author did not use the literal `playbook` to name their
method argument, their plugin would not be called correctly
- if a plugin author wrapped their `v2_playbook_on_start` method and
by doing so changed the argspec to no longer expose an argument
with that literal name, their plugin would not be called correctly
In order to continue to support both types of callback for backwards
compatibility while making the call more robust for plugin authors,
the logic can be reversed in order to have a positive check for the old
method signature instead of a positive check for the new one.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
|
|
|
|
|
|
| |
As neon is derived from Ubuntu, ansible_os_family should have the value
"Debian" instead of "Neon". Add a test case for KDE neon and set
os_family correctly for it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the facts returned by setup included strings that
had double quotes in them, the asserts in test_gathering_facts.yml
would fail with errors like:
"The conditional check '\"[{u'mounts': {u'options':
u'rw,context=\"system_u:\"'}}]\" != \"UNDEF_HW\"' failed. The error was:
template error while templating string: expected token 'end of statement
block', got 'system_u'. String: {% if \"[{u'mounts': {u'options':
u'rw,context=\"system_u:\"'}}]\" != \"UNDEF_HW\" %} True {% else %}
False {% endif %}"
For one example, if mount facts returned an 'options' field that
included double quoated selinux context ids, the test would fail.
Fix is removing the double quoting in the assert 'that:' lines,
and removing the unneeded double curly brackets.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Nothing seems to use this now.
Was added originally added in2d11cfab92f9d26448461b4bc81f466d1910a15e
but the code that used it was removed in
e02b98274b60cdbc12ef4a4c74ae0f74207384e8
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
On openSUSE Tumbleweed, lsb-release -a currently reports
the distributor ID as "openSUSE Tumbleweed". On openSUSE
Leap, the distributor ID is "SUSE LINUX".
Add them to the OS_FAMILY dict as Suse family systems.
Also add an entry to TESTSETS in test_distribution_version.py
for openSUSE Tumbleweed.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
The bug was introduced with commit 06d4f4ad0e8f62c6b02b01833b94a0e44be008d0.
Added a simple test.
|
| |
|
|
|
|
|
|
|
|
|
| |
Since passlib algo sometime takes a bytes, and sometime
not, depending on a internal variable, we have to convert
bnased on it, or it fail with "TypeError: salt must be bytes,
not str" (or unicode instead of bytes)
However, that's not great to use internal structure for that.
|
| |
|
|
|
| |
Fixes #17308
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add tag verification test (ansible-modules-core PR 2654)
* Fix typo
* Use smaller repo for testing, add dependency control
* Test is gpg exists before running git signing tasks
* Correct the test conditionals so that gpg1 is tested
|
|
|
| |
ANSIBLE_ROLES_PATH is relative to the config directory, if found. Use an absolute path instead.
|
| |
|
|
|
|
| |
On python3, we can't write bytes directly to sys.stdout.
|
| |
|
|
|
|
| |
Added a basic test
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Currently (pre-repomerge) we aren't running sanity.sh from
ansible/ansible, after the merge we will. Therefore I've added the
requirements here, rather than in ansible-modules-*/test/utils/shippable
|
| |
|
| |
|
|
|
|
|
|
| |
* Revert "Update validate-modules README and convert to MD. (#18008)"
* This reverts commit 4916fe9962044eb315e8cc3b3a04423a346ddf82.
* Fix formatting of README.rst.
|
| |
|
| |
|
|\
| |
| | |
Take ownership of ansible-validate-modules
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement tag and skip_tag handling in the CLI() class. Change tag and
skip_tag command line options to be accepted multiple times on the CLI
and add them together rather than overwrite.
* Make it configurable whether to merge or overwrite multiple --tags arguments
* Make the base CLI class an abstractbaseclass so we can implement
functionality in parse() but still make subclasses implement it.
* Deprecate the overwrite feature of --tags with a message that the
default will change in 2.4 and go away in 2.5.
* Add documentation for merge_multiple_cli_flags
* Fix galaxy search so its tags argument does not conflict with generic tags
* Unit tests and more integration tests for tags
|
|
|
|
|
|
|
|
| |
Prior to this commit, the ini parser would fail if the inventory was
not 100% utf-8. This commit makes this slightly more robust by
omitting full line comments from that requirement.
Fixes #17593
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Remove unicode-escape which is not present on python3
Alternative fix for #17305
* Enable the assemble test on python3
* Fix other problems with assemble on python3
|
| |
|
| |
|
|
|
|
|
|
| |
fixed tests
dzdo has 2 paths now, with and w/o password
fixes #17838
|