Commit Graph

32445 Commits (91905980967d0cdf16bf3f010f7a7f53943932a4)
 

Author SHA1 Message Date
Andrew Makousky 9190598096 Set task status correctly for vmware_guest shutdown and reboot. (#26515) 7 years ago
jctanner 443b25d72a Fixup the property collection for dictionaries vs. objects (#28609)
* Fixup the property collection for dictionaries vs. objects

* Remove debug lines

* Do not attempt to sort because it's a waste

* Remove unused code

* Remove extra code

* Capture lowercase keys
7 years ago
Dag Wieers 11c9756d9c xml module: Make user interface much more restricted (#28657)
So the xml module has a lot of parameters that combined together do
specific things. however it does not really describe which parameters
are required together, or which ones are required.

This PR fixes that situation and makes it impossible to provide
confussing parameters combinations.

Also, `pretty_print` was used as a flag to modify the output, but also
as an action to reformat the file (without other change). This is
problematic the way it was designed. This fixes that too.

This fixes #28194
7 years ago
Peter Sprygada 75293d83ca configures address-families when vrf is created (#28615)
* configures address-families when vrf is created

fixes #26725

* fix up unit test cases
7 years ago
Jacob McGill a03a1cde88 ACI Tenant SPAN Src Grp to Dst Grp: Add new module to support managin… (#28645)
* ACI Tenant SPAN Src Grp to Dst Grp: Add new module to support managing Tenant SPAN Source Group and Dest Group Bindings

* Fix docstring errors

* Fix Metadata version

* Fix Shippable issues
7 years ago
Jacob McGill 6401478883 ACI Tenant SPAN Src Grp: Add new module to support managing Tenant SP… (#28644)
* ACI Tenant SPAN Src Grp: Add new module to support managing Tenant SPAN Source Groups

* Fix docstring errors

* Fix Metadata version

* Fix Shippable issue
7 years ago
Jacob McGill 05a17164e3 ACI EPG: Update module to use new URL Method (#28647) 7 years ago
Jacob McGill eaea574e3b ACI Tenant EP Retention Policy: Add new module to support managing En… (#28642)
* ACI Tenant EP Retention Policy: Add new module to support managing End Point Retention Policies

* Fix docstring errors

* Fix Metadata version
7 years ago
Jacob McGill bac617acef ACI Taboo Contract: Update module to use new URL Method (#28639) 7 years ago
Jacob McGill 8b641688e9 ACI Tenant Action Rule Profile: Update module to use new URL Method (#28641) 7 years ago
Jacob McGill a12ff4468d ACI SPAN Dest Group: Update module to use new URL Method (#28643) 7 years ago
Jacob McGill 8a966a48c8 ACI VRF: Update module to use new URL Method (#28646) 7 years ago
Jacob McGill f7a466cbb4 ACI Intf Policy Port Security: Update module to use new URL Method (#28638) 7 years ago
Jacob McGill f9036133bb ACI Tenant: Update module to use new URL Method (#28640) 7 years ago
Jacob McGill 9c564de765 ACI L3Out Route Tag: Update module to use new URL Method (#28637) 7 years ago
Jacob McGill a6614a132d ACI Intf Policy Port Channel: Update module to use new URL Method; add support for ctrl (#28636) 7 years ago
Jacob McGill 1bec0e5753 ACI BD: Update module to use new URL Method (#28625)
* ACI BD: Update module to use new URL Method

* fix docstring errors
7 years ago
Jacob McGill 2e61760659 ACI Contract Subject: Add new module to support managing Contract Sub… (#28620)
* ACI Contract Subject: Add new module to support managing Contract Subjects in ACI

* Fix Metadata

* Fix Metadata version
7 years ago
Jacob McGill e434c291ca ACI Intf Policy MCP: Update module to use new URL Method (#28635) 7 years ago
Jacob McGill fa6da960db ACI Intf Policy LLDP: Update module to use new URL Method (#28634) 7 years ago
Jacob McGill 6109a6c093 ACI Filter: Update module to use new URL Method (#28630) 7 years ago
Jacob McGill f5f2a2fac2 ACI Intf Policy L2: Update module to use new URL Method (#28633) 7 years ago
Jacob McGill 25d1ef3493 ACI Intf Policy FC: Update module to use new URL Method (#28632) 7 years ago
Jacob McGill 85ca2234fd ACI Filter Entry: Update module to use new URL Method (#28631) 7 years ago
Jacob McGill 0577bf688c ACI EPG to Contract: Update module to use new URL Method (#28628) 7 years ago
Jacob McGill a4087841a8 ACI EPG to Domain: Update module to use new URL Method (#28629) 7 years ago
Jacob McGill d186c9eda2 ACI EPG Mon Policy: Update module to use new URL Method (#28627) 7 years ago
Jacob McGill 9582e7e549 Ap (#28626)
* ACI Ap: Update module to use new URL Method

* ACI Ap: Update module to use new URL Method
7 years ago
Jacob McGill 0b1ea2be9b ACI BD Subnet: Update module to use new URL Method (#28624) 7 years ago
Jacob McGill dc232737ba ACI BD to L3Out: Update module to use new URL Method (#28623) 7 years ago
Jacob McGill 28f76166d0 ACI Contract: Update module to use new URL Method (#28622) 7 years ago
Jacob McGill 037ef743c3 ACI Contract Subject to Filter: Update module to use new URL Method (#28621) 7 years ago
Nicolas Porcel ba420c47cd synchronize: Use private_key and ssh_user with delegate_to (Fixes #16215) (#21686) 7 years ago
Ganesh Nalawade 7d8a4b13a5 Fix junos_vlan integration test failure (#28613) 7 years ago
Jacob McGill 061fe51e9a ACI AEP: Update module to use new URL Method (#28619)
* ACI AEP: Update module to use new URL Method

* ACI AEP: Update module to use new URL Method

* ACI AEP: Update module to use new URL Method
7 years ago
Jacob McGill ddd3e6fb91 ACI: Update ACIModule to dynamically build URLs (#28618) 7 years ago
Dag Wieers 2634ef955a xml module: Better change detection, improved tests (#28460)
This PR includes:

- Improvements to change-detection by comparing 2 objectified XML trees
- Implement better integration tests by comparing 2 files using copy
7 years ago
banzo 3302248616 [cloud] Amazon Redshift module cluster deletion fix (#25164)
* Fix typo (#25161)

* Fixed cluster deletion: added final snapshot management

This adds 2 new options to the module API (only for the "delete" command):

* skip_final_cluster_snapshot: skip a final snapshot before deleting the cluster
* final_cluster_snapshot_identifier: identifier of the final snapshot to be created before deleting the cluster

Ref: http://boto.cloudhackers.com/en/latest/ref/redshift.html

* Fixed cluster deletion: added final snapshot management

This adds 2 new options to the module API (only for the "delete" command):

* skip_final_cluster_snapshot: skip a final snapshot before deleting the cluster
* final_cluster_snapshot_identifier: identifier of the final snapshot to be created before deleting the cluster

Ref: http://boto.cloudhackers.com/en/latest/ref/redshift.html

* add version_added information

* Review corrections:

* used required_if instead of checking parameters compatibility inside the code
* renamed aliases to be more explicit

Also added an example for the "delete" command

* Review corrections correction - make "delete" command specific parameters mandatory only when the command is "delete"

* updated doc with aliases

* Fix YAML docs syntax

* Set default to match API for skip_final_cluster_snapshot.
7 years ago
Dag Wieers 7a182fc43e xml module: Add backup to pretty_print too (#28604) 7 years ago
Peter Sprygada b34cfd03b3 implements missing code to handle before and after arguments (#28612)
fixes #21683
7 years ago
Nathaniel Case 07cd4fda0e Remove module_utils.shell (#28560)
* Get rid of module_utils.shell

* There is no way this actually raises ShellError
7 years ago
Peter Sprygada ac6892efe4 set the play_context connection_user before mapping magic variables (#28599)
This change moves when the connection_user is set in the play_context to
set it before the magic variables are mapped.  If the connection_user
is not set before the mapping, the connection_user will be incorrectly set
for local connections

fixes #26120
7 years ago
Joel Kaasinen fc7301671e [cloud] Add check mode for cloudformation module (#23483)
* cloudformation: dummy check mode

* cloudformation: use changesets to implement check mode

* cloudformation: wait at most 5min for change set

* cloudformation: handle stack creation and deletion in check mode

* cloudformation: standardize output format in check mode

msg is a string, meta is a list

* cloudformation: use same naming convention in get_changeset as create_changeset

also add comment about code duplication between said functions

* Remove unused imports

* PEP8 whitespace fix

* Fix CI, convert success=True check to for/else
7 years ago
Sloane Hertel cf1a9d4d22 New module: Add ec2 Vpn Connection module and tests (cloud/amazon/ec2_vpc_vpn) (#24385)
* Add VPN module and unittests

* remove unnecessary imports

* fix documentation

* raise custom exception rather than passing module everywhere

* remove recordings

Rerecord tests

Fix docs

Ensure vpn_connection_id is a list of strings when checking if it exists

* fix check mode

* Rerecord tests

* remove superfluous code and comments and make exception handling uniform

fix docs

* Fix ec2_vpc_vpn documentation

* make ec2_vpc_vpn compatible with python 2.6 and make check mode logic more succinct

* fix comparison of list of dicts

* Fix typos and docstrings

make requested changes for imports

make code clearer

* Fix copyright and metadata version.
7 years ago
CsilLAB 8d3546af60 Update eos_config documentation. (#28512)
Added note to documentation about Jinja2 file used as src.
7 years ago
Felipe Garcia Bulsoni fb6ed8d76c EthernetNetworkModule for HPE OneView (#28336)
* Adding module to manage ethernet network on HPE OneView

* Adding unit tests to EthernetNetwork module

* Added OneViewModuleException custom exceptions to module

- Removed exception imports from hpOneView
- Updated unit tests

* Fixing mock import inside ethernet network module unit test

* Fixing issues found in METADATA by CI

* Updated paths to use solution name instead of vendor name

* Fixed documentation, removed redundant if and improved readability

* Updated _bulk_present to use and return `result`, same way as _present

* Changed __ to _ in private methods following ansible style

* Fixed some example inconsistencies and turned states doc into a list

* Added adriane-cardozo to list of maintainers
7 years ago
Simon Dodsley 000ccc838a Set protection group enabled by default with option to disable (#28582) 7 years ago
Fabio Alessandro Locati c850bf15d0 windows/win_command: improve examples (#20465)
* windows/win_command: improve examples

* Improve description

* Improvements

* minor updates based on PR feedback
7 years ago
Ganesh Nalawade 55fa4d54aa Add tested against junos version for junos modules (#28598)
* Add tested against junos version for junos modules
7 years ago
AlexZolotarenko 69bf5331b4 Fix incorrect command-line parameters for Solaris (#22865)
* Fix incorrect command-line parameters for Solaris

* Update mount.py
7 years ago