Commit Graph

29081 Commits (26e8474f6dd4a9c4756cdfab036861a1ee2574b2)

Author SHA1 Message Date
Miguel Angel Muñoz González 3373a2518a Fortinet's new module for fortios_system_replacemsg_mail (#60871) 6 years ago
Miguel Angel Muñoz González 4506371611 Fortinet's new module for fortios_system_replacemsg_image (#60870) 6 years ago
Miguel Angel Muñoz González ab023b5276 Fortinet's new module for fortios_system_replacemsg_icap (#60869) 6 years ago
Miguel Angel Muñoz González e887f1247f Fortinet's new module for fortios_system_replacemsg_http (#60868) 6 years ago
Miguel Angel Muñoz González b2c65f20d8 Fortinet's new module for fortios_system_replacemsg_group (#60867) 6 years ago
Miguel Angel Muñoz González c4500bffbb Fortinet's new module for fortios_system_replacemsg_ftp (#60866) 6 years ago
Miguel Angel Muñoz González 8fad5e3081 Fortinet's new module for fortios_system_replacemsg_fortiguard_wf (#60864) 6 years ago
Miguel Angel Muñoz González bb09bdb309 Fortinet's new module for fortios_system_replacemsg_ec (#60863) 6 years ago
Miguel Angel Muñoz González c041b6e9ca Fortinet's new module for fortios_system_replacemsg_device_detection_portal (#60862) 6 years ago
Fortinet Core CSE NA df6d46fed3 Fortinet: fmgr_fwpol_ipv4 update/behavioral option fix (#58154)
* PR Update to fmgr_fwpol_ipv4 -- now allows for failure or skip behavior option upon missing dependencies

* fmgr_fwpol_ipv4 minor docs fix

* Removed "system_package_print" line from test/sanity/ignore.txt as instructed by failed shippable test.

Actual PR module isn't affected.
6 years ago
Fortinet Core CSE NA 45cc29ba08 PR Commit for fmgr_device_provision_template. Contains bug fixes. (#58151) 6 years ago
Sviatoslav Sydorenko 55d1da08b1 Drop redundant EOL escape from win_updates action
Ref: https://github.com/PyCQA/redbaron/issues/186
Ref: https://github.com/bcoca/gravity/commit/31de47ece73
6 years ago
Miguel Angel Muñoz González 62f665f0ed Fortinet's new module for fortios_system_vdom_radius_server (#61036) 6 years ago
Miguel Angel Muñoz González ffbb906a9f Fortinet's new module for fortios_system_vdom_sflow (#61037) 6 years ago
Miguel Angel Muñoz González 95fee79c13 Fortinet's new module for fortios_system_sms_server (#60962) 6 years ago
frankshen01 f6421bbe2b Fortinet's new module for fortios_system_session_helper (#60986) 6 years ago
Miguel Angel Muñoz González f624fd4c4c Fortinet's new module for fortios_system_vdom_dns (#60974) 6 years ago
Miguel Angel Muñoz González 2497b0fd5f Fortinet's new module for fortios_system_snmp_community (#60963) 6 years ago
Miguel Angel Muñoz González 0b1a8494a2 Fortinet's new module for fortios_system_snmp_sysinfo (#60964) 6 years ago
Miguel Angel Muñoz González c16e9c2604 Fortinet's new module for fortios_system_replacemsg_auth (#60861) 6 years ago
Miguel Angel Muñoz González 19f35502f3 Fortinet's new module for fortios_system_replacemsg_alertmail (#60859) 6 years ago
Miguel Angel Muñoz González 1219c10844 Fortinet's new module for fortios_system_replacemsg_admin (#60858) 6 years ago
Miguel Angel Muñoz González 502682dfb0 Fortinet's new module for fortios_system_proxy_arp (#60857) 6 years ago
Miguel Angel Muñoz González 6ba7024e8a Fortinet's new module for fortios_system_probe_response (#60856) 6 years ago
Miguel Angel Muñoz González e2e68fa7de Fortinet's new module for fortios_system_password_policy_guest_admin (#60854) 6 years ago
Miguel Angel Muñoz González ebc3e48b66 Fortinet's new module for fortios_system_pppoe_interface (#60855) 6 years ago
Miguel Angel Muñoz González fc544069c8 Fortinet's new module for fortios_system_snmp_user (#60970) 6 years ago
Miguel Angel Muñoz González 9cfadf2c67 Fortinet's new module for fortios_system_object_tagging (#60852) 6 years ago
Miguel Angel Muñoz González e60b9e4944 Fortinet's new module for fortios_system_storage (#60971) 6 years ago
Miguel Angel Muñoz González 37bcb5b528 Fortinet's new module for fortios_system_password_policy (#60853) 6 years ago
Miguel Angel Muñoz González c6d88da332 Fortinet's new module for fortios_system_ntp (#60851) 6 years ago
Miguel Angel Muñoz González 107306a5d4 Fortinet's new module for fortios_system_network_visibility (#60850) 6 years ago
Miguel Angel Muñoz González 8b882be084 Fortinet's new module for fortios_system_switch_interface (#60972) 6 years ago
Miguel Angel Muñoz González da7ed1d8a6 Fortinet's new module for fortios_system_tos_based_priority (#60973) 6 years ago
Miguel Angel Muñoz González 7cc089f0d7 Fortinet's new module for fortios_system_vdom_netflow (#61034) 6 years ago
Miguel Angel Muñoz González d39addf6c0 Fortinet's new module for fortios_system_nd_proxy (#60848) 6 years ago
Miguel Angel Muñoz González 83f7007848 Fortinet's new module for fortios_system_netflow (#60849) 6 years ago
Miguel Angel Muñoz González 6a0078bee2 Fortinet's new module for fortios_system_vdom_link (#61033) 6 years ago
Miguel Angel Muñoz González 7988f828b3 Fortinet's new module for fortios_system_nat64 (#60847) 6 years ago
Miguel Angel Muñoz González 5a28feb81c Fortinet's new module for fortios_system_vdom_exception (#61032) 6 years ago
Miguel Angel Muñoz González 9d70b2db8c Fortinet's new module for fortios_system_management_tunnel (#60845) 6 years ago
Miguel Angel Muñoz González 0280bcbfca Fortinet's new module for fortios_system_mobile_tunnel (#60846) 6 years ago
Miguel Angel Muñoz González 6b5b4fa5e9 Fortinet's new module for fortios_system_link_monitor (#60843) 6 years ago
Miguel Angel Muñoz González 9245310c99 Fortinet's new module for fortios_system_vdom_property (#61035) 6 years ago
Miguel Angel Muñoz González fd11090663 Fortinet's new module for fortios_system_mac_address_table (#60844) 6 years ago
Miguel Angel Muñoz González c2f9292987 Fortinet's new module for fortios_system_ipv6_tunnel (#60842) 6 years ago
Miguel Angel Muñoz González 8d95455167 Fortinet's new module for fortios_system_ipv6_neighbor_cache (#60841) 6 years ago
Miguel Angel Muñoz González f8a6d6d991 Fortinet's new module for fortios_system_ips_urlfilter_dns (#60840) 6 years ago
Miguel Angel Muñoz González 0785ecf58b Fortinet's new module for fortios_system_ips_urlfilter_dns6 (#60839) 6 years ago
Miguel Angel Muñoz González cb4de3e2a6 Fortinet's new module for fortios_system_ipip_tunnel (#60838) 6 years ago
Miguel Angel Muñoz González b44e486fb0 Fortinet's new module for fortios_system_ha_monitor (#60837) 6 years ago
Miguel Angel Muñoz González bcb8364031 Fortinet's new module for fortios_system_gre_tunnel (#60836) 6 years ago
Miguel Angel Muñoz González 052baf8151 Fortinet's new module for fortios_system_custom_language (#60812) 6 years ago
Andrey Klychkov 191068a286 Issue 59955: add array handling to postgresql_query module (#60559)
* Issue 59955: add array handling to postgresql_query module

* Issue 59955: add array handling to postgresql_query module, improvements

* Issue 59955: add array handling to postgresql_query module, fix example comment
6 years ago
Miguel Angel Muñoz González 5fec75a91a Fortinet's new module for fortios_system_console (#60810) 6 years ago
Miguel Angel Muñoz González 63a6fe619c Fortinet's new module for fortios_switch_controller_storm_control (#60784)
* Fortinet's new module for fortios_switch_controller_storm_control

* Update fortios_switch_controller_storm_control.py
6 years ago
Craig Forrester 21accb132e Update azure_rm_aks.py (#61079) 6 years ago
Sumit Jaiswal a5a1f01d1e
Resource module for ios_lldp_interfaces (#61012)
* ios_lldp_interfaces resource

* fix shippable n reviews

* fix shippable

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* add enable lldp tc
6 years ago
Wojciech Wypior 62feb18210 added route domain support (#61077)
added diff functionality
6 years ago
Wojciech Wypior 3e1f35155c fixed an issue with LDAP credentials not saving on the device (#61073) 6 years ago
Wojciech Wypior e89d178440 fixed issue with no_tl3 option for client ssl profile (#61075)
added better error reporting in bigip_firewall_rule module
6 years ago
Wojciech Wypior 8bfa7569b5 removed deprecated parameters (#61071)
fixed multiple issues with integration tests
added RD support for source parameter
fixed a problem with name parameter in bigip_user module
6 years ago
Wojciech Wypior e5243ef1d7 enabled specyfing snat translation objects as pool members (#61076)
added route domain support
added diff functionality
6 years ago
Wojciech Wypior 3a689d3b1f added more examples of module usage (#61070) 6 years ago
Wojciech Wypior 3c19c75560 removes deprecated parameters (#61066)
adds diff functionality
fixes issue with serverscope parameter not setting on device
6 years ago
Wojciech Wypior 3fa7423e8e fixes an issue where config sync with the module fails if there are sync failures on a different device group than the one being synced (#61067) 6 years ago
Wojciech Wypior 306b6b728c adds new module for asm dos application profiles (#61063) 6 years ago
Wojciech Wypior 0210447fa7 fixes edge cases where software installation would time out if tomcat was not ready (#61065) 6 years ago
The Magician 3cd7182796 New Module: gcp_filestore_instance_info (#60997) 6 years ago
The Magician 21b14d95db Bug fixes for GCP modules (#60995) 6 years ago
The Magician 76cc8e9fc3 New Module: gcp_filestore_instance (#60996) 6 years ago
Andrey Klychkov cf291f272d Bugfix of issue 60707: add python-apt package to requirements of package_facts module (#60999)
* Issue 60707: add python-apt package to requirements of package_facts module, fix formatting, change fail msg
6 years ago
Sumit Jaiswal 35d457a14f
Resource module for ios_lldp_global (#60506)
* ios_lldp_global model

* final fix for lldp_global

* fix shippable n reviews

* fix reviews
6 years ago
Paul Belanger 4615139194
vos_config collection fix using FQCN (#60446)
This deals with hardcoded vos_config in our vyos action plugin. Needed
for when we move to collections.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
6 years ago
Alan Rominger 98827c7963 fix openstack bug with transforming group names (#53778) 6 years ago
Daniel Mellado 89e8feae0d
Fix junos_vlan documentation (#60278)
This commit fixes junos_vlan documentation so it no longer has any
reference to the non-valid value vlan_name.
6 years ago
Christopher Schmitt 4e7cd76c56 Add hcloud network info (#60932)
* Add hcloud network facts

* Add tests

* Rename fact to info, adjust tests

* Fix style

* Fix test

* Fix typo

* Adjust test

* Adjust test

* Rename subnets to subnetworks

* Adjustments

* Apply suggestions from code review

Co-Authored-By: Lukas Kämmerling <4281581+LKaemmerling@users.noreply.github.com>
6 years ago
Pedro Magalhães 145a6a8756 maven_artifact.py - add support for version ranges by using spec (#54309) 6 years ago
Lukas Kämmerling 96199be96b Rename hcloud_*_facts to hcloud_*_info (#60926)
* Rename hcloud_datacenter_facts to hcloud_datacenter_info

* Rename hcloud_location_facts to hcloud_location_info

* Rename hcloud_image_facts to hcloud_image_info

* Rename hcloud_floating_ip_facts to hcloud_floating_ip_info

* Rename hcloud_server_type_facts to hcloud_server_type_info

* Rename hcloud_server_facts to hcloud_server_info

* Rename hcloud_ssh_key_facts to hcloud_ssh_key_info

* Rename hcloud_volume_facts to hcloud_volume_info

* Fix typo in hcloud_image_info

* Add to porting guide and add changelog fragment

* Reword porting guide
6 years ago
Miguel Angel Muñoz González 839e9019ef Fortinet's new module for fortios_switch_controller_switch_group (#60787) 6 years ago
Abhijeet Kasurde 1c4c2f9519
meraki_webhook: Correct usages of variable (#60998)
Changed `wehooks` to `webhooks` in order to fix a typo.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Matt Davis bfa004930a
add subdir support to collection loading (#60682)
* add subdir support to collection loading

* collections may now load plugins from subdirs under a plugin type or roles dir, eg `ns.coll.subdir1.subdir2.myrole`->ns.coll's roles/subdir1/subdir2/myrole, `ns.coll.subdir1.mymodule`->ns.coll's plugins/modules/subdir1/mymodule.py
* centralize parsing/validation in AnsibleCollectionRef class
* fix issues loading Jinja2 plugins from multiple sources 
* resolves #59462, #59890,

* sanity test fixes

* string fixes

* add changelog entry
6 years ago
Miguel Angel Muñoz González 1aecdbb5c5 Fortinet's new module for fortios_switch_controller_switch_interface_tag (#60788) 6 years ago
Miguel Angel Muñoz González 1d8556710e Fortinet's new module for fortios_switch_controller_switch_log (#60789) 6 years ago
Miguel Angel Muñoz González df8cabb4ce Fortinet's new module for fortios_switch_controller_stp_settings (#60786)
* Fortinet's new module for fortios_switch_controller_stp_settings

* Update fortios_switch_controller_stp_settings.py
6 years ago
Miguel Angel Muñoz González 5041be8350 Fortinet's new module for fortios_switch_controller_sflow (#60783) 6 years ago
Miguel Angel Muñoz González af49cd0c4e Fortinet's new module for fortios_switch_controller_security_policy_captive_portal (#60782) 6 years ago
Felix Fontein c1b2aa1d11
nginx_status_facts: deprecate/rename to nginx_status_info (#60979)
* Rename nginx_status_facts -> nginx_status_info

* Add changelog.

* Remove warnings.

* Re-add ignore.txt entries.

* ...

* Raw strings for docs.

* Use U(...) for link.
6 years ago
Rohit 8b3ff933af
Vyos lldp interfaces (#60931)
* module_utils checkin

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* vyos lldp_interfaces merging

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* shippable fix

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* merge changes

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* failure added in ignore list

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* comments incorporated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* comments incorporated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* test cases updated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* remove global commands

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
6 years ago
chkp-orso f1d568749f fix: Checkpoint check_mode, add suboptions, return the facts (#60264)
* fix: check_mode, add suboptions, return the facts

* pip8, ansible_facts, get_payload

* add space to create PR

* remove space to create PR

* test tests of cp_network

* change for the test of network

* fixes to pass the tests

* fix tests

* Update ignore.txt
6 years ago
Pavan Bidkar b75fc87a86 VMware: New module for deploy VM from content library template (#60203)
* Fixed format issues reported by pre-check tests

* Changes as per review comments. using single api_client between util class and module

* re-running the task to check the idempotency of module object
6 years ago
Bojan Vitnik 04e0f9d4ea XenServer: When VM is in powered on state, plug newly added disks
Fixes: #60693
6 years ago
Apoorva Gururaja 2bbbc5fafc Update mso_schema_template_anp_epg.py (#59746)
* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py
6 years ago
Jordan Borean e747487720
ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553)
* ansible-galaxy: support multiple servers on install

* Added docs for the server configuration file

* Fix up doc string for requirements file format

* Fix bugs after testing

* Fix kwarg doc and added version

* Fix typo and doc improvement

* Fix base64 encoding and allow --server to override list
6 years ago
Nathaniel Case 764a81fce7
New module eos_lacp (#60698)
* Initial builder import

* Add tests

* Implement facts & config
6 years ago
The Magician 229219ab77 Bug fixes for GCP modules (#60920) 6 years ago
Kevin Breit 48a04fade4 Update host parameter notes to include China. (#60967) 6 years ago
Chris Archibald 673c9a3ee2 add import error (#60886) 6 years ago
Chris Archibald 3940a2c3c4 bug and doc fixes (#60888) 6 years ago
Chris Archibald 211fd2c95f small bug fix (#60890) 6 years ago
Chris Archibald cba8e12e3c bug fix, was not checking vserver (#60892) 6 years ago
Chris Archibald 684661b5e0 small bug fix (#60893) 6 years ago
Chris Archibald e1e2e61494 small update (#60894) 6 years ago
Chris Archibald 90d84dd162 doc update (#60895) 6 years ago
Chris Archibald cd093be8b2 small bug fix for elementsw_vlan (#60896) 6 years ago
Chris Archibald 4bffa76134 small bug fix for cifs acl (#60898) 6 years ago
Chris Archibald aae484dbae cg snapshot needs to use vserver (#60899) 6 years ago
Chris Archibald ad7b55f9ec update copyright (#60900) 6 years ago
Chris Archibald 099d18bb7e small doc update (#60902) 6 years ago
Chris Archibald f8913dce6e update copyright (#60903) 6 years ago
Chris Archibald a972ceb344 bug fixes for backup (#60904) 6 years ago
Chris Archibald 63d4de7e1c igroup has to use vserver (#60905) 6 years ago
Chris Archibald d62e75bf6d update copyright (#60906) 6 years ago
Chris Archibald ceee866794 fixes' (#60907) 6 years ago
Chris Archibald db465384b0 update copyright (#60908) 6 years ago
Sloane Hertel 3247626ac7 Warn when transforming constructed groups (#60912)
* Warn when transforming constructed groups

The `keyed_groups` field has used sanitization since 2.6, but `groups` only started doing so in 2.8.
This adds a warning for the change in behavior.

* changelog
6 years ago
Matt Martz ba25522db4
Remove ddeprecated redis_kv lookup. Fixes #59984 (#60826) 6 years ago
Arnaud Venturi 5acbb42dc4 Fix ssh example with sshd config (#60821)
The example tries to validate a sshd config, but provides sshd (server) a client configuration.
If trying to execute the given validation command on a client file, it doesn't work (e.g. running `/usr/sbin/sshd -T -f /etc/ssh/sshd_config` returns non-zero code)
6 years ago
Felix Fontein e58919bccd
gluster_heal_facts: rename to gluster_heal_info (#60919)
* Rename gluster_heal_facts -> gluster_heal_info

* Add changelog.
6 years ago
Felix Fontein c66163b118
hpilo_facts: rename to hpilo_info (#60917)
* Rename hpilo_facts -> hpilo_info

* Fix porting guide.

* Add changelog.
6 years ago
Miguel Angel Muñoz González 2e6458bb73 Fortinet's new module for fortios_switch_controller_security_policy_802_1X (#60779) 6 years ago
Miguel Angel Muñoz González 34bc40cfde Fortinet's new module for fortios_switch_controller_qos_queue_policy (#60777) 6 years ago
Miguel Angel Muñoz González d7b61b2adc Fortinet's new module for fortios_router_route_map (#60761)
* Fortinet's new module for fortios_router_route_map

* Update fortios_router_route_map.py
6 years ago
Will Thames 362c45517d aws_kms: fix failing tests (#60206)
Preserve tag key case by only calling camel_dict_to_snake_dict once,
before the tags are added.

Don't call assert_policy_shape as it seems to fail

Use aws_caller_info in the test suite now that it exists rather
than running `aws sts get_caller_identity`

Ensure that calls using `grant_types` can also use key aliases
6 years ago
Miguel Angel Muñoz González 7224114c3c Fortinet's new module for fortios_switch_controller_quarantine (#60778) 6 years ago
Miguel Angel Muñoz González 150b20ed1d Fortinet's new module for fortios_system_geoip_override (#60835) 6 years ago
Miguel Angel Muñoz González f578534c79 Fortinet's new module for fortios_system_ftm_push (#60834) 6 years ago
Miguel Angel Muñoz González f19851f1a3 Fortinet's new module for fortios_system_fsso_polling (#60832) 6 years ago
Miguel Angel Muñoz González 95338e9062 Fortinet's new module for fortios_system_fortisandbox (#60831) 6 years ago
Miguel Angel Muñoz González 6089509c8a Fortinet's new module for fortios_system_fortimanager (#60830) 6 years ago
Miguel Angel Muñoz González 869b5550c6 Fortinet's new module for fortios_system_fortiguard (#60829) 6 years ago
Miguel Angel Muñoz González fea50bef72 Fortinet's new module for fortios_system_fm (#60828) 6 years ago
Miguel Angel Muñoz González 7328c71adb Fortinet's new module for fortios_system_fips_cc (#60827) 6 years ago
Miguel Angel Muñoz González e223100f27 Fortinet's new module for fortios_system_external_resource (#60825) 6 years ago
Miguel Angel Muñoz González e2c3f67aad Fortinet's new module for fortios_system_email_server (#60824) 6 years ago
Miguel Angel Muñoz González 7cd380ddc3 Fortinet's new module for fortios_system_dscp_based_priority (#60823) 6 years ago
Miguel Angel Muñoz González 5deaf3f495 Fortinet's new module for fortios_system_dns_server (#60822) 6 years ago
Miguel Angel Muñoz González a804d03f87 Fortinet's new module for fortios_system_dns_database (#60817)
* Fortinet's new module for fortios_system_dns_database

* Update fortios_system_dns_database.py

* Update fortios_system_dns_database.py
6 years ago
Miguel Angel Muñoz González 1dc6c05521 Fortinet's new module for fortios_system_dhcp6_server (#60816) 6 years ago
Miguel Angel Muñoz González 1c75506e22 Fortinet's new module for fortios_system_dedicated_mgmt (#60815) 6 years ago
Miguel Angel Muñoz González 55110408c0 Fortinet's new module for fortios_system_ddns (#60813) 6 years ago
Miguel Angel Muñoz González e4f6d956a7 Fortinet's new module for fortios_system_csf (#60811) 6 years ago
Miguel Angel Muñoz González 6382f8cb46 Fortinet's new module for fortios_system_cluster_sync (#60807) 6 years ago
Miguel Angel Muñoz González ce8493fc4d Fortinet's new module for fortios_system_autoupdate_tunneling (#60804) 6 years ago
Miguel Angel Muñoz González 2e9b9d2a70 Fortinet's new module for fortios_system_autoupdate_schedule (#60803) 6 years ago
Miguel Angel Muñoz González 5557a9eb44 Fortinet's new module for fortios_system_autoupdate_push_update (#60802) 6 years ago
Miguel Angel Muñoz González 4cb81ad13f Fortinet's new module for fortios_system_auto_script (#60801) 6 years ago
Miguel Angel Muñoz González f3c288acf3 Fortinet's new module for fortios_system_automation_trigger (#60800) 6 years ago
Miguel Angel Muñoz González 3cd70f53cc FortiOS modules for 2.9 - 4 (#60806)
* FortiOS modules for 2.9 - 4

* Update ignore.txt

* Updates from maintainers to legacy modules

* Update fortios_firewall_ssl_setting.py

* Update fortios_firewall_ssl_server.py
6 years ago
Miguel Angel Muñoz González 2b103a2e54 Fortinet's new module for fortios_system_automation_stitch (#60799) 6 years ago
Miguel Angel Muñoz González 47dcd2ea23 Fortinet's new module for fortios_system_automation_destination (#60798) 6 years ago
Miguel Angel Muñoz González bef8a682d7 Fortinet's new module for fortios_system_automation_action (#60797) 6 years ago
Miguel Angel Muñoz González 2013f5e728 Fortinet's new module for fortios_system_auto_install (#60795) 6 years ago
Miguel Angel Muñoz González c5a29d0b0c Fortinet's new module for fortios_system_arp_table (#60794) 6 years ago
Miguel Angel Muñoz González e0e2be1447 Fortinet's new module for fortios_system_alias (#60793) 6 years ago
Miguel Angel Muñoz González 29df45cd95 Fortinet's new module for fortios_system_alarm (#60792) 6 years ago
Miguel Angel Muñoz González bc98bf67af Fortinet's new module for fortios_system_affinity_packet_redistribution (#60791) 6 years ago
Miguel Angel Muñoz González a97f4693d9 Fortinet's new module for fortios_system_affinity_interrupt (#60790) 6 years ago
Felix Fontein cd4736d893 missing_required_lib: add information how to change Python interpreter (#60736)
* Add information how to change Python interpreter used by Ansible.

* Update lib/ansible/module_utils/basic.py

Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>

* Make test less dependent on exact message.
6 years ago
Miguel Angel Muñoz González a9405456bc Fortinet's new module for fortios_switch_controller_qos_qos_policy (#60776)
* Fortinet's new module for fortios_switch_controller_qos_qos_policy

* Update fortios_switch_controller_qos_qos_policy.py
6 years ago
Miguel Angel Muñoz González 1845ca164f Fortinet's new module for fortios_system_resource_limits (#60879)
* Fortinet's new module for fortios_system_resource_limits

* Update fortios_system_resource_limits.py
6 years ago
Miguel Angel Muñoz González 1143ebf973 Fortinet's new module for fortios_switch_controller_qos_ip_dscp_map (#60775)
* Fortinet's new module for fortios_switch_controller_qos_ip_dscp_map

* Update fortios_switch_controller_qos_ip_dscp_map.py
6 years ago
Sumit Jaiswal 8a8798c373
Resource module for ios_lacp_interfaces (#59516)
* ios lacp interfaces

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
6 years ago
Sumit Jaiswal 642e54f958
Resource module for ios_lacp (#60884)
* ios lacp resource

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
6 years ago
patocl 5027416fb5 Sort version list on azure_rm_aksversion_facts (#60820) 6 years ago
Abhijeet Kasurde dae2040717
VMware: refactor REST APIs (#60220)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
The Magician 95aa86fcc3 Bug fixes for GCP modules (#60719) 6 years ago
The Magician 5c8855b404 Bug fixes for GCP modules (#60720) 6 years ago
The Magician bf57668423 Bug fixes for GCP modules (#60721) 6 years ago
The Magician 57a248764c Bug fixes for GCP modules (#60722) 6 years ago
The Magician 73623c0029 Bug fixes for GCP modules (#60723) 6 years ago
The Magician 2f033b6169 Bug fixes for GCP modules (#60724) 6 years ago
Nathaniel Case efa163a2e8
New module eos_lag_interfaces (#60610)
* Copy module files

* Deprecate eos_linkagg

* Add tests
6 years ago
Paul Belanger 7c704526f3
Remove unused variable from iosxr_logging (#60865)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
6 years ago
radag87 8bac810e38 Update user.py (#60746)
Return value `ssh_key_file` is the private key, not the public key
6 years ago
rfrench42 13f5e930a4 Added support for addtional partitions in ARN (#28699) (#28704) 6 years ago
Paul Belanger cd256256f8
Remove unused imports for iosxr modules (#60819)
These are not used and can be removed.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
6 years ago
Jill R 129e998276
EC2: Don't count instances in 'shutting-down' as running (#60709)
state: shutting-down is a precursor to terminated and should be treated
as such for exact_count.
Fixes #55955
6 years ago
Paul Belanger 2f05953b52
Remove unused import for ios_l2_interface (#60814)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
6 years ago
Nathaniel Case d9ffc61539
Add new module eos_l2_interfaces (#59794)
* Add module files for l2_interfaces

* Add module_utils

* Add tests

* Deprecate eos_l2_interface

* Clean up tests so eos_vlan will still pass
6 years ago
Sumit Jaiswal 04ef376ab2
Resource module for ios_lag_interfaces (#60672)
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
6 years ago
Dusan Matejka 31bfcd4745 Reworked zabbix_template to support XML import/export + updated documentation (#59040) 6 years ago
Miguel Angel Muñoz González d0dac80e41 Fortinet's new module for fortios_spamfilter_iptrust (#60767)
* Fortinet's new module for fortios_spamfilter_iptrust

* Update fortios_spamfilter_iptrust.py
6 years ago
Miguel Angel Muñoz González 9ffe16c7cb Fortinet's new module for fortios_spamfilter_mheader (#60768)
* Fortinet's new module for fortios_spamfilter_mheader

* Update fortios_spamfilter_mheader.py
6 years ago
Miguel Angel Muñoz González b5823d078b Fortinet's new module for fortios_switch_controller_802_1X_settings (#60770)
* Fortinet's new module for fortios_switch_controller_802_1X_settings

* Update fortios_switch_controller_802_1X_settings.py
6 years ago
Miguel Angel Muñoz González b7f90dcce0 Fortinet's new module for fortios_spamfilter_bwl (#60763)
* Fortinet's new module for fortios_spamfilter_bwl

* Update fortios_spamfilter_bwl.py
6 years ago
Miguel Angel Muñoz González e5a1fb2a29 Fortinet's new module for fortios_spamfilter_bword (#60764)
* Fortinet's new module for fortios_spamfilter_bword

* Update fortios_spamfilter_bword.py
6 years ago
Miguel Angel Muñoz González ba44b2a0f8 Fortinet's new module for fortios_spamfilter_dnsbl (#60765)
* Fortinet's new module for fortios_spamfilter_dnsbl

* Update fortios_spamfilter_dnsbl.py
6 years ago
Miguel Angel Muñoz González 843a51628b Fortinet's new module for fortios_router_ripng (#60760)
* Fortinet's new module for fortios_router_ripng

* Update fortios_router_ripng.py

* Update fortios_router_ripng.py
6 years ago
René Moser 4b743a2721
vultr: use exponential backoff for api query retries (#60529) 6 years ago
Miguel Angel Muñoz González f9f882a981 Fortinet's new module for fortios_switch_controller_qos_dot1p_map (#60774) 6 years ago
Miguel Angel Muñoz González 8039dea8c4 Fortinet's new module for fortios_switch_controller_igmp_snooping (#60772) 6 years ago
Miguel Angel Muñoz González 6d93cddd58 Fortinet's new module for fortios_switch_controller_custom_command (#60771) 6 years ago
Ujwal Komarla cbdbf24d15 Terminal prompt Regex update for VPEX mode (#60547) 6 years ago
Miguel Angel Muñoz González b48e51cf6d Fortinet's new module for fortios_spamfilter_options (#60769) 6 years ago
Miguel Angel Muñoz González 4a99c5f64b Fortinet's new module for fortios_spamfilter_fortishield (#60766) 6 years ago
Miguel Angel Muñoz González a9566d1b99 Fortinet's new module for fortios_router_static6 (#60762) 6 years ago
Ganesh Nalawade 49736b6b27
Add support to configure network_cli terminal related options (#60086)
* Add support for configurable terminal plugin options

Fixes #59404

*  Add terminal options to support platform specific login menu
*  Add terminal options to support configurable options for stdout
   and stderr regex list

* Fix CI failures

* Fix CI issues

* Fix review comments and add integration test

* Fix sanity test failures

* Fix review comments

* Fix integration test case

* Fix integration test failure

* Add support to configure terminal related options

Fixes https://github.com/ansible/ansible/issues/59404

*  Add network_cli configurable options to support platform specific login menu
*  Add network_cli configurable options to support configurable options for stdout
   and stderr regex list

* Fix review comment

* Fix review comment
6 years ago
Nathaniel Case 446dcb7c96
New module eos_vlans (#60652)
* Initial commit of module files

* Add tests, implement facts

* Implement config, fix issues

* Handle vlan ranges from the device

* Deprecate eos_vlan
6 years ago
Miguel Angel Muñoz González 256db658b7 Fortinet's new module for fortios_router_prefix_list6 (#60759) 6 years ago
Miguel Angel Muñoz González decb016a2d FortiOS modules for 2.9 - 3 (#60678)
* FortiOS modules for 2.9 - 3

* Remove default values in doc, as suggested from review

* Retriggering due to shippable failure

* Update fortios_firewall_ipv6_eh_filter.py

* Update fortios_firewall_ipmacbinding_setting.py

* Update fortios_firewall_ippool.py

* Update fortios_firewall_local_in_policy6.py

* Update fortios_firewall_local_in_policy.py
6 years ago
Rohit d8f9904f43
vyos_lldp_global (#59627)
* vyos_lldp_global

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* sanity checks

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* deprecated changes

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* comments incorporated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* test cases updated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* comments incorporated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* branch conflict resolved

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* sanity check passes

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
6 years ago
Sumit Jaiswal b55a54469c
Resource module for ios_vlans (#59640)
* ios_vlans resource module

* fix shippable error

* fix shippable

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix vlans resource

* fix facts doc

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix shippable n review

* fix test

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix indentation

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix review

* fix shebang

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
6 years ago
Mark Chappell 8e99f0ecc6 aws_kms: Rename various policy manipulation options to reduce confusion (#60561)
* aws_kms: Rename various policy manipulation options to reduce confusion

AWS KMS now has the concept of issuing a 'grant', which is independent
of the policy attached to a key.  Rename the following options to make
it clearer that the operate on the CMK Policy *not* on CMK Grants

* aws_kms: don't just rename grant_types/mode, deprecate them too.
6 years ago
Miguel Angel Muñoz González 20f9e72c74 Fortinet's new module for fortios_router_key_chain (#60758) 6 years ago
Miguel Angel Muñoz González be639a57f8 Fortinet's new module for fortios_router_isis (#60757) 6 years ago
Miguel Angel Muñoz González 174a854e05 Fortinet's new module for fortios_router_community_list (#60756) 6 years ago
Miguel Angel Muñoz González 78a382e91d Fortinet's new module for fortios_router_aspath_list (#60755) 6 years ago
Felix Fontein 7a9e865a23 docker_image_info: improve docs (#60622)
* Improve return value documentation.

* Improve example.

* Fix typo.

* Update lib/ansible/modules/cloud/docker/docker_image_info.py

Co-Authored-By: Alicia Cozine <879121+acozine@users.noreply.github.com>

* Update lib/ansible/modules/cloud/docker/docker_image_info.py

Co-Authored-By: Alicia Cozine <879121+acozine@users.noreply.github.com>
6 years ago
Ryan Butler 555b8413a1 VMware: Add uptime and maintenance mode in vmware_host_facts (#60688)
* adding host facts
* adding to test
6 years ago
Jordan Borean aea52c67d6
ansible-galaxy: create parent dir for token file (#60615)
* ansible-galaxy: create parent dir for token file

* The path unfrack is already done by config

* Move common dir creation to ansible cli

* Add warning if dir failed to be created

* remove testing path

* Make mode a position arg not kwarg
6 years ago
Klaus Frank fb2c1d4577 Make win_domain_user idempotent for password changes (#58383)
* Make win_domain_user idempotent for passwordchanges

* Add changelog fragment

* Use test-credentials function from win_user.

* Split domain from username

* Update win_domain_user.ps1

* Fix ci

* Update win_domain_user.ps1

Fix ci

* Implement review

* Logic cleanup and remove securestring

* Fix typo

* fix syntax

fix syntax

* Use AD object instead of user input as requested by review

* migrate to Ansible.AccessToken
6 years ago
Klaus Frank 811153afb1 Add exception handling to win_domain_controller (#58234)
* Add exception handling to win_domain_controller

* Add changelog

* Fix PSUseDeclaredVarsMoreThanAssignments

* Remove dns domain cannot be resolved error message

As requested by PR review in https://github.com/ansible/ansible/pull/58234#discussion_r300509880
6 years ago
Klaus Frank cc5957001c win_domain reboot required exception incorrectly reported (#60496)
* Set reboot required dependent on exception message.

* Use exception id instead of it's message
6 years ago
Felix Fontein 0d88ec241f
openssl_certificate: fix idempotency (#60745)
* Fix openssl_certificate idempotency.

* Add changelog.

* Add integration test.
6 years ago
Felix Fontein 16056f4978
openssl_certificate: check for existence before loading CSR / private keys / ... (#60740)
* Check file existence before loading files.

* Remove superfluous import.

* Add changelog.
6 years ago
Hannes Ljungberg 13364fc530 docker_swarm_service: Allow passing dicts in networks (#58961)
* Add support for passing networks as dicts

* Add function to compare a list of different objects

* Handle comparing falsy values to missing values

* Pass docker versions to Service

* Move can_update_networks to Service class

* Pass Networks in TaskTemplate when supported

* Remove weird __str__

* Add networks integration tests

* Add unit tests

* Add example

* Add changelog fragment

* Make sure that network options are clean

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Set networks elements as raw in arg spec

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Fix wrong variable naming

* Check for network options that are not valid

* Only check for None options

* Validate that aliases is a list
6 years ago
Felix Fontein 26b9c81a8e
crypto modules: fix sanity errors (#60046)
* Remove sanity warnings.

* Linting.

* More linting.

* Forgot one place.

* no_bytes -> num_bytes
6 years ago
Felix Fontein ceff0029cb
openssl_certificate: deprecate assertonly provider (#60623)
* Add deprecation marks.

* Add conversion example.

* Split long line.

* Add changelog and porting guide entry.

* Fix unrelated porting guide entry.

* Fix format.

* Fix doc mistakes found in review.

* Fix filter name.

* Compare CSR and cert subject via subject_ordered.
6 years ago
Chris Trufan 86366530e8 Entrust Datacard - Support for "entrust" provider in openssl_certificate module (#59272)
* Addition of entrust provider to openssl_certificate module

* Fix native return values of error messages and JSON response.

* Documentation and syntax fixes per ansibot.

* Refactored structure of for loop due to ansible test failures in python 2.6

* Remove OCSP functionality for inclusion in possible seperate future pull request.

* Remove reissue support.

* Indicate the entrust parameters are specific to entrust.

* Comment fixes to make it clear module_utils request is used.

* Fixes to not_after documentation

* Response to pull request comments and cleanup of error handling for bad connections to properly use the 'six' HttpError for compatibility with both Python 2/3 underlying url libraries.

* pep8/pycodestyle fixes.

* Added code fragment and response to comments.

* Update license to simplified BSD

* Fixed botmeta typo

* Include license text in api.yml

* Remove unsupported certificate types, and always submit an explicit organization to match organization in CSR

* Fix documentation misquote, add expired to a comment, and fix path check timing.

* Update changelogs/fragments/59272-support-for-entrust-provider-in-openssl_certificate_module.yaml

Co-Authored-By: Felix Fontein <felix@fontein.de>
6 years ago
Sumit Jaiswal ab07c206aa
Resource module for ios_l2_interfaces (#60344)
* ios_l2_interface checkin

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
6 years ago
Paul Belanger c11d144302 Remove unused imports / variables for junos (#60705)
* Remove unused imports / variables for junos

This is to help with the migration to collections.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>

* Remove duplicate execute_module() function for junos lacp_interfaces

This seems to have passed lint checks, but something we caught in
collection migration.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
6 years ago
Felix Fontein 6a786d0d93
openssl_publickey: add cryptography backend (#60387)
* Add cryptography backend.

* Add changelog.

* Make sure requirements are satisfied.

* Use more compatible elliptic curve.

* Decrease required version numbers.

* PyOpenSSL >= 16.0.0 is really needed.

* Update lib/ansible/modules/crypto/openssl_publickey.py

Co-Authored-By: MarkusTeufelberger <mteufelberger@mgit.at>
6 years ago
Felix Fontein 601a4b8f47
get_certificate: add cryptography backend (#60599)
* Add cryptography backend for get_certificate.

* Add changelog.

* Use short names (if possible).

* Adjust version (to behave as pyOpenSSL).

* Work around bugs (needed for cryptography 1.2.3).

* Don't run cryptography backend tests for CentOS 6.

* Bump cryptography requirement to 1.6 or newer.

Otherwise, signature_algorithm_oid isn't there, either.

* Simplify requirement text.

* CentOS 6 has cryptography 1.9, so we still need to block.

* Add auto-detect test.

* Improve YAML.
6 years ago
Felix Fontein 38435e1bd0
openssl_certificate: various assertonly bugfixes (#60658)
* Fix get_relative_time_option for byte string input. Also fix it for None input.

* Using correct property for invalid_at check.

* Fix invalid_at comparison.

* Converting relative timestamps before comparison for valid_at and invalid_at.

* Fixing key usage display for cryptography backend.

* Fix key usage comparison. OBJ_txt2nid always returns 0 for key usage identifiers.

* Add changelog.

* Fix pyOpenSSL key usage comparison.
6 years ago
Felix Fontein cf69b73c04
openssl_certificate/csr_info: add ordered issuer/subject return value (#60708)
* Add ordered issuer/subject return value.

* Add changelog.
6 years ago
Lukas Kämmerling 100b56439e hcloud_server: Allow users to enable/disable the rescue mode (#60070) 6 years ago
Fabrizio Dall'ara 85f7a7e848 Adding Port Security Timeout option in Interface Policy Port Security (#57108)
* Adding support for port security timeout attribute for ACI Interface Policy Port Security

- Feature Pull Request

Network Module ACI

lib:  _aci_intf_policy_port_security.py

* Fixing missing quotes

* Fixing errors raised by ansible-test sanity test

pylint error E321 missing whitespace after comma

Added version 2.9 as version_added

* Fixing the missing version_added under new port_security_timeout option
6 years ago
Derrick Johnson 175f80c788 aci_epg_to_domain - Add switching_mode support (#58429)
* aci_epg_to_domain - Add switching_mode support

##### SUMMARY
When deploying an AVE with VXLAN, the switching mode cannot be native and must be AVE.

##### ISSUE TYPE
- Feature Pull Request

+label: docsite_pr

* Update aci_epg_to_domain.py

* Update aci_epg_to_domain.py
6 years ago
sig9org 82a00afffb Add aci_extepg.py and aci_extsubnet.py (#58079)
* Add aci_extepg.py and aci_extsubnet.py

* Check pep8 style.

* Remove aci_extsubnet.py.

* Rename to aci_l3out_extepg

* Change file name. (aci_extepg.py -> aci_l3out_extepg.py)
6 years ago
Derrick Johnson bb7da4239b Fix INTERSITE BUM TRAFFIC ALLOW (#58608)
##### SUMMARY
The payload was using the incorrect keyword to push the True or False statement to the device and was getting dropped. This would also result in erroring out if layer2_unknown_unicase was set to Flood instread of Proxy.


##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
6 years ago
Nirav Katarmal b34002bb55 Added preferred group attribute to epg (#59779) 6 years ago
The Magician 11862782ff Bug fixes for GCP modules (#60666) 6 years ago
Matt Davis 68f1e42d95 Minimize collection loader ansible imports
* pass in optional config instead of importing, so other things (eg ansible-test, units) don't have to take a config dependency
6 years ago
Paul Belanger 7f280434de
Remove unused import from eos facts (#60694)
Code clean up to help with collections migration

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
6 years ago
The Magician da57c3b334 Bug fixes for GCP modules (#60664) 6 years ago
The Magician 7cee7a6d90 Bug fixes for GCP modules (#60665) 6 years ago
The Magician 8d33e9ae4d Bug fixes for GCP modules (#60667) 6 years ago
The Magician 818d1b2e45 New Module: gcp_cloudfunctions_cloud_function (#60668) 6 years ago
Jiri Tyr 134379b273 Updating documentation for the setup module (#60696) 6 years ago
The Magician e7a8e48053 New Module: gcp_cloudfunctions_cloud_function_info (#60669) 6 years ago
Dusan Matejka df9b4faa9f Documented disadvantages of using default zabbix password for all zab… (#60639)
* Update lib/ansible/plugins/doc_fragments/zabbix.py
6 years ago
Mauricio Accetturi Carvalho 477b34c440 Add network and vpc to args (#60657)
* Add network and vpc to args

network and vpc are needed when create a loadbalancer in a vpc in a recent adquired public ip

* version_added in new args
6 years ago
Miguel Angel Muñoz González 7e22c7482e Fortinet's new module for fortios_switch_controller_system (#60691) 6 years ago
Miguel Angel Muñoz González b4f210945e Fortinet's new module for fortios_system_ha (#60689)
* Fortinet's new module for fortios_system_ha

* Retriggering Ansible checks due to strange failure
6 years ago
Miguel Angel Muñoz González ca28ae3be5 FortiOS modules for 2.9 - 2 (#60598)
* FortiOS modules for 2.9 - 2

* Fix long lines and ignore.txt
6 years ago
Sumit Jaiswal 585bfead75
fix ios_interfaces (#60687) 6 years ago
Mitsuru Nakakawaji 064cd63f3d fix: docker_swarm_service does not publish both tcp and udp ports (#60616)
* fix: docker_swarm_service does not publish both tcp and udp ports for same published port

* fix the linting problems and add the changelog fragment.

* add test

* modify test to ensure result rather than return value
6 years ago
Felix Fontein 48541910bf
docker_container: add mount endpoint collision detection (#60384)
* Add mount endpoint collision detection.

* Add changelog.

* Fix error.
6 years ago
Alex Stephen 523e40e993 nonetype error (#60603) 6 years ago
Dane DeValcourt c5c270d9f7 Typo fix in nxos_file_copy.py (#60659)
Corrected typo in example documentation "local_filr_directory" to "local_file_directory"
6 years ago
zingyb 06d1705752 Fix mispelling in postgresql_query docs (#60648)
Changed `arbitraty` to `arbitrary` in postgresql_query docs
6 years ago
Patrick Marques 39d249155a Deprecates Digital Ocean sshkey_facts in favor of new module sshkey_info (#60546)
* Renames Digital Ocean sshkey_facts modules to sshkey_info

* Change digital_ocean_sshkey_facts status to deprected

* Update digital_ocean_sshkey _facts _info doc

* Allow digital_ocean_sshkey_info in Check Mode

* Update lib/ansible/modules/cloud/digital_ocean/_digital_ocean_sshkey_facts.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Fix _info added version
6 years ago
Simon Dodsley 491a47c7c5 Pure modules: rename _facts with ansible_facts result to _info (#60641) 6 years ago
Paul Belanger 2ce082c277
Remove unused imports / variables (#60654)
This is to help with the migration to collections.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
6 years ago
Paul Belanger 37b30d18f3
Remove unused variable (#60485)
This is to keep our linters happy for ansible_collection vyos migration.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
6 years ago
Andreas Jaeger 8b78ba095c Fix capitalization of SUSE (#60625)
The openSUSE project was always capitalized openSUSE, and SUSE does not
use the lowercase "u" since over 15 years. Let's update the docs for
this.
6 years ago
Simon Dodsley c2160274c6 Update purefa_facts to show details on connected arrays (#60368) 6 years ago
Jordan Borean 4ebac7d5b7
ansible-galaxy - more fixes for verbosity without sub type (#60604)
* ansible-galaxy - more fixes for verbosity without sub type

* remove testing line
6 years ago
Matt Clay 25b20adb94 Fix git module when using absolute repo path.
This prevents a traceback when `repo` is set to an absolute path.
6 years ago
Nathaniel Case 7d3c4a8882
Delay persistent connection until needed (#59153)
* Delay calling connect() until absolutely necessary

* Implement transport_test to enable wait_for_connection

* plugin might be connected already for some reason?

* ensure_connect for httpapi

There's some become shenanigans still needing to be ironed out

* Fix tests for network_cli
6 years ago
René Moser f02f5c4b5d
cloudscale_server: add tags support (#60396) 6 years ago
René Moser 5298d312a2
cloudscale_server_group: add tags support (#60397) 6 years ago
Lukas Kämmerling 4a09c7a920 hcloud: Add hcloud_rdns Module (#60123) 6 years ago
Richard Bonett 814e24fab5 Add note about registering floating IP (#60494)
* Add note about registering floating IP

* Remove trailing whitespace

* adds info to 'wait' param, edits
6 years ago
Chris Archibald 206594c5f0 New Module: Volume Autosize (#59936)
* add new module

* update volume
6 years ago
Chris Archibald fed6598e28 fixes (#60146) 6 years ago
Miguel Angel Muñoz González 4cae96109b FortiOS modules for 2.9 - 1 (#60469)
* FortiOS modules for 2.9 - 1

* Fix empty choices and avoid E337,E338 warnings

* Ansible comments on version_added and ignore.txt only on this PR files

* Add version_added also for state attribute

* Avoid null choices on dlp_sensor

* Change required flag according to argspec
6 years ago
Ganesh Nalawade 5923a64b20 Update junos_facts gather_network_resources choices (#60467)
*  Add negation choice for individual resource names
6 years ago
Paul Belanger 55d3ecff01 Remove unused variables / imports (#60505)
These helps with the clean up of migrating eos to a collection.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
6 years ago
Chris Archibald 645eebdbbb new options (#60142) 6 years ago
Chris Archibald ae794369f8 new module: na_ontap_vserver_cifs_security (#59817)
* new module

* fixes
6 years ago
Rohit 69bc24f607
lag interfaces resource module (#59175)
* lag interfaces resource module

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* sanity check imports

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* sanity fixes

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* dict_diff usage issue fix

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* new task

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* overridden updated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* dict update

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* comments incorporated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* facts merged

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* rebased and merged

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* new failures added

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* obsolete file removed

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* test cases updated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* comments incorporated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* dependency added

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
6 years ago
Martin Nečas d8d00c36fa ovirt_vm add linux boot param warning (#60474)
* ovirt_vm add kernel param check

* update check

* update docs phrase

* use douple quotes
6 years ago
Alexandre Mulatinho b2f1993b20 FreeIPA: Add dynamic update to zones in IPA (#59489)
This feature add a new option to `ipa_dnszone` called
**dynamicupdate** as requested by issue #46768.

It allow user to change between default option `false`
to `true` if user/sysadmin wishes to make zone dynamically
updated.

Fixes #46768

Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>
6 years ago
Alexandre Mulatinho 7b0a5fb487 ipa_dnsrecord.py: ttl is not required to change zones in ipa (#59924)
this fixes the error reported on issue #56872, is user not pass the argument
module 'record_ttl' it simples removes from json dictionary to make the
correct post request.

Fixes #56872
Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>
6 years ago
Ryan Butler abf7cf97df VMware: Fix typo in vmware_host_dns_facts.py (#60542)
Correct *search_doamin* to *search_domain*
6 years ago
Felix Fontein 99fb0fcb2f docker_logout: report change on successful logout (#60381)
* Mark logout as changed when docker logout does not return 'Not logged in to '.

* Add changelog.

* Improve logout detection.

* Also return output of 'docker logout'.
6 years ago
Stefan Horning 6337fbbfe5 Fix naming in example code documentation section for aws_codebuild and aws_codepipeline modules (#60495) 6 years ago
Trishna Guha d5d88f9b11
Add nxos_interfaces resource module (#60421)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
6 years ago
Sam Doran 0f35e4b7b9 apt_facts - Fix cache related performance regression (#60511)
* apt_facts - Fix cache related performance regression

* Another minor performance improvement
6 years ago
Jordan Borean 737a500a30
template - move backup to its own doc (#59893)
* template - move backup to its own doc

* Use the backup doc fragment for template
6 years ago
Brian Coca a8d01cf2a2 Made galaxy token file location configurable (#59387)
* Made galaxy token file location configurable

  also made file handling 'unicode safe'

* only create a token on demand

* convert into decorator in case other funcs need
6 years ago
Jordan Borean 14a7722e39
ansible-galaxy tidy up arg parse with better validation (#59957)
* ansible-galaxy tidy up arg parse with better validation

* Add support back in for -v before sub aprser

* Added deprecation warning for manually parsed verbosity
6 years ago
René Moser 7a2483c47e purefa_phonehome: implement check mode support (#57585) 6 years ago
pguermo 8923d13537 proxmox_kvm: While a VM is beeing created, vm has no name item (#58196)
* While a VM is beeing created, vm as no name attribute

* Add changelogs fragment
6 years ago
Iain Madder 1b1216d2d1 Update file.py's help doc, and narrow down diff logic, for recent pull 56353 (#59069)
* Limiting when path_content is generated

path_content will be empty and unnecessary in all scenarios except when changing the state of a folder to absent, so adding in a check to limit when this parameter is defined
6 years ago
Simon Dodsley 848c945a2c Fix updating hosts idempotency in purefa_host (#60367) 6 years ago
Matt Martz ba81084a49
Provide nice error when the shell plugin is incompatible with the con figured become plugin (#60441)
* Provide nice error when the shell plugin is incompatible with the configured become plugin. Fixes #57770

* Add todo

* Add missing import
6 years ago
Nathaniel Case 6b5c7f7c42
Add new module eos_interfaces (#59729)
* Move module_utils

* Add eos_interfaces and deprecate eos_interface

* Add boilerplate, update ignores.txt

* Try to reconcile eos provider documentation with argspec

* Try to work around unknown interfaces

* Move param_list_to_dict to utils
6 years ago
Chris Archibald 2e819c87db new options (#60145) 6 years ago
Gonéri Le Bouder df2a09e998 vmware: avoid unnecessary copy() call (#60476)
Two vmware modules uses copy() to duplicate an internal instance of a
pyvmomi object. This to be able to modify the object during an iteration.

See: https://github.com/ansible/ansible/pull/60196/files#r312643761

Closes: #60399
6 years ago
Shaun M fa783c027b Adding waiter to cluster remove process (#57324)
* Adding waiter to cluster remove process

* blank line contains whitespace

* update aws_eks integration test

* Refactor aws_eks test suite to use pip

* update version testing

* missing parens...

* add changelog fragment

* Add waiter to module_utils, fix exception handling.

* Correct EKS waiter checks
6 years ago
Felix Fontein 2d98734ad5 Amazon modules: rename _facts with ansible_facts result to _info (#60178)
* aws_s3_bucket_facts -> aws_s3_bucket_info

* cloudformation_facts -> cloudformation_info

* cloudfront_facts -> cloudfront_info

* ecs_service_facts -> ecs_service_info

* efs_facts -> efs_info

* Add changelog and porting guide entry.

* lambda_facts -> lambda_info

* Improve examples.

* Add subsection on renamed modules.

* Add sentence on registering variables.

* Fix ReST.

* Instead of renaming lambda_facts, deprecate it and replace with new module.

* Rename internal variable.

* Re-add sanity ignores for lambda_facts.
6 years ago
Martin Nečas dee13ea4f8 ovirt vm update kernel docs (#60407)
* ovirt vm update kernel docs

* update doc phrase

* update docs
6 years ago
Martin Nečas e3d13cbcdc Ovirt host update force docs (#60202)
* update docs

* update pep8 syntax

* update pep8 syntax
6 years ago
Martin Nečas 5972567ab6 ovirt_vm update tempalte search by datacenter (#60461) 6 years ago
Nilashish Chakraborty 6110dcc789
Add iosxr_lldp_interfaces resource module (#60411)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
6 years ago
Matt Davis a40baf22fa
various mod_args fixes (#60290)
* various mod_args fixes

* filter task keywords when parsing actions from task_ds- prevents repeatedly banging on the pluginloader for things we know aren't modules/actions
* clean up module/action error messaging. Death to `no action in task!`- actually list the candidate modules/actions from the task if present.

* remove shadowed_module test

* previous discussion was that this behavior isn't worth the complexity or performance costs in mod_args

* fix/add test, remove module shadow logic

* address review feedback
6 years ago
Ganesh Nalawade 9efa00e762
Add [junos_lldp_global] model (#59712)
* Add [junos_lldp_global] model

*  Add new resource module junos_lldp_global
*  Targets model https://github.com/ansible/network/pull/30
*  Deprecate junos_lldp module

* Run lldp integration test only if protocol supported
6 years ago
Trishna Guha 0acf7be56a
Add nxos_lacp_interfaces resource module (#60313)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
6 years ago
yanzhangi 4512f664a7 Update ce_bfd_global to fix bugs (#60412) 6 years ago
sky-joker c27b5ae1a3 add option proxy to get_certificate module (#60076)
* add option proxy to get_certificate module

* Add python 2.7 or higher to requirements

* Modify requirements and add create_default_context module import check processing

* add changelog file for get_certificate

* Modify changelog file
6 years ago
Daniel 262d2a6837 Update docs with file deletion details as recommended in #59051 (#60168) 6 years ago
Dan Hemberger 8346898605 [docs] Fix subversion.py export example (#60438)
The svn export example was missing the `export: yes` parameter. It was accidentally omitted when the syntax was changed in ad6999e2eb.
6 years ago
James Cassell 8bca160363 add vfat to selinux special_context_filesystems (#59823)
vfat is the format of the /boot/efi partition on UEFI hosts and does
not support SELinux labels

add an environment variable for this config option
6 years ago
The Magician 6cb5b67b22 Bug fixes for GCP modules (#60115) 6 years ago
The Magician be459c00bf Bug fixes for GCP modules (#60337) 6 years ago
The Magician 687da46a85 Bug fixes for GCP modules (#60338) 6 years ago
helterskelter01 0855820574 Update package_facts.py (#60402)
Fixed a type in the description about the package_facts module where information was typed informatino.
6 years ago
Alexander Kapshuna d320222eb3 gitlab_runner: document minimal dependency version (#60371) 6 years ago
Alexander Kapshuna 273a2d7a79 gitlab_runners (#60370)
Fix choices formatting in plugin option.
6 years ago
Adrian L Lange 7e69d67f28 Fix firewalld rich_rule example (#60379)
The rich rule example didn't specify the `family` field, which firewalld will fail on if not provided.
6 years ago
Marius Gedminas c71622b31a user: createhome=no home=/no/such/dir (#60310)
Fixes #60307.

This bug was introduced in commit d2edf1d435
("User - Create parent directories if they do not exist in the specified
home path (#51043)") and did not make it into any releases.
6 years ago
Chris Archibald 13403b3688 update to command (#60141) 6 years ago
Chris Archibald 5df9075386 New Module: na_ontap_ports (#59814)
* new module

* fixes
6 years ago
Nathan Swartz abc5654738 Fix netapp_e_iscsi_target chap secret size and clearing functionality. (#57135) 6 years ago
Nilashish Chakraborty 09f712c7f3
Add iosxr_lldp_global resource module (#60074)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
6 years ago
Dmitriy Rabotyagov 8d3fa2251e Search project in domain when it's defined (#59876)
Since there might be several projects with the same name in different
domains, it's required to define domain_id during project search.
Otherwise openstacksdk will raise "Multiple matches found" error
6 years ago
Miguel Angel Muñoz González 60a1545092 Fortinet's new module for fortios_switch_controller_vlan (#59630)
* Fortinet's new module for fortios_switch_controller_vlan

* Update fortios_switch_controller_vlan.py

* Update fortios_switch_controller_vlan.py
6 years ago
Miguel Angel Muñoz González f1a4ab0aa5 Fortinet's new module for fortios_switch_controller_virtual_port_pool (#59601)
* Fortinet's new module for fortios_switch_controller_virtual_port_pool

* Update fortios_switch_controller_virtual_port_pool.py

* Update fortios_switch_controller_virtual_port_pool.py
6 years ago
Miguel Angel Muñoz González 079a4408ab Fortinet's new module for fortios_switch_controller_switch_profile (#59683)
* Fortinet's new module for fortios_switch_controller_switch_profile

* Update fortios_switch_controller_switch_profile.py

* Update fortios_switch_controller_switch_profile.py
6 years ago
René Moser 602aded6ec
vultr: vultr_block_storage_facts to info (#60230) 6 years ago
Pavan Bidkar 0a90ec90c0 VMware: handle KeyError in get_vm API (#60204)
Fixed if conditions for all VM params
6 years ago
Ganesh Nalawade 8cbfa75038
Add [junos_lacp] model (#59705)
* Add [junos_lacp] model

*  Add new resource module junos_lacp.
*  Targets model https://github.com/ansible-network/resource_module_models/pull/28

* Fix CI issues

* Fix CI failures
6 years ago
Felix Fontein 84d89190c7 openssh_keypair: Forgot version_added in #59268. (#60394) 6 years ago
sushma-alethea 622a493ae0 icx: new module icx_ping (#59975)
* new module

* new module

* new terminal

* new terminal

* new cliconf

* new cliconf

* cliconf

* cliconf

* icx cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* added notes

* removed icx rst

* new changes

* new changes

* deleted icx rst

* icx .rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* changes resolved

* PR comments resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* Update platform_index.rst

PR comment resolved

* new module icx_ping

* new changes

* Fixed bot error
6 years ago
Ganesh Nalawade fdf48ed0b4
Add [junos_lacp_interfaces] resource module (#59708)
* Add [junos_lacp_interfaces] resource module

*  Add new resource module junos_lacp_interfaces.
*  Targets model https://github.com/ansible-network/resource_module_models/pull/36

* Fix sanity test failure
6 years ago
Maxim Babushkin dda80c46e9 openssh_keypair - Add key ``comment`` to return output (#59268)
If the comment will be provided during the key creation, it will be
diplayed in the return values.
Same will be on the comment change.
6 years ago
René Moser 8da48b1a40
inventory: cloudscale: extend examples (#60306) 6 years ago
yanzhangi e956753e83 Update ce_acl_advance to fix bugs (#60377) 6 years ago
Maxim Babushkin 27e414200f openssh_keypair - Add public key and key comment validation (#57993)
- Split the key validation to separate private and public.
- In case public key does not exist, recreate it.
- Validate comment of the key.
- In case comment changed, update the private and public keys.
6 years ago
Steve Holton a3d55a5ddb fix spelling: certifivate -> certificate (#60369)
##### SUMMARY
spelling fix

##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
6 years ago
yanzhangi 7a37ad1f93 update ce_acl_advance to fix bugs (#60353) 6 years ago
The Magician 86ead40c2b New Module: gcp_compute_snapshot_info (#60342) 6 years ago
The Magician 30ad73f1c1 Bug fixes for GCP modules (#60339) 6 years ago
The Magician 5d4c3ad97e Bug fixes for GCP modules (#60340) 6 years ago
Simon Dodsley 1b45abc4f3 Fix major bug in the last update of this module. (#60223) 6 years ago
Felix Fontein 8b68feb67e
acme_certificate: allow to download alternate certificate chains (#56334)
* Improve link handling.

* Also fetch alternate certificate chains.

* Add retrieve_all_alternates option.

* Simplify code.

* Forgot when condition.

* Add tests for retrieve_all_alternates.

* Fixes.

* Moved utility function for link parsing to module_utils.

* Fix grammar.
6 years ago
Sebastian Neuser e9fc095123 Improve docker_compose module documentation (#60064)
* Improve docker_compose module documentation

* Swap usage of C() and I()

* Further improvements

* Mentions of files (docker-compose.yml) are now rendered correctly.
* Compose files are now called just that.

* Further clarify options "services", "stopped" and "restarted"

* Update lib/ansible/modules/cloud/docker/docker_compose.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Update lib/ansible/modules/cloud/docker/docker_compose.py

Co-Authored-By: Felix Fontein <felix@fontein.de>
6 years ago
Felix Fontein 3290b8343c
docker: fix sanity errors (#60047)
* Remove sanity check errors.

* More linting.

* Forgot to update places.

* Remove choices which aren't provided in argspec.
6 years ago
Paul Belanger 4f78b694f0
Remove unused imports / variables from vyos modules (#60333)
This code is not used, lets remove it.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
6 years ago
Alex Stephen 2e90efd4a7 Changing GCP Facts modules to Info Modules (#60172)
* file changes, porting guide, changelog fragment, renaming autoscaler, removing rst links
* Apply suggestions from code review

Co-Authored-By: Alicia Cozine <879121+acozine@users.noreply.github.com>
Co-Authored-By: Felix Fontein <felix@fontein.de>
6 years ago
Chris Archibald b6202dde32 Allow firmware update for (SP, ACP, Shelf, Disk) (#58597)
* update

* Revert "update"

This reverts commit 84848f8291.

* correct module

* fixes
6 years ago
Yaakov Selkowitz 93d9d64038 facts: fix double-counting of CPUs on POWER systems (#58360)
On POWER systems, /proc/cpuinfo provides a 'processor' entry as a
counter, and a 'cpu' entry with a description (similar to 'model name'
on x86). Support for POWER in get_cpu_facts was added via the 'cpu'
entry in commit 8746e692c1.  Subsequent
support for ARM64 in commit ce4ada93f9
used the 'processor' entry, resulting in double-counting of cores on
POWER systems.

When unit tests were later written for this code in
commit 55306906cf, the erroneous values
were just accepted in the test instead of being diagnosed.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
6 years ago
Shachaf92 b5f42869dc win_dns_record PTR docs update (#60158)
* win_dns_record PTR docs update

* Update win_dns_record.py
6 years ago
Nathan Swartz d61df0a9ba Lun mapping upstream dev (#57096)
* Fix hosts with same lun number conflict in netapp_e_lun_mapping.

This patch fixes an issue of when multiple hosts are created and then
subsequently volume(s) are mapped to them using the same specified number.

* Fix netapp_e_host module bug when lun=0

* Add thin-volumes to the netapp_e_lun_mapping update_mapping_info method.
6 years ago
Chris Archibald 48021a4200 add modify to snapshot policy (#59149) 6 years ago
Fred-sun f088621610 Update azure_rm_webapp related document (#59027)
* Update azure_rm_webapp related document

* resolve format error

* remove whitespace

* update new

* updated according by comments

* update new according by comments

* add support time
6 years ago
Jordan Borean dbd082efe4
Ansible.AccessToken - Added shared util for managing a Windows access token (#60302)
* Ansible.AccessToken - Added shared util for managing a Windows access token

* Fix tests when running in CI

* More fixes for older servers

* More fixes for Server 2008
6 years ago
Felix Fontein 49e16922b2 Remove no longer necessary check (since elements is procesed for path). (#59953) 6 years ago
Ganesh Nalawade 309a58eafd
Add [junos_l2_interfaces] resource module (#59693)
* Add [junos_l2_interfaces] resource module

*  Add new resource module junos_lag_interfaces.
*  Targets model https://github.com/ansible-network/resource_module_models/pull/12
*  Deprecate junos_l2_interface module

* Fix CI failures

* Fix CI issues
6 years ago
Matt Clay 3777c2e93d Fix plugin names when loading all plugins. (#59950)
* Fix plugin names when loading all plugins.

Add an integration test to verify plugin __package__ and __name__ are correct.

* Make sure filter and test names are unique.

* Remove __package__ test.

On Python 2.x __package__ is not set, but it is on Python 3.x.
6 years ago
yanzhangi 9aabe70452 update ce_aaa_server_host to fix bugs (#60272) 6 years ago
Abhijeet Kasurde 647b78a09c
VMware: Check if datastore is valid (#58872)
Check validation of datastore selected using autoselect_datastore API.

Fixes: #58541

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Andrew Gaffney b38cb37728
Transform octal escape sequences in mtab fields (#60122) 6 years ago
Matt Martz 707e33793d
Undeprecated the skip argument for first_found. Fixes #58942. Fixes #59949. (#60161) 6 years ago
James Cassell c954c07271 TRANSFORM_INVALID_GROUP_CHARS: document "ignore" option (#57318)
Co-Authored-By: Alicia Cozine <879121+acozine@users.noreply.github.com>
6 years ago
Strahinja Kustudic 54d9d7805d systemd module will now wait on deactivating state (#59471)
If a service is in the 'deactivating' state running systemctl stop foo,
would wait for the foo service to actually stop before it exits. The
module didn't behave like that and it considered the deactivating state
as if the service wasn't running. This change will align the module with
the systemctl behaviour.
6 years ago
Jiri Hnidek 577bb88ad8 Added support for syspurpose to redhat_subscribtion module (#59850)
* Added several unit tests
* Added documentation for new syspurpose option and suboptions
* Simplified specification of module arguments
* Added new changelog file with fragments
6 years ago
Nathan Swartz 10543c8a4c Facts dev upstream (#57082)
* Improved netapp_e_facts module.

Added the following facts:
  - storage system segment size
  - cache block size capabilities
  - workload tags
  - storage array hosts
  - host groups
  - list of mapped volumes for each initiator

* Remove proxy specific facts from netapp_e_facts module

* Add unit tests for netapp_e_facts module.
6 years ago
Drew 6932a5b357 add npipe support to docker_swarm_service (#60073)
* add npipe support to docker_swarm_service

* add changelog fragment

* tweak changelog fragment formatting

* Update lib/ansible/modules/cloud/docker/docker_swarm_service.py

Co-Authored-By: Felix Fontein <felix@fontein.de>
6 years ago
yanzhangi c2e7683926 update ce_aaa_server to fix bugs (#60270)
* update ce_aaa_server to fix bugs

* update ce_aaa_server to fix bugs
6 years ago
yanzhangi 66c3e9bb9b update ce_acl to fix bugs (#60274) 6 years ago
Grey Christoforo 29f89b33ba pacman: fix package state detection (#51311) 6 years ago
Ganesh Nalawade 6f0aae256d
Add [junos_lldp_interfaces] model (#59720)
* Add [junos_lldp_interfaces] model

*  Add new resource module junos_lldp_interface
*  Targets model https://github.com/ansible-network/resource_module_models/pull/40
*  Deprecate junos_lldp_interface module

* Fix CI issues
6 years ago
Nathan Swartz f6ae6eb3e0 Remove automatic default group assignment in netapp_e_host module (#60239) 6 years ago
Trishna Guha 87a568da0b
Add nxos_lacp resource module (#59717)
* Add nxos_lacp resource module

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Add commands in module doc

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
6 years ago
Manu Lange 6a5cd9a820 prevent recursive logging csharp stackoverflow. (#59503)
* prevent recursive logging situation.

* Add changelog
6 years ago
Chris Archibald 2cae0739e9 updates (#60143) 6 years ago
Stuart Pittaway 2c90ddd44d Allow encryption of volumes based off snapshots (#58983)
Since May 10, 2019 AWS have allowed encrypted volumes to be created from snapshots.  BOTO3 allows this, but the EC2 module does not.  This change removes the restriction.

https://aws.amazon.com/about-aws/whats-new/2019/05/launch-encrypted-ebs-backed-ec2-instances-from-unencrypted-amis-in-a-single-step/
6 years ago
kfattig d5a02fb3c8 Updated Docs to clarify how 'become' is handled (#60006) 6 years ago
ximon18 2cca9176a7 Added a Docker Machine dynamic inventory plugin (#54946)
* Added my Docker Machine dynamic inventory plugin (from https://github.com/ximon18/ansible-docker-machine-inventory-plugin) to begin the process of proposing it for inclusion in Ansible core. There are no integration tests yet. The docker_swarm inventory plugin has such tests but has some concerning note in its 'aliases' file about disabling docker due to test instability and also I wouldn't know at his point how to get Docker Machine installed on the integration test platform.
6 years ago
silverwizard 5d8302120b Removed breaking type check from nagios module (#49568)
* Removed extraneous type check from nagios module, in order to allow python 3.x

* Removed now useless import types

* Added changelog fragment

* Update changelog.

* Rebased and removed check due to module adding earlier guardrails

* Updated changelog to mention earlier fix adding now completely removed guardrails

* Remove superfluous type checks. Fix docs type.

* Update ignore.txt.
6 years ago
Nilashish Chakraborty 7b90e8aec4
Add iosxr_lacp_resource module (#59724)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
6 years ago
Moritz Maisel 5a6003d0ed fix misleading example in docker_image doc (#60207)
Using docker_image to tag an image as "latest" only updates an existing
tag when used with "force_tag: yes" option. As "latest" is present in
most cases, the option is added to the example to prevent unexpected
behaviour.
6 years ago
Martin Krizek 164881d871 Remove UnsafeProxy (#59711)
* Remove UnsafeProxy

Move the work from UnsafeProxy to wrap_var and add support for bytes.
Where wrap_var is not needed, use AnsibleUnsafeBytes/AnsibleUnsafeText
directly.

Fixes #59606

* item is not always text

* Address issues from reviews

* ci_complete
6 years ago
Nathan Swartz e80f8048ee Fix netapp_e_volume wait-for-initialization to complete issue. (#58304)
* Fix netapp_e_volume wait-for-initialization to complete issue.

* Add unit tests for wait_for operations in netapp_e_volume module.
6 years ago
Stanislav S. Yarmonov 18e0d679dd hcloud: Fix missing labels propagation in inventory plugin. (#57586) 6 years ago
Wojciech Wypior ce1f25cffd adds module to manage apm acls (#59992) 6 years ago
Wojciech Wypior 77b323459f adds more modules to bigip provision (#59996) 6 years ago
Wojciech Wypior 7b97abf6a2 adds apm module to manage network access components for APM (#59993) 6 years ago
Wojciech Wypior 47e3ed8100 adds module to manage device self signed certificates (#59994) 6 years ago
Wojciech Wypior 0d92abad7d adds module to manage snat translations (#59995) 6 years ago
Wojciech Wypior 57cbfae797 added user information collection to bigip_device_info (#60016) 6 years ago
Jill R 4308b87d72 Don't truncate cidr_ipv6 addresses in ec2_group.py (#59106)
* Better cidr_ipv6 validation in ec2_group.py

* Improve warning/error handling, add changelog

* Update unit test for ipv6 validation

* Fix logic that was causing non /128 cidrs with host bits to not be handled
6 years ago
Marat Sharafutdinov 8751319820 Add wait_sleep parameter for the k8s module (#59714) (#59854) 6 years ago
MyronFanQiu 8c0ec5fd82 delete the check for the resource group (#58492) 6 years ago
Hugh 041ede30b3 Update azure_rm_appserviceplan_facts.py (#58847)
<!--- Your description here -->

+label: docsite_pr
6 years ago
Diane Wang d5bff7a87f VMware: vmware_export_ovf fix timeout and export path issue (#60062)
* fix timeout and export path issue

* change path type
6 years ago
Martin Nečas 279617a94e add docs (#60192) 6 years ago
Jordan Borean 45d0e5994a
win_user - use proper error code when failing to validate creds (#60181) 6 years ago
sushma-alethea 92187ae53e icx: new module icx_command (#59903)
* new module

* new cliconf

* cliconf

* icx cliconf

* icx test units module

* icx units module

* icx banner unit test

* added notes

* new changes

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* new module

* new cliconf

* cliconf

* icx cliconf

* icx test units module

* icx units module

* icx banner unit test

* added notes

* new changes

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* new module icx_command

* PR issue

* new PR fix
6 years ago
Martin Nečas fb87bafaae ovirt vnic network filter fix (#59727)
* init network filter fix

* add check_params

* update migratable state

* update pass through check

* update pep8 syntax

* allow remove description

* update_check change default attr for network_filter and qos

* update_check qos and network filter update

* add docs about exeption

* remove blank space

* update docs and add comments to conditions

* update comment

* update migratable var for pass_through enabled
6 years ago
Daniel Mellado Area 7b583e114d Remove description from junos_l3_interfaces (#60058)
The description will be just handled by the _interfaces module, this one
will be just dealing with l3 config options.
6 years ago
The Magician d165223f74 New Module: gcp_compute_autoscaler_facts (#60097) 6 years ago
dx0xm 24274b72c9 UCS: new module ucs_vlan_find (#59220)
* UCS: new module to find vlan(s) based on different criteria
* extending ucs doc
* doc update
* Minor fix
6 years ago
Chris Archibald 5673482460 bug fix (#60140) 6 years ago
Matt Martz 923e21836b
Move plugin loader playbook dir additions back to Playbook instead of PlaybookCLI (#59557)
* Move plugin loader playbook dir additions back to Playbook instead of PlaybookCLI. Fixes #59548

* Restore cli additions
6 years ago
Alex Stephen 61d60d07d1 no logging for service account contents (#60149)
* no logging for service account contents

* changelog

* fixes
6 years ago
Jordan Borean 94f5e2d9ed
ansible-galaxy - ignore cert failures for login (#59959) 6 years ago
Nathan Swartz acbffce079 Host dev upstream (#57086)
* Improve netapp_e_host module

Add host type strings for windows, windows cluster, linux and vmware to netapp_e_host module
Make host port information case-insensitive in netapp_e_host module
Fix port removal and default group.
Fix port reassignment in netapp_e_host module.
Fix port label or address change within existing host object in module netapp_e_host
Add unit and integration tests

* Created new unit test for netapp_e_host module
6 years ago
Barry Peddycord III 80e5b2ade5 Update broken NCLU documentation link (#60009) 6 years ago
Wojciech Wypior 2af67f0dce fixes issue with RD encoding in names (#59990)
fixes issue with file download function on ASM file transfer endpoints
corrects doc fragments
removes not used parameters
corrects various sanity failures previously ignored across multiple modules
6 years ago
monobaila 54b04f227e Update validate example in copy.py (#60053) 6 years ago
Timal Peramune faebe22439 Conflicting Documentation (#60135)
##### SUMMARY
"state" parameter isn't "required" since the default is already set to "present"
6 years ago
Timal Peramune 828e346f2c Conflicting Documentation (#60136)
##### SUMMARY
"state" parameter isn't "required" since the default is already set to "present"
6 years ago
Timal Peramune 1c0b733489 Conflicting Documentation (#60137)
##### SUMMARY
"state" parameter isn't "required" since the default is already set to "present"
6 years ago
Nathan Swartz a9aeabb456 Improve netapp_e_storagepool and add units. (#57095)
Refactored module to use eseries base class
Removed E322 and E326 for netapp_e_storage module from the ignore.txt file
Updated version_added quotes in netapp_e_storagepool
6 years ago
Nilashish Chakraborty 2c432f8bc7
Add vyos_l3_interfaces resource module (#59929)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
6 years ago
Daniel Mellado Area e3681c049c
Add junos vlans resource module (#59041) 6 years ago
Abhijeet Kasurde 2a1393e0e1
VMware: Check dvswitch presence before accessing it (#60052)
Check if dvswitch object is not None before accessing it's
properties such as UUID. This can be due to two reason

1. Permission issues
2. There is no association between given distributed virtual portgroup
distributed virtual switch

Fixes: #59952

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
kfattig dd7b9627ad Runas docs (#60082)
* Mention seclogon requirement in runas docs

* Mention seclogon requirement in Win become docs
6 years ago
Alex Stephen ac5228390c Removing validate-module exceptions on GCP modules (#60113)
* facts modules with new types
* remove ignores on sanity tests
* removing new modules
6 years ago
The Magician 2a64a84667 New Module: gcp_cloudtasks_queue_facts (#60095) 6 years ago
The Magician 4317a97c42 New Module: gcp_compute_autoscaler (#60096) 6 years ago
The Magician 26a2d84dba New Module: gcp_compute_snapshot (#60098) 6 years ago
The Magician 820cfbbb77 Bug fixes for GCP modules (#60089) 6 years ago
The Magician 8241fd88de Bug fixes for GCP modules (#60090) 6 years ago
The Magician fcc869ab7a Bug fixes for GCP modules (#60091) 6 years ago
The Magician 0234937ca3 Bug fixes for GCP modules (#60092) 6 years ago
The Magician de8d428157 Bug fixes for GCP modules (#60093) 6 years ago
The Magician c1a99c390c Bug fixes for GCP modules (#60088) 6 years ago
The Magician 5e0bcc60b5 New Module: gcp_cloudtasks_queue (#60094) 6 years ago
Andrey Klychkov d2cc9f5f06 Bugfix 60043: turn off the default db warning where it doesn't make sense (#60105) 6 years ago
Felix Fontein aecdfd397e ecs_taskdefinition_facts: rename to ecs_taskdefinition_info (#60023)
* Rename ecs_taskdefinition_facts to ecs_taskdefinition_info.
6 years ago
Nathan Swartz 41235ac05a Improve netapp_e_hostgroup and add unit tests. (#57094)
* Improve netapp_e_hostgroup and add unit and integration tests.

netapp_e_hostgroup was refactored for maintainability and improved
documentation clarity.

* Remove ignore sanity check E338 for netapp_e_hostgroup module

* Add __future__ import (absolute_import, division, print_function) to test_netapp_e_hostgroup unit test.
6 years ago
Xu Yuandong 13c8f7b00c It is necessary to undo mmi-mode enable after running commands. (#60071) 6 years ago
Xu Yuandong 16e237e095 set mmi-mode enable to run commands nad unset after running. (#60075) 6 years ago
Andrew Gaffney 32a8d8ae2a
Move definition of UnixHTTPSConnection behind guard (#60049)
This allows module_utils/urls.py to not immediately fall over when run
against a python without SSL support.
6 years ago
Matt Martz df6b8d2a4a
Fix async output with adhoc callbacks. Fixes #15988 (#59935) 6 years ago
Chris Archibald be24db8886 New module na_ontap_object_store (#59048)
* New module object store

* fixes

* fix tests
6 years ago
Lukas Kämmerling 38848a4b0c hcloud: Add basic hcloud_route module (#59908) 6 years ago
Trishna Guha e46237d705
Fix nxos_facts httpapi (#60055)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
6 years ago
Lukas Kämmerling 8a5bde798a hcloud: Add hcloud_server_network module (#60061) 6 years ago
Lukas Kämmerling 0377c51c3a hcloud: Add hcloud_subnetwork module (#59781) 6 years ago
Trishna Guha 021b1810c9
Add nxos_vlans resource module (#59294)
* Add nxos_vlans resource module

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* address review comments

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* fix CI failure and udpate tests

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Add commands in module doc

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
6 years ago
Mike Wiebe 9610f2b8ac NX-OS Telemetry Resource Module (#59126)
* Combined telemetry module commit

* Minor fixes

* Add back whitespace

* Add telemetry subscription support and simplify

* Remove comment line

* Make ansibot happy

* Create common build_args method

* More ansibot fixes

* Refactored integration tests, remove old files

* Add subscription tests

* Add integration tests

* Update module docs

* Test updates

* Address review comments

* Comment should be one line, not two

* Address Trishna comments

* State deleted should purge all config

* Remove misleading comment

* Doc fixes

* Fix source int bug and remove local debug msg

* Add additional integration test checks
6 years ago
Simon Dodsley 178db5f3ed Fix bug in purefa_facts where remote pgroup without a schedule is skipped (#60030) 6 years ago
Wojciech Wypior ee0c19e519 corrected lib imports to work with python 2.x (#60017) 6 years ago
Wojciech Wypior 1268993506 added previously omitted parameter in gtm topology module (#60015) 6 years ago
Wojciech Wypior 95ef456bb7 fixes options parameter idempotency issue on v14.x (#60019) 6 years ago
Wojciech Wypior d224a7ccf6 fixes idempotency issues with IPV6 addresses (#60021) 6 years ago
Wojciech Wypior 2e54ac37b0 refactors bigip_firewall_log_profile to use correct patterns (#60014)
doc correction in bigip_pool
changes functions in bigip_message_routing_route
6 years ago
Wojciech Wypior c9a9621a02 fixes issue with recieve parameter idempotency (#59999)
fixes assert statements in unit tests
6 years ago
Sam Doran a9fe21bc62
docker_compose - use valid variable in exception message (#60020) 6 years ago
Andrey Klychkov 41e198b429 Issue 59955: add example to postgresql_query module (#59979) 6 years ago
Matt Davis 8d1f658ce4
move CLI entrypoints under ansible package (#60004)
* needed so ansible-test can always find the right ones to copy to a target
* renamed the underlying scripts to be properly accessible as Python modules
6 years ago
Timal Peramune 1b246d89e3 Conflicting documentation (#59982)
##### SUMMARY
The "mode" parameter is already 'push' by default, so "required: true" isn't necessary.
6 years ago
Matt Martz 38eee51057
Fix issue with empty cow_whitelist (#59946)
* Fix issue with empty cow_whitelist. Fixes #45631

* Account for None
6 years ago
Felix Fontein f3e20346cb
Google: gcpubsub_facts -> gcpubsub_info (#57668)
* Rename gcpubsub_facts -> gcpubsub_info.

* Update porting guide and add changelog fragment.
6 years ago
Dave Bendit fc558fb85f [docker_container] Adding support for `mounts` option (#49808)
* [WIP][docker_container] Adding support for `mounts` option

Fixes #42054

* Adjusting to current standards.

* Add changelog.

* Adjust types.

* Cleanup.

* Add idempotency checks for mounts.

* Improve diff for mounts.

* Linting.

* Python 2.6 compatibility.

* Fix error message formatting.

* Move mounts and volumes tests into own file.

* Add set of mount tests.

* Golang's omitempty for bool omits false values.

* Simplify sanity checks. Correct order of volume_options sanitization and usage.

* Fix key.

* Fix check.

* Add tests where both volumes and mounts show up.

* Add collision test.
6 years ago
Felix Fontein a7573102bc
docker_container: fix port bindings with IPv6 addresses (#59715)
* Pass IPv6 addresses for port bindings without square brackets.

* Add changelog.

* Add test.
6 years ago
Ruediger Pluem f94772f807 Only error out if the gid exists with a different group name (#59769)
Only error out if the gid exists with a different group name as
otherwise it will error out if the group with this gid already
exists, like on a rerun of the playbook. This fixes a regression
introduced by 4898b0a4a2.
6 years ago
Sumit Jaiswal b847327645
Resource module for ios_interfaces and Facts Update (#59716)
* ios interfaces resource
6 years ago
Markus Bergholz 18aae0a02b add new module with integration tests to manage gitlab project variables (#56574)
* add new module with integration tests to manage gitlab project variables

* fix invalid yaml in DOCUMENTATION variable and don't import * from ansible module

* remove extends_documentation_fragment and put imports after DOCUMENTATION/EXAMPLES/RETURN/ANSIBLE_METADATA

* fix author in documentation and remove import from display

* add alias file for integration test

* split long lines and try to fix the author key

remove tailing whitespace

* replace email address with github username

* adding the at style to username

* add metaclass and future import

* add state variable to be able to delete selected variables

* add test with state = absent

* update documentation. scheme is necessary

* use singular in exmaple section

* use key purge instead of purge_vars

use purge instead of purge_vars also in the integration test

* create gitlab object in the ansible main function

* remove usedless .format

* follow best practice fail message

* add return documentation, return information about which variables were added, updated or removed and catch gitlab api auth error

* use module_utils.api with api_url and api_token

* use dict instead of list for vars

* use project name instead of name as playbook key

* add ansible checkmode_support, reduce variables in gitlab_project_variables class, remove wrong/duplicated HAS_GITLAB_PACKAGE check

* use extends_documentation_fragment and don't pop elements from basic_auth_argument_spec

* use just project_variable as output variable

* update mutually_exclusive as suggested

* re-add api_token documentation, because it is not included in api basic auth

* remove useless statement

remove unnecessary if

* add one test with a changing value

* put type at first position

* keep item to reduce api calls, build array and keep indexes by replacing with None instead of poping

* more asserts

* Update lib/ansible/modules/source_control/gitlab_project_variable.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

Update lib/ansible/modules/source_control/gitlab_project_variable.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

Update lib/ansible/modules/source_control/gitlab_project_variable.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

Update lib/ansible/modules/source_control/gitlab_project_variable.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

Update lib/ansible/modules/source_control/gitlab_project_variable.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

Update lib/ansible/modules/source_control/gitlab_project_variable.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

* remove unused return key from documentation

msg is only returned when failed

* Update lib/ansible/modules/source_control/gitlab_project_variable.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

* remove error key, because it is not returned

* change also documentation from purged_vars to purge

* Update lib/ansible/modules/source_control/gitlab_project_variable.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

Update lib/ansible/modules/source_control/gitlab_project_variable.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

Update test/integration/targets/gitlab_project_variable/tasks/main.yml

Co-Authored-By: Felix Fontein <felix@fontein.de>

Update test/integration/targets/gitlab_project_variable/tasks/main.yml

Co-Authored-By: Felix Fontein <felix@fontein.de>

* remove extra spaces

fix wrong spelling

* expand return value documentation with examples

* add check_mode test

reorder tests. first the check_mode test, later all other tests

* Update lib/ansible/modules/source_control/gitlab_project_variable.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

* fix existing keys in 'present' array

rework key handling (reduce code)

fix integration tests

use untouched instead of present to identify unchanged variable keys

fix wrong replacement

minor fixes on request

set aliases to unsupported, because the test succeed

remove posix group1 because it conflicts with unsupported

remove useless item from aliases

* rework gitlab connection
6 years ago
Felix Fontein 6d074d8a94
Move ome_* and idrac_* modules one level up (#59698)
* Move ome_* and idrac_* modules one level up.

* Fix paths.

* Fix package name.

* Oranize in different directories.

* Update BOTMETA.

* Update new ignore entries.

* Revert "Update BOTMETA."
Revert "Oranize in different directories."
Adjust ignores.txt.
6 years ago
Sam Doran 372f21e3b5 Handle new output for podman image build (#59807) 6 years ago
Jesse Evers e410dcbfed Add logic to handle multiple actions in an ALB listener rule, Fixes #41861 (#41975)
* added logic to handle multiple actions in an ALB listener rule (#41861)

* fix linting and pep8 issues

* added test for multiple actions using OIDC authentication

* added error messages related to old versions of botocore and multiple actions

* fix action validation error checks (need to check the exception string)

* added logic to make oidc configs idempotent (remove clientsecret for check)

* modified TargetGroupName to TargetGroupArn substitution to account for multiple rule actions

* refactored tests so that it can be run against different versions of botocore

* fix runme.sh to refelct changes to cloud testsuite

* add UseExistingClientSecret to oidc config (AWS api change)

* remove tests for OIDC auth action; add tests for redirect and fixed-response

* add in fixes from markuman and mjmayer

* remove documentation for cognito integration (not sure how to test); added example config for fixed-response and redirect actions

* renamed oidc/multiple action tests; leaving commented due to some AWS API changes

* pep8 fix

* more pep8 fixes

* Restructure elb_application_lb test suite

Move from runme.sh to virtualenv based roles

Update policies to fix tests

Don't log temp dir deletion, so many files in the diff!
6 years ago
Jordan Borean 309e342aaa
Remove six decorator for unicode text conversion (#59895) 6 years ago
Abhijeet Kasurde 056aac1e30 Minor fixes in galaxy command for collection (#59846)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Jordan Borean 88e3449189
Fix ansible-galaxy import command to use argspec instead (#59898) 6 years ago
Jakob Ackermann 20b5ff5ab7 [s3_bucket] access the bucket encryption response gracefully (#59826)
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
6 years ago
Nathan Swartz 26fff6f5c3 Improved netapp module utility for E-Series. (#59527)
Add header option to request method in NetAppESeriesModule
Add multipart formdata builder function
Fix issue with url port change
6 years ago
yanzhangi a01ee2759d Update ce_vrrp to fix bugs (#59677)
* update ce_vrrp to fix bugs

* update ce_vrrp to fix bugs

* update ce_vrrp to fix bugs

* update ce_vrrp to fix bugs
6 years ago
James Cassell 17f2b5f73e os_subnet: allow using non-default subnet pool (#52608) 6 years ago
Abhijeet Kasurde 025e30ea0c VMware: add support for http_proxy in connection API
This commit allows users to access a vCenter or a ESXi through a
HTTP CONNECT based proxy.

To do so, the users have to set the `proxy_host` and `proxy_port`
variables.

The can also use the `VMWARE_PROXY_HOST` and `VMWARE_PROXY_PORT`
environment variables.

This feature depends on pyvmomi > v6.7.1.2018.12.

Fixes: #42221

Co-Author: Abhijeet Kasurde <akasurde@redhat.com>
Co-Author: Gonéri Le Bouder <goneri@redhat.com>
6 years ago
benjdudas 4eb156b2f5 regex match for lowercase Cisco (#59550) 6 years ago
itercheng eea46a0d1b Support Ericsson device management (#59277)
* Support Ericsson device management

* modify code

* modify error

* delete redundant file

* delete file

* modified error

* modify additional file name

* delete code

* add blank line

* delete redundant code

* add platform_eric_eccli.rst

* modify syntaxError

* modify document

* modify error

* modify maintaners

* modify document

* add end_string
6 years ago
Abhijeet Kasurde 07e7b69c04
VMware: minor changes in vmware_dvs_portgroup_find (#59911)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
dx0xm c35b512413 vmware: new module vmware_dvs_portgroup_find (#59567)
* vmware: new module to find portgroup(s) based on different criteria
6 years ago
Mario Lenz 3aa73cb6b8 VMware: Refactor vmware_cluster into several modules (#58468)
Refactor vmware_cluster into several modules (vmware_cluster, vmware_cluster_drs, vmware_cluster_ha and vmware_cluster_vsan) as discussed in #58023.

vmware_cluster lacks a lot of configuration options for DRS, HA and vSAN. Implementing them
all in vmware_cluster would make the module hard to maintain. Therefore, splitting it into several
modules and implementing the missing configuration options in them seems a good idea to me.

This is step one, refactoring vmware_cluster into several modules. Step two, implementing more
configuration options for DRS, HA and vSAN, will follow.
6 years ago
Sumit Jaiswal b2db38bbc6
resolves test error for PR59550 (#59901)
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
6 years ago
Xu Yuandong adfbd04b3a ce_netstream_template: update to fix a bug. (#59690)
* update to fix a bug.

* Update ce_netstream_template.py

* Update ce_netstream_template.py

* Update ce_netstream_template.py
6 years ago
Sandra McCann eb15ee91df removed module from support list (#59878) 6 years ago
Dusan Matejka f1fd13c0ef Fixed "dictionary changed size during iteration" for zabbix_template when used with newest Python3 (#59181) 6 years ago
glyngholm f46eb8ebcd Headers in URL lookup plugin (#59555)
* Update url.py

Allow passing of headers to URL lookup plugin
6 years ago
Nilashish Chakraborty 730fa78ca4
Add vyos_interfaces resource module (#58589)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
6 years ago
Simon Dodsley 288d74ca48 Update FlashBlade Directory Service config module to support NIS (#59608) 6 years ago
yanzhangi d6fd4eb8e6 update ce_bgp_af to fix bugs (#59678)
* update ce_bgp_af to fix bugs

* update ce_bgp_af to fix bugs

* update ce_vrrp to fix bugs

* update ce_bgp_af to fix bugs

* update ce_bgp_af to fix bugs
6 years ago
Sam Doran 81d254da4c
Update version in metadata for bundled distro (#59869) 6 years ago
Maciej Delmanowski 75be309242 Don't warn if local user is found in user database (#56838)
If the 'local' parameter of the 'user' Ansible module is enabled, and
the user has been found in the local user database, don't emit
a warning, because this is an expected outcome.

Add changelog and integration tests

Co-authored-by: drybed <drybjed@gmail.com>
6 years ago
Jered Sutton cb9ab42ab8 Document behavior of fetch when file already exists (#59816)
* Document behavior of fetch when file already exists
6 years ago
Mark Chappell 934d25a820 iam_password_policy: boto expects pw_expire to be ommitted when setting no expiration requirements (#59848)
Fixes #59102
6 years ago
Abhijeet Kasurde 3eeaf2f974 Add description of collection_paths in base.yml (#59778)
Fixes: #59775

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Mark Chappell c1e5758c4c Add missing aws modules to aws module defaults group (#59788)
* Add missing aws modules to aws module defaults group

* add changelog
6 years ago
Kevin Breit b09fbc3bf3 New module - meraki_webhook (#57855)
* Initial commit for meraki_webhook

* Split integration tests into two files to avoid delegate_to
6 years ago
Kevin Breit d105c205ef meraki_snmp - Add support for network SNMP settings (#57708)
* meraki_snmp module supports network SNMP settings
- Network SNMP settings were added to the API
- Parameters are different so it's a new data structure
- Full suite of integration tests
- Commit includes some cleanup as well

* Add reset task for SNMPv3
6 years ago
Kevin Breit 516b39b79a meraki_organization - Add deletion support (#59415)
* Add support for deleting organizations
- Still working on integration tests

* Update documentation and verify check mode works
6 years ago
Timal Peramune 7afa5913a7 Conflicting documentation (#59777) 6 years ago
Felix Fontein 1534d6aea3 Update docs for pesize. (#59751) 6 years ago
sushma-alethea f2cb44633a Modules to manage ICX devices (#58969)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* removed icx rst

* new commit

* new changes

* deleted icx rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved
6 years ago
Daniel Mellado Area 58a53fe0eb
Add junos_l3_interfaces (#59026) 6 years ago
sky-joker 47f9f43b0d VMware: Modify guest_id reference URL of vmware_guest (#59861) 6 years ago
Nathaniel Case 80d8058f5c
Change sub_plugin check to completely ignore napalm (#59298)
This also fixes cases where sub_plugin might not be loaded in executor
6 years ago
Marc Hörsken 98df8e01db Fix py3 decoding issues in cyberarkpassword (#59500)
* Fix py3 decoding issues in cyberarkpassword.py
* Use to_native instead of forced utf-8 decoding
* Use to_bytes to avoid trouble with Popen
* Create 59500-cyberarkpassword-fix-py3-decoding.yaml
6 years ago
Chris Archibald dc427ff6d5 na_ontap_quota was not using vserver (#58594)
* fix issues

* fixes
6 years ago
Jordan Borean 04ec47bdf1
win_dsc - be more lenient with datetime parsing (#59703)
* win_dsc - be more lenient with datetime parsing

* Remove l that shouldn't be there
6 years ago
Markus Bergholz 196347ff32 ability to use lambda target in elb_target_group (#57394)
* enable elb_lambda_target test
6 years ago
Jordan Borean 652bfc7e19
win_template - use shared doc fragment for shared options (#59701)
* win_template - use shared doc fragment for shared options

* Change smart quote to em dash and fix whitespace issue
6 years ago
Simon Dodsley 4c1f52c6c0 Add support for preferred arrays to host configuration (purefa_host) (#59735) 6 years ago
Simon Dodsley 27c60a7cec Add ability to force immeadiate replication of a pgroup (#59785) 6 years ago
Peter Mounce 24d8e82655 Windows Setup doc; offer 10x perf improvement (#58259)
* Windows Setup; document 10x perf improvement
6 years ago
Fred-sun 6208294054 Update the document according to the yuwzho-datadisk branch (#59491) 6 years ago
Tyler 6a53147a15 Update homebrew.py (#59646)
##### SUMMARY

It should be known that this does not install homebrew. It only uses homebrew that is already installed. It's a core requirement.

##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
6 years ago
Abhijeet Kasurde 2ebc4e1e7e inventory: Handle IndexError while parsing limit file (#59776)
Handle IndexError exception raised while parsing the limit file.

Fixes: #59695

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
6cUbi57z 2f403981b5 unarchive - add requirement of zipinfo command to docs (#59556) 6 years ago
nick6655 1d560e5ce9 pbrun: Use default value for become_user (#59754)
* Update pbrun.py

Require ternary operator for if get_option('user') returns NoneType object.

* Update pbrun.py

Added default value to become_user in documentation.

* Update pbrun.py

Changed default for become_user to be '' instead of root.
6 years ago
Gonéri Le Bouder 1ec155e773 vmware_guest: clone VM with attached CDROM
If a VM has an attached CDROM, `backing` attribute of the CDROM will
be defined.
As a result, we cannot just loop `vm_obj.config.hardware.device` and check
for the existance of the attribute to decide if the entry is a
harddrive.

Instead, we check the type of the device, and only keep the
`vim.vm.device.VirtualDisk` disk.

This issue is actually breaking our test-suite with regular environment
because we keep a Fedora ISO attached to the VM.
6 years ago
Lukas Kämmerling 5bddd2f04a Add hcloud_network module (#59366)
* Add hcloud_network module

* Apply suggestions from code review

Co-Authored-By: Matt Clay <matt@mystile.com>

* Add notice about dependency

* Adjust tests

* Apply suggestions from code review

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Allow changing of ip range

* Add Setup step
6 years ago
Abhijeet Kasurde 0b27ec3ddc
Revert "mysql.py: remove unused import" (#59768)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Xu Yuandong 3c7e8f7905 ce_netstream_global: update to fix a bug. (#59689)
* update to fix a bug.

* Update ce_netstream_global.py
6 years ago
Jordan Webb 20c4ad3b95 Add pipelining to podman connection plugin (#57579)
* Add pipelining to podman connection plugin

* Add changelog fragment
6 years ago
Martin Krizek fd899956b4
Use correct delegate_to hostnames in loops (#59659)
Fixes #59650
6 years ago
Abhijeet Kasurde f7af4875d3 Misc typo fixes (#59620)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Fred-sun 2bc0eecdb3 Update azure_rm_webappslot document (#59494)
* Update azure_rm_webappslot document
6 years ago
Jiri Hnidek 978fe81a6d Added unit tests for redhat_subscription module (#58665)
* Fixed the redhat_subscription module:
  - Option 'pool_ids' works in Python3 now
  - It tries to attach only pools IDs that are available
  - Optimization of code: do not call list --available, when
    no pool is requested
  - Simplified configure() method
  - Small changes to generate same commands on Python2 and Python3.
    Order of arguments/options and pool IDs have to be same to
    be able to run unit test using Python2 and Python3.
  - Added fragments file for redhat_subscribtion module
6 years ago
John Mahowald 8944be32bf lvg: simplify pesize description (#59699)
Remove confusing phrase about pesize as a "multiple of 128KiB".
Allowed values are anything accepted by vgcreate -s,
powers of 2, minimum 1K for lvm2.

As pesize less than 1M is accepted since Ansible 2.6,
close #29295
6 years ago
The Magician 4a7e11ba9a Bug fixes for GCP (as of 2019-07-09T06:06:53Z) (#59324) 6 years ago
Shrikant Chaudhari 0b8354751b Added new module avi_user.py (#57116)
* Added new module avi_user.py and tests for that

* Updated documentation as per module argspec

* Updated as per review comments on IP address

* Updated documentation for types

* Fixed sanity check failure for __future__ import

* Updated documentation as per review comments.
6 years ago
Xu Yuandong 9182d54e98 ce_config: Optimize multi-level views & fix a bug. (#59523)
* Optimize multi-level views

* update to rewrite load_config.

* update.

* update.

* update.

* update.
6 years ago
Tommy Brecher 4d775cbbf1 ec2_eip - added support for BYOIP and filtering reuse addresses by tag/value (#59180)
* change variable name from isinstance to is_instance (prevent overriding builtin function)

* Added support for:
  - Filtering existing Elastic IPs based on a tag name or it's value (when reuse_existing_ip_allowed is true)
  - Allocating new Elastic IPs from a given IPv4 pool (BYOIP support)

* yamllint corrections

* added examples for:
  -  tag_name,
  -  tag_value
  -  public_ipv4_pool

* remove aliases

* Added changelog fragment

* added integration tests for ec2_eip module

* removed space to trigger rebuild
6 years ago
MyronFanQiu 373e887e7f a bug fix for elastic pool name (#56820) 6 years ago
Abhijeet Kasurde 336be58665 VMware: Fix Service Content calls in vmware_deploy_ovf
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Martin Krizek 08d7905be2
Remove incorrect usage of UnsafeProxy (#59633)
This removes couple of uses of UnsafeProxy that relies on the
implementation that is no longer present in the codebase.
6 years ago
Xu Yuandong 86937e06e3 ce_file_copy: update to Compatible with multiple version of NETCONF API. (#59450)
* update to Compatible with multiple version of NETCONF API.

* update for  shippable.

* Update ce_file_copy.py

* Update ce_file_copy.py

* Update ce_file_copy.py

* Update ce_file_copy.py

* Update ce_file_copy.py
6 years ago
Tom Moore a589cac18a Windows: new win_netbios module (#58331)
* Initial commit win_netbios module

* Ansibot sanity improvements.

* Corrected file permissions.

* Windows: module description update

* Adding integration tests

* Added missing alias file

* Improvements made to tests and WMI efficiency.

* Correction from sanity check failures

* Shippable corrections

* Moved reboot flag.

* Slight tweak to return value conditoin
6 years ago
Itai Malek c24b841c0a fixed _merge_dictionaries calls in GcpSession class (#59375) 6 years ago
Sorin Sbarnea 7c6fb57b7d Implements extra_hosts for docker_image module (#59540)
* Implements etc_hosts for docker_image module

Allows custom hosts on docker_image module.

The of this option made impossible to use docker_image module to build
images that required a custom hostname in /etc/hosts. For running
containers this option was already present.

While the python-docker API uses extra_hosts term, our existing module
already uses etc_hosts argument, so it sounds better to have some
consistency between docker_container and docker_image.

Fixes: #59233

* Update test/integration/targets/docker_image/files/EtcHostsDockerfile

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Update lib/ansible/modules/cloud/docker/docker_image.py

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/docker_image_etc_hosts.yml

Co-Authored-By: Felix Fontein <felix@fontein.de>
6 years ago
Ihor Borodin 3b5a96fcb7 Fixing race condition in ec2 inventory plugin (#59638)
* Fixing race condition in ec2 inventory plugin

Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>

* Fixing code block according to suggestion

* Adding changelog fragment
6 years ago
Sloane Hertel 007fe842b9
aws_ec2 inv plugin - fix author field (#59649)
* Fix author field

* Add BOTMETA entry to get notifications
6 years ago
Xu Yuandong c3d1f9b085 ce_stp: update to fix a bug. (#59347)
* update to fix a bug.

* update for shippable.

* Update ce_stp.py
6 years ago
Kevin Breit 3cdc667888 New module - meraki_mx_l7_firewall (#55485)
* Initial commit for meraki_mx_l7_firewall module

* Add argument checking

* Sanity fixes

* Fix crash and improve integration tests

* Improved integration tests and coverage

* Reformat response data
- Module does not match argument structure of API
- PR reformats the response to match Ansible arg spec
- Improved integration tests

* Fix reformatting for diffs

* Create rename_* functions
- is_update_required() ignores the key id
- Meraki expects one of the keys to be id
- Function temporarily renames key to appId to get around this

* Tweak documentation and tests
- Tests now do an include so each task doesn't need delegate_to

* Fix which files I'm editing
6 years ago
Kevin Breit f8f3986871 New module - meraki_nat (#52889)
* Initial commit for meraki_nat module
- Query fully works
- Present is still very much in development

* Add initial code for present functionality, not complete

* Add request documentation

* Add examples and return documentation.

* Added payload to requests
- Module seems to need new idempotency check

* Allow 1:1 and 1:many NAT to work
- New idempotency check method is probably required to work

* Make all three options work
- Module isn't idempotent

* Diff support
- Added integration tests
- Diff support isn't quite done

* Fix diff output

* Enable idempotency assertion in tests

* Add test assertions for code coverage

* Update documentation and tests
- Split tests to separate file to avoid delegate_to

* Fix blank line
6 years ago
Kevin Breit db783eb2b9 New module - meraki_firewalled_services (#57289)
* Initial commit for module
- Module can query or modify network services on Meraki gear
- Check mode supported
- Integration tests included

* Small change to examples

* Move mutual exclusive to build in approach

* Sanity err

* Split integration tests into two files to avoid delegate_to

* Add the integration tests, woops
6 years ago
Pilou 65013c4001 consul_session: ensure certificate is checked when HTTPS is used (#58693)
* consul_session: ensure SSL certificate is checked

* consul_session: don't ignore validate_certs param
6 years ago
Sachidananda Urs 08b9e18d4f Call remove-brick only if no. of bricks > 0 (#56781) (#58635) 6 years ago
Simon Dodsley d82446652f Update FlashBlade filesystem module to support quotas and NFS v4.1 (#59559) 6 years ago
Nilashish Chakraborty 3da4c0dd3a
Update argspec to normalize across platforms (#59596)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
6 years ago
Abhijeet Kasurde c1ee1f142d
gcp_utils: Handle JSON decode exception (#59427)
Handle json.loads exception rather than providing stacktrace

Fixes: #56269

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Adam Miller 49da47d09f
force_basic_auth for default httpapi connection auth (#59193)
The default for a httpapi connection is to do basic auth, however
when setting the url_username and url_password without
force_basic_auth, the call to ansible.module_utils.open_url would
not always properly handle the basic auth headers based on the
combinations of **kwargs passed. This ensures that is always the
case when no session token exists and as the goal is to use basic
auth in the event of not having a session token, this should be
a safe operation.

Signed-off-by: Adam Miller <admiller@redhat.com>
6 years ago
Nilashish Chakraborty 3a103405b1
Handle lowercase in version info (#59565)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
6 years ago
basos g 3c8838f0f7 Add check mode indicators at the beginning and the end of the playbook, play, and task (#49432)
* Add integration tests for default callback check mode markers
6 years ago
Brian Coca a5d409a8b2
point at corresponding version (#59200) 6 years ago
Dieter De Moitie 9b9066d10f Updated references to removed modules in documentation (#59580) 6 years ago
Andrey Klychkov db26fe2f1e module_utils.common.*: removed unused objects (#59570) 6 years ago
Sandra McCann cfe01390aa clarify ansible-galaxy collection cli command options (#59470)
* clarify ansible-galaxy collection cli command options
6 years ago
Gonéri Le Bouder ef59dd2ca2 vmware_guest_network: fix the network look up
Before this fix, the module was not able to look up a `VM Network` located at
`/DC0/network/VM Network`. As a consequence, the test module was failing
with a real environment (Non-govcsim).
6 years ago
Xu Yuandong 585128e5ac ce_mlag_config: update to fix a bug. (#59336)
* update to fix a bug.

* update

* Update ce_mlag_config.py

* Update ce_mlag_config.py
6 years ago
Brian Coca e9a37f8e31
prevent templating of passwords from prompt (#59246)
* prevent templating of passwords from prompt

  fixes CVE-2019-10206
7 years ago
Tomáš Pospíšek 4ef38fcee2 remove useless overhead (#59517)
in the examples for the apt module, pass the list directly to the `pkg` option instead of providing it in `vars`
7 years ago
Nilashish Chakraborty 119f2b873a
junos_ping supports only network_cli (#59534)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
7 years ago
Nilashish Chakraborty f2b0bfd4aa
Add iosxr_lacp resource module (#59281)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
7 years ago
Sandeep Bandi 1d82d25ea2 Adding Avi ansible lookup module (#58667)
* Adding Avi ansible lookup module

(cherry picked from commit 77b8951f68cbc889e6595b2a359ca27b84a43c0d)

* Added description for examples

* Added debug logs and unit tests

* Fix __builtin__ import and restting super

* Fix pep8 errors

* Updated as per review comments on IP address
7 years ago
Andrey Klychkov e9725862ca mysql.py: remove unused import (#59511) 7 years ago
Strahinja Kustudic 5fc769f6b1 sysctl - Reload also when current system values differ (#56153)
Previously if `sysctl_set=no` (which is the default) this module only
checked for changes in the sysctl.conf file to decide whether it should
reload it or not. This means that if the values in the conf file are the
same as they are set with the module, but the current values on the
system are different, that this module wouldn't apply the changes on the
system and thus the value set with the module wouldn't be applied on the
OS. This isn't obvious and it doesn't make sense that the module works
like that by default, especially because there is a separate option
`reload`. Now sysctl will also check if the current value differs on the
system and if it does, it will reload the file again.
7 years ago
Abhijeet Kasurde 401e70c0a2
VMware: add facts about tags in vmware_cluster_facts (#56848)
Fixes: #46458

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Andrey Klychkov fd35833554 postgresql modules: fix by flake8 (#59497) 7 years ago
Xu Yuandong 93265bf92e ce_mtu: update to fix bugs. (#59343)
* update to fix bug.

* Update ce_mtu.py

* Update ce_mtu.py

* Update ce_mtu.py
7 years ago
Abhijeet Kasurde 281307b492
VMware: make properties configurable (#53050)
This allows user to control set of properties which can be included
in the hostvars.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Martin Krizek 1010363c0b
Preserve original variables when using a loop (#59426)
Fixes #59414
7 years ago
Jill Rouleau 5a7f579d86 Fix clouds_yaml_path type in openstack inventory
Fixes: 59442
7 years ago
Xu Yuandong 6ff54c546e update to fix a bug (#59346) 7 years ago
Abhijeet Kasurde bafd06bc89
VMware: Fix custom value in vmware_guest (#58157)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Jordan Borean ba7097cba3
Collection test (#59488)
* Add missing __init__.py for collection unit tests

* Added more tests for collection install and remove default path
7 years ago
Abhijeet Kasurde d9b9e07d0b
VMware: Add datatypes in documentation (#59221)
* Remove E337 warnings
* Update docs
* Fix minor typos

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Jordan Borean 3581e63ca8
psexec - update example for for delegation example (#59475) 7 years ago
Chaz Ruhl aebc3b0730 Update cobbler_system.py (#59316)
State was not referenced appropriately in doc examples.
7 years ago
Nathan Swartz 6a77533b57 Specify type-str for common NetApp E-Series documention options. (#59459) 7 years ago
Shachaf92 092e5515d1 win_firewall_rule - update doc for localport dep. on protocol (#59467) 7 years ago
UNR Information Security 7b4ce9e4ae Update find.py (#59456)
Return values for `matched` and `examined` in the find module are integers and not strings.
7 years ago
Andrey Klychkov 333953117c Add human_to_bytes isbits arg unit tests&docstring
PR #58623

Co-Authored-By: Sviatoslav Sydorenko <webknjaz@redhat.com>
Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
7 years ago
Xu Yuandong 133cb945ae update to fix bugs. (#59345) 7 years ago
Martin Nečas 1998c9c19d add example (#59287) 7 years ago
Martin Nečas 8ee587aa7d ovirt add template cluster (#59378)
* ovirt add template cluster

* update doc

* add global search fallback

* update docs
7 years ago
Xu Yuandong f1dbf6292b update to "state is present but all of the following are missing: password" bug (#59344) 7 years ago
Xu Yuandong b728347260 ce_bfd_session: update & add 2 params. (#59333)
* update & add 2 paramers.

* update for shippable

* update for shippable
7 years ago
Ganesh Nalawade 1092ee55d4
Add [junos_lag_interfaces] resource module (#59011)
* Add junos_lag_interfaces resource module

*  Add new resource module junos_lag_interfaces.
*  Targets model https://github.com/ansible-network/resource_module_models/pull/29
*  Deprecate junos_linkagg module

* Fix CI issues

* Fix junos integration test cases

* Fail if base lag interface is not configured
7 years ago
Trishna Guha 3bad4d6a50
Add nxos_lag_interfaces resource module (#59031)
* Add nxos_lag_interfaces resource module

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* ix CI failure

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* module_utils nxos transport-provider fix

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* CI failure

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* nxos_lag_interfaces tests

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Integration test

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
7 years ago
The Magician 04445f184b Bug fixes for GCP (as of 2019-07-09T06:06:53Z) (#59322) 7 years ago
The Magician c6c262a07e Bug fixes for GCP (as of 2019-07-09T06:06:53Z) (#59131)
* Bug fixes for GCP modules
* ignore syntax
7 years ago
The Magician b81239ce50 Bug fixes for GCP (as of 2019-07-09T06:06:53Z) (#59323)
* Bug fixes for GCP modules
* ignore syntax
7 years ago
The Magician 5d412d89b1 Bug fixes for GCP (as of 2019-07-09T06:06:53Z) (#59325)
* Bug fixes for GCP modules
* ignore syntax
7 years ago
Martin Nečas c7f414dece ovirt vm when creating Nonetypefix (#59377)
* ovirt vm when creating Nonetypefix

* update fix and add comment

* add changelog

* Update 59377-ovirt-vm-when-creating-fix.yml
7 years ago
Brian Coca 8a886a6bee
Fix gather facts ignoring gather_subsets config (#59271)
* Fix gather facts ignoring gather_subsets config

 fixes #58728

* Update lib/ansible/playbook/play.py

Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Jordan Borean aa0de421d2
Ignore collection build release files in the root collection directory (#59121) 7 years ago
Brandon Authier 199c97728f Update disk description in vmware_guest.py (#59399)
Corrects grammar in the disk description section of the vmware_guest module documentation.


##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
7 years ago
Navid Nabavi b2e58856bf Update hpilo_boot.py (#59136)
Change `hpilo` requirement to `python-hpilo` to avoid being confused in installation with pip.
7 years ago
Alex IP a2b49854ca Update copy.py (#56370)
* Update copy.py to make the behavior of the `content` option clearer.
7 years ago
Jordan Borean 65049620ee
Generate galaxy.yml based on single source of truth (#59170)
* Generate galaxy.yml based on single source of truth

* Fix up tests and align file names

* Minor Makefile tweak

* Remove link in galaxy.yml file and make it a template file

* Moved collections docs to dev_guide

* change Makefile clean path

* Added readme to example meta file

* review fixes

* Use newer style for doc generation script

* Fix mistake in dev_guide index

* removed uneeded file, fixed links and added preview banner

* Moved banner for sanity test
7 years ago
Jordan Borean 9ff26a4a22
psrp - Added proper reconnection variable name (#59369) 7 years ago
PRASOON KARUNAN V a20afb5822 Add support for test script parameters in win_pester (#58790)
* add parameter list argument

* add tests

* fix test and add doc

* correct test file

* fix typo

* fix tests

* fix typo in file name

* correct file name reverting the previous commit

* correct property name

* add checkmode message

* changes as per review comments

* variable casing and other review comment changes

* define $test_parameters_check_mode_msg variable
7 years ago
Matt Martz 284dafe476
Perfy McPerferton (#58400)
* InventoryManager start of perf improvements

* 0 not 1

* More startswith to [0] improvements

* Remove unused var

* The hash doesn't need to be a string, start as a list, make it into a tuple

* set actually appears faster than frozenset, and these don't need to be frozen

* Cache hosts lists, to avoid extra get_hosts calls, pass to get_vars too

* negligible perf improvement, it could help with memory later

* Try the fast way, fallback to the safe way

* Revert to previous logic, linting fix

* Extend pre-caching to free

* Address test failures

* Hosts are strings

* Fix unit test

* host is a string

* update test assumption

* drop SharedPluginLoaderObj, pre-create a set, instead of 2 comparisons in the list comprehension

* Dedupe code

* Change to _hosts and _hosts_all in get_vars

* Add backwards compat for strategies that don't do set host caches

* Add deprecation message to SharedPluginLoaderObj

* Remove unused SharedPluginLoaderObj import

* Update docs/comments

* Remove debugging

* Indicate what patterh_hash is

* That won't work

* Re-fix tests

* Update _set_hosts_cache to accept the play directly, use without refresh in get_hosts_remaining and get_failed_hosts for backwards compat

* Rename variable to avoid confusion

* On add_host only manipulate _hosts_cache_all

* Add warning docs around _hosts and _hosts_all args
7 years ago
Chris Archibald 6adf0c581e New feature to na_ontap_snapmirror (#59047)
* updates

* updating version added for connection type
7 years ago
Brian Coca 74ac229fa8 fix all cases of none remote/become users (#59397)
some cases failed, when defaults were None on the plugins
7 years ago
Joseph Andreatta 7ee5835821 VMware: vmware_dvs_host: Add vendor_specific_config (#57637)
* Add vendor_specific_config
* Fix documentation typo
* Add example using vendor_specific_config
7 years ago
Chris Archibald b1360c0d94 bug fixes (#59049) 7 years ago
Trois-Six 6f9f67be18 virt_net: add way to get facts for only one specified network 7 years ago
Eric Anderson 46b821d51f state wasn't a valid value (#59274)
State isn't a valid value for the gcp_compute_address module, remove it from docs example
7 years ago
n3pjk 6531819172 snow: Fix token reference in basic authentication (#59315)
* Fix OAUTHClient logic
* Add Env variable support for snow modules

Fixes: #59299

Signed-off-by: Paul Knight <paul.knight@state.de.us>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Evert Mulder 66d12f6f1e Only convert VirtualDiskFix for #57653 clone_with_convert is failing 7 years ago
Martin Krizek b7868529ee
Revert "Speed up VariableManager by preserving Templar state. (#45572)" (#59280)
This reverts commit 6069d09b9d.

Fixes #57351
7 years ago
Abhijeet Kasurde 791e565802
VMware: Additional testcase for mem_reservation (#59365)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Tyler Ramer 8d0f2e5725 Address regression causing bootproto=dhcp for manual IP addresses (#56376)
Commit b7724fdf85
appears to have caused a regression, where `ip4`, `gw4`, `ip6`, `gw6`
were converted to `ipv4.address`, `ipv4.gateway` etc.

This causes bootproto (or `ipv4.method`) to remain `dhcp`, as noted in https://github.com/ansible/ansible/issues/36615

This commit only reverts the key-value pairs to the original names,
which is in line with both expectation (manual ip addr == no dhcp) and
the language used in the playbook, which is, for example, "ip4" not
"ipv4.address"

Co-authored-by: Stuart Pollock <spollock@pivotal.io>
Co-authored-by: Tyler Ramer <tramer@pivotal.io>
7 years ago
Klaus Frank 252d1b7e95 VMware Tools Connector does not support pipelining (#57237) 7 years ago
Abhijeet Kasurde 1f49abb51c
VMware: Accept 0 as valid value for memory reservation (#59230)
vmware_guest accepts 0MB as valid value for memory reservation in
virtual machine hardware configuration. This fixes the regression
introduced via 193f69064f.

Fixes: #59190

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Xu Yuandong c8697a4864 ce_switchport: add link-type hybrid and dot1qtunnel to mode. and fix bugs. (#59332)
* add link-type hybrid and dot1qtunnel to mode.and fix bugs.

* add verstion_add option for doc.

* update for shippable:E319.

* Update ce_switchport.py
7 years ago
Mark McKinstry db95ff4823 update documentation for dictionaries (#59354)
it has been fixed if using 0.9.0 or newer

ref https://github.com/ansible/ansible/pull/49053#issuecomment-511073083
7 years ago
Jordan Borean 2f2b106423
Fix win_reg_stat for HKU hives (#59359) 7 years ago
Micah Hunsberger 74598b212e win_hosts to use Ansible.Basic CSharp Util and better diff support (#58600)
* switch win_hosts to use csharp util

* update win_hosts doc to match doc guide

* changed linking format for option values
7 years ago
Jordan Borean 015119df8c
Windows - Add common util for web requests (#54759)
* Windows - Add common util for web requests

* Use different method of retrieving options from module arg spec

* Added proper version_added for module options

* Fix linting errors

* Fix proxy issues and updated cred docs

* Fix FTP usage with proxy settings

* Removed uneeded function added in bad rebase

* Fix up client certificate auth

* fix new sanity checks

* Edit http agent code and update porting guide
7 years ago
Jordan Borean 1f3a3fdd3e
win_firewall_rule - removed deprecated force option (#59358) 7 years ago
maletin 883cc665e3 parameter ensure replaced by state (#59342)
corrected a typo at the absent-example.
7 years ago
Chris Archibald f8c278e210 add dns info to gather facts (#59145)
* add dns info

* fix doc fragment

* Revert "fix doc fragment"

This reverts commit 8f08ac192e.
7 years ago
The Magician e7fba5cea0 New Module: gcp_mlengine_version (#59224) 7 years ago
The Magician 5b0214bcce New Module: gcp_appengine_firewall_rule (#58852) 7 years ago
The Magician 40ff1949fb New Module: gcp_mlengine_model (#59222) 7 years ago
Sam Doran 8edad83ae0
User - make groups and append mutually exclusive with local (#59309)
* Update intigration tests
7 years ago
The Magician 5c6aa9b9e8 Bug fixes for GCP (as of 2019-07-09T06:06:53Z) (#59171)
* Bug fixes for GCP modules

* ignore syntax
7 years ago
The Magician c5e26ab4da Bug fixes for GCP (as of 2019-07-09T06:06:53Z) (#59172)
* Bug fixes for GCP modules

* ignore syntax
7 years ago
The Magician b75e8d19be Bug fixes for GCP (as of 2019-07-09T06:06:53Z) (#59132)
* Bug fixes for GCP modules

* ignore syntax
7 years ago
Felix Fontein 4a574c4d0c Option parsing: warn if both an option and its alias are specified for a module (#53698)
* Print warning when both an option and its alias is specified.

* Improve output.

* Put warnings into self._warnings directly, resp. use self.warn() when handling subspecs.

* Add changelog.

* Add unit test.
7 years ago
Sam Doran f231f21669
Handle situation where ansible_architecure may not be defined when gathering facts (#55466) 7 years ago
Nilashish Chakraborty bb006db7c8
Add exclusive configuration mode support (#59289)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
7 years ago
Abhijeet Kasurde 4b152235ff
Typo fixes (#59227)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
Raul Mahiques fd2116e26a Added state "remount" which will remount the device (#52649) 7 years ago
Martin Krizek a752e2a467
Clear 'connection related' plugin vars for next loop iteration (#59024)
Fixes #58876
7 years ago
Denis Afonso da047eec59 cloudformation_facts: Fixes PhysicalResourceId KeyError(#55990)
Fixes: #38033
7 years ago
yanzhangi e7c9c9585e update ce_vrrp to fix a bug (#59185)
* update ce_vrrp to fix a bug

* update module ce_vrrp 20190718

* update ce_vrrp to fix bugs
7 years ago
Pedro Magalhães c010a6d288 Fix maven_artifact.py when your maven is behind a cloudflare (#53495)
Cloudflare has a feature that checks Browser Integrity Check, when the user agent is not present, it can fail on BIC.

Since we are defining the default value of variable "self.module.params['http_agent']" to None, this will cause that
User-Agent header will not be added, because of the conditional if present on module_utils/urls.py [1]

[1] https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/urls.py#L1135-L1136

This fix will ensure that the "self.module.params['http_agent']" will be defined

URLs:
https://support.cloudflare.com/hc/en-us/articles/200171806-Error-1010-The-owner-of-this-website-has-banned-your-access-based-on-your-browser-s-signature
https://support.cloudflare.com/hc/en-us/articles/200170086-What-does-the-Browser-Integrity-Check-do-
7 years ago
Simon Dodsley 4acbb83c84 Add checks for VG and Pod existence when creating volume (#58857) 7 years ago
Simon Dodsley a1220268b2 Add new facts for Pure Storage FlashArray (#58894)
* Update purefa_facts module to support NVMe and preferred arrays

* Update purefa_facts with new information available from array
7 years ago
Simon Dodsley aeb0245ebd Add check for correct API version before trying to execute (#59205) 7 years ago
The Magician 5f222c478d Bug fixes for GCP modules (#59130) 7 years ago
The Magician 6128d0cd8b New Module: gcp_mlengine_model_facts (#59223) 7 years ago
The Magician de92ea6b3d New Module: gcp_mlengine_version_facts (#59225) 7 years ago
Aljaž Košir 42073b6331 Add lambda_bucket_event module (#58059) 7 years ago
pratikgadiya12 393e4a41d0 Added support to create and delete multiple databases in MySQL (#58602)
* Added support to create/delete mulitiple databases in MySQL

Fixes: #58370

* Added additional tests cases and fixed documentation changes

* Code refactoring and added tests for better test coverage

- Removed db_exists usage from most of the code. Used existence_list
 and non_existence_list instead

- Added additional tests to cover all scenarios w.r.t creation and deletion
 on multiple databases

- Added tests for dump operations

* Minor fix

* Minor fix - create check mode test

* Added dump tests for better dump tests coverage

* Removed minor database connection details

* fixed error

* Added test case for import operations

* Code refactoring and review fixes

- Added dump all test case

* Fixed review comments

* Minor review comment fixes

* Altered db_create return value

* Removed db_list and altered "does exist" to just "exist"

* Kept db and db_list in module.exit_json

* Refactored tests

- Added removal of dump2 file

* Moved import tests to state_dump_import file

* Removed import tests from multi_db_create_delete

* Updated porting guide, added RETURN block

* Minor identation fix

* Added validation to check if databases are dumped
7 years ago
Felix Fontein cdf0947df0
Fix typo in import package name. (#59229) 7 years ago
Hannes Ljungberg 0e8eb1d17f pip: Remove unused option use_mirrors and remove all ignore.txt entries
PR #58977

* Remove unused option use_mirrors

* Add changelog fragment
7 years ago
Sam Doran d2edf1d435 User - Create parent directories if they do not exist in the specified home path (#51043)
* Create a user home directory if it has parents that do not exist

The useradd command line tool does not create parent directories. Check if the specified home path has parents that do not exist. If so, create them prior to running useradd, then set the proper permission on the created directory.

Add tests

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Use dict for default user group in tests

Signed-off-by: Sam Doran <sdoran@redhat.com>

* Fix tests

Signed-off-by: Sam Doran <sdoran@redhat.com>
7 years ago
Chris Archibald 2fbc226509 Update to base Netapp.py for Azure, and Rest API (#59151)
* base changes

* updateS

* fixes

* fies

* updates

* fix issues

* updates
7 years ago
Sumit Jaiswal b2d8ef69f9
PR to support Ansible Checkmode in Checkpoint modules (#57695)
* added checkmode support

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
7 years ago
Eitan Raviv 264945d75f ovirt-host-network: support commit on success (#59212)
In ovirt-engine 4.3 and onwards a 'commit on success' parameter is
available. It is used to commit a network configuration automatically
upon successful application of the configuration without needing a
separate save request.

Therefore since ansible 2.8 if the 'save' parameter is specified as
'true' the commit on success parameter will be set to true and used
instead of making an additional save request.
7 years ago
Martin Nečas 9489433a4d use sysprep only when needed (#59196) 7 years ago
n3pjk 7e25a61464 snow: Call Refactored login from snow modules (#59201)
* Remove python shebang from snow_record*
* Add python shebang to all snow modules
* Remove NO_LOG from username
* Call Refactored login from snow modules
7 years ago
Sebastiaan Mannem d0538c0d7a postgresql_pg_hba: Exception when two lines with same weight are compared (#59198) 7 years ago
Abhijeet Kasurde 8a13b41823
VMware: Use managed object id to find VM (#59143)
* Based upon partial work of wilmardo
* Now, user can specify managed object id of virtual machine to find
an existing virtual machine

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
7 years ago
James Cassell 28259ee247 dzdo: fix password prompt (#59208) 7 years ago
Michael Letterle b8a41a90b8 Wrap Get-MachineSid's body in a try/catch
It's not critical information and there's been a number of issues over
the years with trying to retrieve it. If an exception is thrown just
return null.

Fixes: #47813
7 years ago