Commit Graph

20142 Commits (fd33dc6cd124d4c3e2fa8d0bed02b8379cf7e8b8)

Author SHA1 Message Date
Sloane Hertel fd33dc6cd1 [cloud] Make ec2_vpc_route_table wait for the route to propagate (#35975)
* Stabilize ec2_vpc_route_table

Wait for route table to be present before attempting to use it

Sleep before getting the final state of the route table in case modifications are incomplete

* Conditionally wait if changes were made

* Simplify logic
8 years ago
Dag Wieers 01ba3a4efc
ACI: Fixes to recent change to parameter choices (#35968)
This PR includes:
- Fixes related to the recent merge of #31637 and #34537
- A generic fix for a reference for assignment issue
- Fixes to aci.boolean() in order to catch exception
8 years ago
Ryan Brown f4d896c716 Tower callback fixes (#35927)
* Fix tower_callback script return code

* Add ec2_key parameter to integration tests
8 years ago
Dag Wieers 3693e560dc
Provide more debug output on failures (#35961)
This PR includes:
- payload output on failure, when requested
- add additional kwargs to aci.exit_json()

We may want to enable some of this debug output by default on failure ?
8 years ago
Dag Wieers 764e78d302
Fix issue with module (#35960) 8 years ago
Bobby Watson 79b0739ba2 Accept interfaces without address family or method (#34200) 8 years ago
Tyler 15b0371eb2 Add examples and language to better showcase the 'parents' parameter in multiple network modules (#34486)
* Add additional language and examples for 'parents' parameter to clarify its usage.
8 years ago
Matt Clay 6cbd7cc5d8 Fix version in lib/ansible/release.py
Including `devel` in the version causes pip failures.
8 years ago
saichint c7305393a3 fix nxos_evpn_vni issues (#35930) 8 years ago
Giorgio Crivellari 54e0327e5d added 'local' option to group (#34805)
* added 'local' option to group

fixes #34804'

* fix to version 2.5

fixes #34804'

* fix missing local var
8 years ago
Nick Wilde aa09ed1a88 Fix typo in examples in Lookup/password plugin. (#35022) 8 years ago
Tomasz Kontusz 89ad40b129 Fix for #31477: return 'dest' from copy when file wasn't changed 8 years ago
Matt Martz 7d1eb88ecf Address memory ballooning caused by task caching changes (#35921)
* Exclude parent when copying included task to avoid memory issues. Fixes #35796

* Simplify implicit block squashing to pre-group, instead of post re-parenting
8 years ago
Matt Davis b6dc27249a bump devel to 2.6 8 years ago
Brian Coca 79fbe09a4d remove slice filter as it already exists in jinja (#35922) 8 years ago
Alex Tsitsimpis 933bc45cf2 callback: Get handlers with json callback plugin (#35842)
Implement the `v2_playbook_on_handler_task_start()' method in the json
callback plugin to correctly include handlers in the results.

This fixes a bug where the last task in the results returned by
json callback would be wrong if an unconditional handler was triggered,
since the result of that handler would overwrite the result of the last
task.

Signed-off-by: Alex Tsitsimpis <alextsi@arrikto.com>
8 years ago
Sam Doran b7f4b89757 Code style words in docs 8 years ago
Yanis Guenane b37549f679 openssl_csr: Improved documentation on subject_alt_name possible values 8 years ago
Brian Coca 0bd9b3019f caller to preprocess must be None aware (#33653)
also removed unused copy of method

fixes #33650
8 years ago
Paweł Krupa 88f1f40aca expect default value of `version` param as None (#35790) 8 years ago
Toshio Kuratomi 03c73e2bbb Rename var lookup to vars and add tests 8 years ago
Toshio Kuratomi db29190c28 Allow var lookup plugin to operate on a list of terms
Not sure this has a good use case but it's how nearly all other lookups
work so we should support the common interface.
8 years ago
Toshio Kuratomi 59faad3a6b Fix var lookup plugin to return a list 8 years ago
Daniel Jaouen 33cbbe0b39 Homebrew Cask: Multiple updates (#35759) 8 years ago
Toshio Kuratomi 5c085b2436 Fix aysnc failure by forgetting the remote tempdir that async_wrapper will delete on the remote end 8 years ago
Adam Friedman a3b1c94d11 New dimensiondata_vlan module. (#21218)
* Initial (re)implementation of dimensiondata_vlan module.

This module was rewritten because the original implementation was imperative rather than declarative (which is the preferred style, and consistent with our other modules).

Credit for the original module implementation goes to Aimon Bustardo (@aimonb).

* Remove unused imports.

* Improve error message and documentation around expansion of a VLAN's private IPv4 network.

* Split message string over 2 lines.

* Add check_mode support to dimensiondata_vlan module.

ansible/ansible#21218

* Fix errors / warnings reported by Ansible sanity tests.

ansible/ansible#21218

* Remove 'metadata_version' key from documentation.

ansible/ansible#21218

* Return changed=True when changes would be made.

ansible/ansible#21218
8 years ago
Ryan Brown 0036cff493
[cloud] Add key_name parameter to ec2_instance (#35901) 8 years ago
Dave Buckley cef1a666f3 name is not a required parameter (#35434) 8 years ago
saichint 80fcfdc0d1 fix nxos_vpc issues (#35868) 8 years ago
Sam Doran 6264a55cdc Add aliases for parameters to rhsm_repository module (#35800)
Allow 'enabled' and 'disabled' as synonymns to 'present' and 'absent'.

Minor updates to module docs.
8 years ago
Eike Frost ecdb04119b keycloak_client: expand documentation, add some checking (#35545)
* add protocol mapper dict argument spec, documentation for protocol mappers, and documentation for attributes

* reformat docs to stay in line length limit

* better formatting/highlighting for docs

* ooops
8 years ago
Felix Fontein d1f19125a5 openssl_csr: added support for the OCSP Must Staple extension (#35082)
* Added support for the OCSP Must Staple extension.

* Trying to clean up magic constants a bit.
8 years ago
Yuwei Zhou 273a3d1d51 Fixes #34913: azure_rm_loadbalance should accpet a list of rules instead of one (#35592)
* azure_rm_loadbalance should accpet a list of rules instead of one

* fix lint

* fix

* fix

* hook up load balancer rules, doc fixes, test updates
8 years ago
Toshio Kuratomi 8a22b51755
Fix copy for implicit relative paths (#35016)
copy currently fails if you specify a destination without any directory
component.  This is because we take the dirname of the destination for
some processing and no dirname causes issues.

This corrects that by prepending "./" if there is no directory component
in dest.
8 years ago
René Moser 2f36b9e5ce basic: allow one or more when param list having choices (#34537)
* basic: allow one or more when param list having choices

* add unit tests

* optimize a bit

* re-add get_exception import

* a number of existing modules expect to be able to get it from basic.py
8 years ago
Toshio Kuratomi 82c1456781
If the timeout in _poll_async_result has expired, raise the exception (#35878) 8 years ago
Ryan Brown e71c6d8e17 New module: ec2_instance (#35749)
New module: ec2_instance

Integration tests for ec2_instance
8 years ago
James Mighion 663c410da4 Fixing eos_config save option. Was removed when deprecated. Fixing ot… (#35628)
* Fixing eos_config save option. Was removed when deprecated. Fixing other deprecation documentation. Adding unit tests.

* Fixing removed_in_version for force.
8 years ago
James Mighion 73650cf854 fixing the removed_in_version to 2.6. (#35853) 8 years ago
Sam Doran 6037e73c16
Add EdgeOS config module (#35867)
* Add edgeos_config module

* Add edgeos_config module

* Remove debugging statements

* Add future import and correct module name in docs
8 years ago
Sam Doran a9da1c2927
Add EdgeOS facts module (#35871)
* Add edgeos_facts module and unit tests

* Add future import
8 years ago
Sloane Hertel e10e1d6ddf [ecs_service_facts] replace map with dict for Python3 compatibility (#35355) 8 years ago
s-hertel 927ef22ad6 Fix docs and imports for os_project_access 8 years ago
s-hertel 2bcce99994 PEP8 os_project_access 8 years ago
s-hertel 2855f22e2b Fix spacing in os_project_access docs
Import openstack_module_kwargs
8 years ago
Ryan S. Brown dff5fa3ec2 Fix os_project_access metadata and argspec import 8 years ago
KrdLab 2a6b03459b Fix aws_s3_cors documentation (#35684) 8 years ago
Brian Coca 6340d58cd1 add 'never' tag (#34104)
* add 'never' tag

skips a task unless a tag on the task is explicitly targeted

* never also affects untagged, clearer layout
8 years ago
Toshio Kuratomi 71f46d69d6 First bit of fixing temporary to have one source of truth (#35747)
* First bit of fixing temporary to have one source of truth

* Fix pep8

* Remove explicit make_tmp_path() in copy

The copy action plugin sets TRANSFER_FILES=True so it does not need to
set the temporary directory explicitly; the base class's run() method
will do that for us.

* Fix for calling a module's run when a shell has already created a temp path.

* Remember to inform the rest of the world when tempdir is removed

* New strategy for how to warn on passing tmp

Now we just warn when calling the parent class run() early.  If the
module does a late call to the parent run() and doesn't make use of the
temporary directory, then we don't check for the possibility that the
user mistakenly is sending tmp in.  If we truly deprecate this (rather
than ignoring it forever) then we might want to switch back to checking
for someone passing a value in as tmp.

* Remove tmp parameter from _execute_module as well

* Port all action plugins to not send tmp explicitly

This is now handled inside of _execute_module via the
_connection._shell.tempdir attribute.

Also update warnings and docs to tell people to set the attribute
instead of using _execute_module's tmp parameter.

* Always set local tempdir variable
8 years ago
Maarten Bezemer 7225839bef [git] Fix switching branch of shallow clone (#18728)
* [git] Fix fetching branch of shallow clone

* Use absolute file:// paths to make sure git uses shallow clones

* Improve tests

* Fix sanity errors
* Match style according to other (depth) tests

* Improve tests

Now they will fail without the fix of this PR
8 years ago