summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Resolving bug on CNOS Image download on multiple devices.Anil Kumar Muraleedharan2017-09-161-3/+6
| | | | (cherry picked from commit 1921eaf09622b01eaaddf084b4ef8733609ca386)
* CommandUtil C# API tweaks (#30453)Matt Davis2017-09-161-25/+33
| | | | | | * changed RunCommand result from Tuple to CommandResult for easier future extensibility * moved Win32 Dictionary->multi-null-string environment munging into C# (cherry picked from commit 0e70057f561875c40d3d5285fd5f0dfcbe8087e6)
* Various fixes to azure_rm_virtualmachine for managed disks and allocated. ↵Matt Davis2017-09-161-16/+46
| | | | | | | | | | (#30450) * fixes #30194 * fixes #30193 * fixes #29662 * fixes #28859 (cherry picked from commit c12c7a72ed2c81bf1208a999318c403a5ff4908e)
* azure_rm_dnsrecordset rewrite (#30449)Matt Davis2017-09-152-465/+229
| | | | | As-merged, had several issues that prevented idempotent usage. Some args were defined at the wrong UI level. Dual-state args didn't match up with typical Ansible UI. (cherry picked from commit 6b5b4651253d584420520271c865f3a64e564bc1)
* Fix PEP 8 issue.Matt Clay2017-09-151-1/+2
| | | | (cherry picked from commit 61dd5517c3f14a3277ac19216a139830be997434)
* deprecated includeBrian Coca2017-09-157-7/+276
| | | | | | added docs for new actions that take over include duties (cherry picked from commit 8799038a895ed0ff230e2aa0629c4b83e8f15cf1)
* clear correct cache when reconcile is invokedBrian Coca2017-09-152-4/+1
| | | | | | moved it to ensure all callers get the correct hosts after (cherry picked from commit fc9b44e021511b40dcc3dd3c402ccbf6aabfb03e)
* nxos_install_os install_state fixNathaniel Case2017-09-151-3/+1
| | | | (cherry picked from commit 7dc60c3f242250beeee66d27212ca5393dfbcdd4)
* Fixes nxos_pim_rp_address module idempotence (#29620)Kedar K2017-09-151-5/+5
| | | | | | | | * Fixes nxos_pim_rp_address module idempotence * * Adds a note in header comment to indicate no support for absent state (cherry picked from commit ff84fc969c03575a4b26dbbb2011f8c106915d7e)
* fixed issue with default callback inheritance (#30427)Brian Coca2017-09-158-28/+50
| | | | | | | | | * fixed issue with default callback inheritance - callbacks need to document same options as callbacks they inherit from to get them configured - since default is also used by many 3rd party callbacks for inheritance, making the code 'tolerate' the missing docs and fallback to using the direct constant to configure it's options. (cherry picked from commit 81fd67c10fb03d4b46e4f7c9551c5f2f67a82e18)
* Raise an error if ansible_network_os is not specified (#30429)Nathaniel Case2017-09-151-8/+5
| | | | (cherry picked from commit 5d404af76ed4f3904f54671418be1ad2d7dd2c07)
* typo fixBrian Coca2017-09-151-1/+1
| | | | (cherry picked from commit f87d0b3502910c4b96bdc55eb2a02e43a068c791)
* Fix nxos_snmp_community idempotence issue (#30388)Mike Wiebe2017-09-151-43/+32
| | | | | | | | | | * Fix nxos_snmp_community idempotence issue * Use passed in name to filter * Test updates and remove unused method (cherry picked from commit 9af6dc4751be1b339613aca85169c32418435a5d)
* Don't expect (postgres) SERVER_VERSION to be M.N (#30417)Abhijit Menon-Sen2017-09-151-20/+3
| | | | | | | | | | | It could be something like '10beta4', which StrictVersion() would reject. When Postgres 10 is released, it will be '10', which StrictVersion() would STILL reject. Fortunately, psycopg2 has a 'server_version' connection attribute that is guaranteed to be an integer like 90605 for version 9.6.5, or 100000 for version 10. We can safely use this for version-specific code. (cherry picked from commit 0addd539261c1725620318a8f4550a03414deafe)
* Fixing two bugs with import_role (#30398)James Cammarata2017-09-141-1/+7
| | | | | | | | 1) import_role was never resulting in a static inclusion of the role tasks due to a logic error. 2) no error was raised when import_role tried to use a with loop, resulting in a strange error down the execution path. (cherry picked from commit cd2774af7849be79f19b43628a3e3dde4bde00b4)
* remove dupe deprecation on config (#30364)Brian Coca2017-09-143-10/+6
| | | | | | | | * remove dupe deprecation on config also move failed typing to same place to use 'standard' display vs hack. (cherry picked from commit c027ad943e6c17387ab75e864170e3665a8e6635)
* Correctly create include_role blocks when using loops (#30372)James Cammarata2017-09-143-78/+76
| | | | | | | | Also fixes instances where conditionals or other variables may result in hosts executing lists of tasks of differing sizes. Fixes #18748 (cherry picked from commit 6730f81024bdd6eb56b30763aabb574e2ff6040c)
* Rel240/fix nxos pim interface (#29885)Mike Wiebe2017-09-141-37/+57
| | | | | | | | | | | | * fix nxos_pim_interface * Add integration test coverage and fix unit test * Add clarifying comments * Make ansibot happy (cherry picked from commit 173c41aefe30f772808713322c309df4acc985b3)
* Fix nxos_interface error for nxapi and idempotence problem (#29136)Mike Wiebe2017-09-141-9/+8
| | | | | | | | * Fix nxos_interface nxapi error and idempotence * Make shippable happy (cherry picked from commit 3faba93a2bf4bd3187ce62f39ca01e4fc0272da6)
* fixes #27177 - nxos_aaa_server_host multiple issues (#29103)rahushen2017-09-141-5/+4
| | | | (cherry picked from commit 37f68bffc06842e91347a8db08990e5a08727fc0)
* Document boolean default value treatment (#30062)Toshio Kuratomi2017-09-142-1/+2
| | | | | | | | | | | | * Consistency and document treatment of default bool values * Document that default bool values can be any Ansible recognized bool. choose the one that reads better in context * For fragments used by the copy module, make bool types use type=bool and not choices * Edit for clarity (cherry picked from commit 8a2f069468e1d072f4b57c19fab964d3626db5f8)
* fixed 'typing' for deprecated get_configBrian Coca2017-09-141-4/+2
| | | | (cherry picked from commit 7a12314d5413cb911a91490f8e6d9d358b055022)
* Use safe_load to load yamlGanesh B. Nalawade2017-09-143-3/+3
| | | | | | Replad `yaml.load` with `yaml.safe_load` (cherry picked from commit 8c3bf20a13a185e7c5c4bd0dee1bbe0b1ec2eab3)
* Fix Dell OS network module timeout (#30355)Mark Goddard2017-09-143-0/+3
| | | | | | | | | | The dellos action plugins should add the remote address of the switch provider to the play context. This was fixed in issue #23589 in an almost identical manner for the eos, ios, iosxr, and vyos action plugins. Fixes: #30350 (cherry picked from commit ac69fcccdc77062ad7175e92606c77b769edad97)
* Generalize nxos_bgp event-history detection (#28890)Nathaniel Case2017-09-141-7/+3
| | | | | | | | * More general handling of event-history * Update unit tests (cherry picked from commit f84ff216b668916e66d99235343c0d524fc335fc)
* better error on bad playbook encodingBrian Coca2017-09-141-2/+6
| | | | (cherry picked from commit 1950bcc14e66ca6c99c15dc5b13b37a66d87c2c6)
* Specify default delay (DOCUMENTATION only change) (#30344)John R Barker2017-09-1415-13/+29
| | | | | | | | | | * Specify default delay Also clarify that tx_rate is in bps * aggregates -> aggregate (cherry picked from commit 4c9ad00c501901d40fee043067a285b1dfe1c9fe)
* Set default value for provider transportGanesh B. Nalawade2017-09-146-4/+10
| | | | | | | Fixes #30331 Set defualt value of provider to avoid behaviour change before and after sub spec validation was added as part of PR #28894
* Fix to not warn for context and passwordsPatrick Ogenstad2017-09-141-1/+1
| | | | | The parameters 'context' and 'passwords' were wrongly marked as being deprecated.
* Fix regression in format of lvm facts (#30326)Toshio Kuratomi2017-09-141-3/+3
| | | | | | | lvm information should not have leading whitespace in the key names Fixes #30006 (cherry picked from commit 62f49120cd1c0e7af9d71b8da14b0bc9b21b05ed)
* Correct sl_vm documentation (#29433)Abhijeet Kasurde2017-09-131-1/+1
| | | | | | | | | Fix corrects sl_vm documentation from wait_timeout to wait_time Fixes: #29395 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit b3cba957e0370b2ff81bd304f2684eaeff1d07f9)
* nxos_udld_interface: improve interface detection (#28682)saichint2017-09-132-64/+85
| | | | | | | | * fix for nxos_udld_interface * Tested Note added back (cherry picked from commit 4e32c92166fb5c00a6d790b7cb819294fe59b772)
* nxos_snmp cleanup (#28922)Nathaniel Case2017-09-136-362/+157
| | | | | | | | | | | | | | | | | | * Clean up nxos_snmp_contact & nxos_snmp_location * Bring nxos_snmp_community in line * Bring nxos_snmp_host in line * And I would have gotten away with it too, if it weren't for those meddling sanity tests * Bring nxos_snmp_traps & nxos_snmp_user in line * Appease Shippable (cherry picked from commit 8c03609e54f3b173eacf26d84dc00face5e9041f)
* Fixes #28793, #27484 (#29745)rahushen2017-09-131-3/+3
| | | | (cherry picked from commit 1a266e29a78674b7c5ea309de9c2c6800fc4c9f0)
* Fixes #28493 (#29061)rahushen2017-09-131-5/+2
| | | | (cherry picked from commit 169fbc4c941d3e6269e85cd05c4d59bc5361711d)
* Fix sending facts to ForemanMarek Hulan2017-09-131-1/+1
| | | | (cherry picked from commit 9ad90de4bc7f1835e909f8e2d96578391e188de6)
* Fix nxos_overlay_global networking modules (#28943)Mike Wiebe2017-09-131-13/+12
| | | | (cherry picked from commit 7292dd20ed1cd88ff0d94357dcfc3405b4a3e193)
* fixes #27066 - nxos_acl errors when there are 0 or 1 access lists configured ↵rahushen2017-09-131-4/+13
| | | | | | | | | | (#29076) * fixes #27066 * replace type() with isinstance() (cherry picked from commit 5537218c94130cc6dbab104be82d3d1b9b5ab5f5)
* [cloud] Don't alter dictionary during iteration in elb_target_group_facts, ↵Will Thames2017-09-131-5/+2
| | | | | | | | | | avoiding RuntimeError (#30247) Don't update the target_group_attributes dict while iterating over it. Fixes #30190 (cherry picked from commit fd18d7ebb52d09dddeb44d21ceeeb61d66aeb77c)
* [cloud] ec2_group: Handle duplicate names between EC2 classic and VPC groups ↵Sloane Hertel2017-09-131-12/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#28931) * ec2_group: Handle name conflict with empty vpc_id. If several groups exist with the same name (and vpc_id is None) then treat the group outside the vpc as preferred (same as it would for a vpc group with vpc_id specified). Also don't run the egress rules code in that case. * Handle lack of `IpPermissionsEgress` attribute on EC2 classic groups In EC2 classic groups, the `while True` loop checking for egress permissions will continue infinitely. * Handle incompatible combinations of EC2 Classic + VPC groups * Fix integration tests in accounts lacking EC2 classic This change checks against the security group created, instead of the module parameters, for VPC ID. This means that new accounts with a default VPC will still wait properly for the first egress rule to populate. * Fix conditional for storing described groups with preference for matching VPC IDs * Revert `vpc_id is None` on conditional to allow for default VPCs (cherry picked from commit 4bc4abfe1bda7c1a43c75dc0411a98403c625559)
* windows command changed to use CreateProcess (#30253)Jordan Borean2017-09-133-221/+487
| | | | | | | | * windows command changed to use CreateProcess * change to get become to work (cherry picked from commit 6d196eaa982fca33a4d6394e1466941c7e96877e)
* Updated Display.do_var_prompt to use to_native on prompt ( Fixes #30265 ) ↵Andrea Tartaglia2017-09-131-1/+1
| | | | | | | | (#30285) * Updated Display.prompt to use the normalized prompt message. (cherry picked from commit ea8af15dfe692f5730e4100a7592deb4b5188d10)
* Fix conditional inheritance on dynamic includes (tasks and roles) (#30178)James Cammarata2017-09-133-10/+32
| | | | | | | | | Per the new style of execution, for dynamic tasks conditionals are expected to only affect the include task itself and should not be inherited by child tasks. This patch brings the behavior inline with this expectation. Fixes #27845 (cherry picked from commit b38f746604e3705ccebd51b79458b7f2b0a15ead)
* Remove some non-ascii chars from stringsAdrian Likins2017-09-131-48/+48
| | | | | | quote some unwieldy strings, etc. (cherry picked from commit b2ac60cfd7da863517cd878391bcf2d55b5bd0b0)
* Fixes #27336 - nxos_gir_profile_management issue while creating profile (#29151)rahushen2017-09-131-6/+9
| | | | | | | | * Fixes #27336 * Correct documentation errors (cherry picked from commit f1cc5a928c50ef524408e74f79d1071518d28ca3)
* Fixes #27138 (#29064)rahushen2017-09-131-2/+13
| | | | (cherry picked from commit bc6e015a8671097ea51545bead34c25e6c8f390e)
* fix nxos_file_copy and provider getting set to None when transport is cli ↵Trishna Guha2017-09-132-13/+7
| | | | | | | | | | | | | | (#30262) * nxos_file_copy bug fix Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * provider gets set to None in module level when transport is cli Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> (cherry picked from commit 578ae3b238d54da99122838df01b5d4aafceab34)
* Fix ios_system lookup enable issue (#30263)Ganesh Nalawade2017-09-131-1/+1
| | | | | | | | Fixes #29974 Add `None` check while comparing module parameter values (want) with the actual configuration present on device (have). (cherry picked from commit d8371cec919f94d4c65d5de4d6ca5738f09d98b8)
* fixed become to show the stdout and stderr streams instead of the ↵Jordan Borean2017-09-131-1/+1
| | | | | | StreamReader (#30254) (cherry picked from commit 77b2aca5a2657e16ab6a236b43a8122164e3b574)
* yum: revert incorrect change from 0bbd5c74585abbf2Martin Krizek2017-09-131-1/+1
|