Commit graph

28682 commits

Author SHA1 Message Date
Miguel Angel Muñoz González
628aa3a808 FortiOS modules for 2.9 - 5 (#61062)
* FortiOS modules for 2.9 - 5

* Update fortios_firewall_vip.py

* Update fortios_firewall_vip6.py
2019-08-22 17:44:17 +05:30
Miguel Angel Muñoz González
3373a2518a Fortinet's new module for fortios_system_replacemsg_mail (#60871) 2019-08-22 17:17:23 +05:30
Miguel Angel Muñoz González
4506371611 Fortinet's new module for fortios_system_replacemsg_image (#60870) 2019-08-22 17:08:32 +05:30
Miguel Angel Muñoz González
ab023b5276 Fortinet's new module for fortios_system_replacemsg_icap (#60869) 2019-08-22 17:08:11 +05:30
Miguel Angel Muñoz González
e887f1247f Fortinet's new module for fortios_system_replacemsg_http (#60868) 2019-08-22 17:06:31 +05:30
Miguel Angel Muñoz González
b2c65f20d8 Fortinet's new module for fortios_system_replacemsg_group (#60867) 2019-08-22 17:06:24 +05:30
Miguel Angel Muñoz González
c4500bffbb Fortinet's new module for fortios_system_replacemsg_ftp (#60866) 2019-08-22 16:53:12 +05:30
Miguel Angel Muñoz González
8fad5e3081 Fortinet's new module for fortios_system_replacemsg_fortiguard_wf (#60864) 2019-08-22 16:49:37 +05:30
Miguel Angel Muñoz González
bb09bdb309 Fortinet's new module for fortios_system_replacemsg_ec (#60863) 2019-08-22 16:37:29 +05:30
Miguel Angel Muñoz González
c041b6e9ca Fortinet's new module for fortios_system_replacemsg_device_detection_portal (#60862) 2019-08-22 16:36:29 +05:30
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.
2019-08-22 15:54:46 +05:30
Fortinet Core CSE NA
45cc29ba08 PR Commit for fmgr_device_provision_template. Contains bug fixes. (#58151) 2019-08-22 15:53:43 +05:30
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
2019-08-22 12:12:40 +02:00
Miguel Angel Muñoz González
62f665f0ed Fortinet's new module for fortios_system_vdom_radius_server (#61036) 2019-08-22 15:30:54 +05:30
Miguel Angel Muñoz González
ffbb906a9f Fortinet's new module for fortios_system_vdom_sflow (#61037) 2019-08-22 15:26:54 +05:30
Miguel Angel Muñoz González
95fee79c13 Fortinet's new module for fortios_system_sms_server (#60962) 2019-08-22 15:22:47 +05:30
frankshen01
f6421bbe2b Fortinet's new module for fortios_system_session_helper (#60986) 2019-08-22 15:12:53 +05:30
Miguel Angel Muñoz González
f624fd4c4c Fortinet's new module for fortios_system_vdom_dns (#60974) 2019-08-22 15:12:07 +05:30
Miguel Angel Muñoz González
2497b0fd5f Fortinet's new module for fortios_system_snmp_community (#60963) 2019-08-22 15:09:57 +05:30
Miguel Angel Muñoz González
0b1a8494a2 Fortinet's new module for fortios_system_snmp_sysinfo (#60964) 2019-08-22 15:01:35 +05:30
Miguel Angel Muñoz González
c16e9c2604 Fortinet's new module for fortios_system_replacemsg_auth (#60861) 2019-08-22 15:00:41 +05:30
Miguel Angel Muñoz González
19f35502f3 Fortinet's new module for fortios_system_replacemsg_alertmail (#60859) 2019-08-22 14:58:19 +05:30
Miguel Angel Muñoz González
1219c10844 Fortinet's new module for fortios_system_replacemsg_admin (#60858) 2019-08-22 14:57:25 +05:30
Miguel Angel Muñoz González
502682dfb0 Fortinet's new module for fortios_system_proxy_arp (#60857) 2019-08-22 14:54:56 +05:30
Miguel Angel Muñoz González
6ba7024e8a Fortinet's new module for fortios_system_probe_response (#60856) 2019-08-22 14:53:13 +05:30
Miguel Angel Muñoz González
e2e68fa7de Fortinet's new module for fortios_system_password_policy_guest_admin (#60854) 2019-08-22 14:52:04 +05:30
Miguel Angel Muñoz González
ebc3e48b66 Fortinet's new module for fortios_system_pppoe_interface (#60855) 2019-08-22 14:51:25 +05:30
Miguel Angel Muñoz González
fc544069c8 Fortinet's new module for fortios_system_snmp_user (#60970) 2019-08-22 14:51:05 +05:30
Miguel Angel Muñoz González
9cfadf2c67 Fortinet's new module for fortios_system_object_tagging (#60852) 2019-08-22 14:49:46 +05:30
Miguel Angel Muñoz González
e60b9e4944 Fortinet's new module for fortios_system_storage (#60971) 2019-08-22 14:49:34 +05:30
Miguel Angel Muñoz González
37bcb5b528 Fortinet's new module for fortios_system_password_policy (#60853) 2019-08-22 14:41:12 +05:30
Miguel Angel Muñoz González
c6d88da332 Fortinet's new module for fortios_system_ntp (#60851) 2019-08-22 14:38:54 +05:30
Miguel Angel Muñoz González
107306a5d4 Fortinet's new module for fortios_system_network_visibility (#60850) 2019-08-22 14:38:34 +05:30
Miguel Angel Muñoz González
8b882be084 Fortinet's new module for fortios_system_switch_interface (#60972) 2019-08-22 14:23:16 +05:30
Miguel Angel Muñoz González
da7ed1d8a6 Fortinet's new module for fortios_system_tos_based_priority (#60973) 2019-08-22 14:18:53 +05:30
Miguel Angel Muñoz González
7cc089f0d7 Fortinet's new module for fortios_system_vdom_netflow (#61034) 2019-08-22 14:14:20 +05:30
Miguel Angel Muñoz González
d39addf6c0 Fortinet's new module for fortios_system_nd_proxy (#60848) 2019-08-22 14:13:44 +05:30
Miguel Angel Muñoz González
83f7007848 Fortinet's new module for fortios_system_netflow (#60849) 2019-08-22 14:13:38 +05:30
Miguel Angel Muñoz González
6a0078bee2 Fortinet's new module for fortios_system_vdom_link (#61033) 2019-08-22 14:09:43 +05:30
Miguel Angel Muñoz González
7988f828b3 Fortinet's new module for fortios_system_nat64 (#60847) 2019-08-22 14:09:34 +05:30
Miguel Angel Muñoz González
5a28feb81c Fortinet's new module for fortios_system_vdom_exception (#61032) 2019-08-22 14:09:19 +05:30
Miguel Angel Muñoz González
9d70b2db8c Fortinet's new module for fortios_system_management_tunnel (#60845) 2019-08-22 14:08:37 +05:30
Miguel Angel Muñoz González
0280bcbfca Fortinet's new module for fortios_system_mobile_tunnel (#60846) 2019-08-22 14:08:25 +05:30
Miguel Angel Muñoz González
6b5b4fa5e9 Fortinet's new module for fortios_system_link_monitor (#60843) 2019-08-22 12:53:28 +05:30
Miguel Angel Muñoz González
9245310c99 Fortinet's new module for fortios_system_vdom_property (#61035) 2019-08-22 12:52:22 +05:30
Miguel Angel Muñoz González
fd11090663 Fortinet's new module for fortios_system_mac_address_table (#60844) 2019-08-22 12:29:58 +05:30
Miguel Angel Muñoz González
c2f9292987 Fortinet's new module for fortios_system_ipv6_tunnel (#60842) 2019-08-22 12:27:51 +05:30
Miguel Angel Muñoz González
8d95455167 Fortinet's new module for fortios_system_ipv6_neighbor_cache (#60841) 2019-08-22 12:27:19 +05:30
Miguel Angel Muñoz González
f8a6d6d991 Fortinet's new module for fortios_system_ips_urlfilter_dns (#60840) 2019-08-22 12:26:36 +05:30
Miguel Angel Muñoz González
0785ecf58b Fortinet's new module for fortios_system_ips_urlfilter_dns6 (#60839) 2019-08-22 12:25:54 +05:30
Miguel Angel Muñoz González
cb4de3e2a6 Fortinet's new module for fortios_system_ipip_tunnel (#60838) 2019-08-22 12:25:28 +05:30
Miguel Angel Muñoz González
b44e486fb0 Fortinet's new module for fortios_system_ha_monitor (#60837) 2019-08-22 12:24:57 +05:30
Miguel Angel Muñoz González
bcb8364031 Fortinet's new module for fortios_system_gre_tunnel (#60836) 2019-08-22 12:24:29 +05:30
Miguel Angel Muñoz González
052baf8151 Fortinet's new module for fortios_system_custom_language (#60812) 2019-08-22 12:23:39 +05:30
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
2019-08-22 08:53:29 +02:00
Miguel Angel Muñoz González
5fec75a91a Fortinet's new module for fortios_system_console (#60810) 2019-08-22 12:23:03 +05:30
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
2019-08-22 12:22:20 +05:30
Craig Forrester
21accb132e Update azure_rm_aks.py (#61079) 2019-08-22 13:28:04 +08:00
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
2019-08-22 10:02:25 +05:30
Wojciech Wypior
62feb18210 added route domain support (#61077)
added diff functionality
2019-08-21 21:20:50 -07:00
Wojciech Wypior
3e1f35155c fixed an issue with LDAP credentials not saving on the device (#61073) 2019-08-21 21:19:27 -07:00
Wojciech Wypior
e89d178440 fixed issue with no_tl3 option for client ssl profile (#61075)
added better error reporting in bigip_firewall_rule module
2019-08-21 20:58:23 -07:00
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
2019-08-21 20:58:11 -07:00
Wojciech Wypior
e5243ef1d7 enabled specyfing snat translation objects as pool members (#61076)
added route domain support
added diff functionality
2019-08-21 20:51:23 -07:00
Wojciech Wypior
3a689d3b1f added more examples of module usage (#61070) 2019-08-21 20:50:57 -07:00
Wojciech Wypior
3c19c75560 removes deprecated parameters (#61066)
adds diff functionality
fixes issue with serverscope parameter not setting on device
2019-08-21 20:50:40 -07:00
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) 2019-08-21 20:50:28 -07:00
Wojciech Wypior
306b6b728c adds new module for asm dos application profiles (#61063) 2019-08-21 20:50:07 -07:00
Wojciech Wypior
0210447fa7 fixes edge cases where software installation would time out if tomcat was not ready (#61065) 2019-08-21 20:49:33 -07:00
The Magician
3cd7182796 New Module: gcp_filestore_instance_info (#60997) 2019-08-21 15:43:12 -04:00
The Magician
21b14d95db Bug fixes for GCP modules (#60995) 2019-08-21 15:31:48 -04:00
The Magician
76cc8e9fc3 New Module: gcp_filestore_instance (#60996) 2019-08-21 15:31:38 -04:00
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
2019-08-21 13:22:10 -05:00
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
2019-08-21 23:02:25 +05:30
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>
2019-08-21 13:30:49 -04:00
Alan Rominger
98827c7963 fix openstack bug with transforming group names (#53778) 2019-08-21 08:42:54 -07:00
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.
2019-08-21 15:49:40 +02:00
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>
2019-08-21 15:47:02 +02:00
Pedro Magalhães
145a6a8756 maven_artifact.py - add support for version ranges by using spec (#54309) 2019-08-21 14:33:28 +01:00
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
2019-08-21 14:55:37 +02:00
Miguel Angel Muñoz González
839e9019ef Fortinet's new module for fortios_switch_controller_switch_group (#60787) 2019-08-21 16:59:27 +05:30
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>
2019-08-21 16:18:22 +05:30
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
2019-08-21 10:45:04 +01:00
Miguel Angel Muñoz González
1aecdbb5c5 Fortinet's new module for fortios_switch_controller_switch_interface_tag (#60788) 2019-08-21 15:10:43 +05:30
Miguel Angel Muñoz González
1d8556710e Fortinet's new module for fortios_switch_controller_switch_log (#60789) 2019-08-21 15:03:31 +05:30
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
2019-08-21 14:53:28 +05:30
Miguel Angel Muñoz González
5041be8350 Fortinet's new module for fortios_switch_controller_sflow (#60783) 2019-08-21 13:43:49 +05:30
Miguel Angel Muñoz González
af49cd0c4e Fortinet's new module for fortios_switch_controller_security_policy_captive_portal (#60782) 2019-08-21 13:36:34 +05:30
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.
2019-08-21 09:09:22 +02:00
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>
2019-08-21 12:30:13 +05:30
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
2019-08-21 12:23:17 +05:30
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
2019-08-21 11:17:29 +05:30
Bojan Vitnik
04e0f9d4ea XenServer: When VM is in powered on state, plug newly added disks
Fixes: #60693
2019-08-21 10:50:14 +05:30
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
2019-08-21 04:00:53 +02:00
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
2019-08-21 07:49:05 +10:00
Nathaniel Case
764a81fce7
New module eos_lacp (#60698)
* Initial builder import

* Add tests

* Implement facts & config
2019-08-20 16:11:31 -04:00
The Magician
229219ab77 Bug fixes for GCP modules (#60920) 2019-08-20 14:30:16 -04:00
Kevin Breit
48a04fade4 Update host parameter notes to include China. (#60967) 2019-08-20 14:20:31 -04:00
Chris Archibald
673c9a3ee2 add import error (#60886) 2019-08-20 13:50:30 -04:00
Chris Archibald
3940a2c3c4 bug and doc fixes (#60888) 2019-08-20 13:50:09 -04:00
Chris Archibald
211fd2c95f small bug fix (#60890) 2019-08-20 13:49:59 -04:00
Chris Archibald
cba8e12e3c bug fix, was not checking vserver (#60892) 2019-08-20 13:49:33 -04:00
Chris Archibald
684661b5e0 small bug fix (#60893) 2019-08-20 13:49:24 -04:00
Chris Archibald
e1e2e61494 small update (#60894) 2019-08-20 13:33:24 -04:00
Chris Archibald
90d84dd162 doc update (#60895) 2019-08-20 13:33:10 -04:00
Chris Archibald
cd093be8b2 small bug fix for elementsw_vlan (#60896) 2019-08-20 13:33:00 -04:00
Chris Archibald
4bffa76134 small bug fix for cifs acl (#60898) 2019-08-20 13:32:49 -04:00
Chris Archibald
aae484dbae cg snapshot needs to use vserver (#60899) 2019-08-20 13:32:34 -04:00
Chris Archibald
ad7b55f9ec update copyright (#60900) 2019-08-20 13:32:23 -04:00
Chris Archibald
099d18bb7e small doc update (#60902) 2019-08-20 13:32:05 -04:00
Chris Archibald
f8913dce6e update copyright (#60903) 2019-08-20 13:31:53 -04:00
Chris Archibald
a972ceb344 bug fixes for backup (#60904) 2019-08-20 13:31:40 -04:00
Chris Archibald
63d4de7e1c igroup has to use vserver (#60905) 2019-08-20 13:31:30 -04:00
Chris Archibald
d62e75bf6d update copyright (#60906) 2019-08-20 13:31:20 -04:00
Chris Archibald
ceee866794 fixes' (#60907) 2019-08-20 13:21:26 -04:00
Chris Archibald
db465384b0 update copyright (#60908) 2019-08-20 13:21:16 -04:00
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
2019-08-20 10:32:02 -05:00
Matt Martz
ba25522db4
Remove ddeprecated redis_kv lookup. Fixes #59984 (#60826) 2019-08-20 10:27:09 -05:00
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)
2019-08-20 09:54:02 -05:00
Felix Fontein
e58919bccd
gluster_heal_facts: rename to gluster_heal_info (#60919)
* Rename gluster_heal_facts -> gluster_heal_info

* Add changelog.
2019-08-20 15:43:41 +02:00
Felix Fontein
c66163b118
hpilo_facts: rename to hpilo_info (#60917)
* Rename hpilo_facts -> hpilo_info

* Fix porting guide.

* Add changelog.
2019-08-20 15:14:18 +02:00
Miguel Angel Muñoz González
2e6458bb73 Fortinet's new module for fortios_switch_controller_security_policy_802_1X (#60779) 2019-08-20 18:08:47 +05:30
Miguel Angel Muñoz González
34bc40cfde Fortinet's new module for fortios_switch_controller_qos_queue_policy (#60777) 2019-08-20 16:55:52 +05:30
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
2019-08-20 16:52:30 +05:30
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
2019-08-20 07:15:40 -04:00
Miguel Angel Muñoz González
7224114c3c Fortinet's new module for fortios_switch_controller_quarantine (#60778) 2019-08-20 16:45:15 +05:30
Miguel Angel Muñoz González
150b20ed1d Fortinet's new module for fortios_system_geoip_override (#60835) 2019-08-20 16:31:21 +05:30
Miguel Angel Muñoz González
f578534c79 Fortinet's new module for fortios_system_ftm_push (#60834) 2019-08-20 16:30:50 +05:30
Miguel Angel Muñoz González
f19851f1a3 Fortinet's new module for fortios_system_fsso_polling (#60832) 2019-08-20 16:30:26 +05:30
Miguel Angel Muñoz González
95338e9062 Fortinet's new module for fortios_system_fortisandbox (#60831) 2019-08-20 16:29:41 +05:30
Miguel Angel Muñoz González
6089509c8a Fortinet's new module for fortios_system_fortimanager (#60830) 2019-08-20 16:29:05 +05:30
Miguel Angel Muñoz González
869b5550c6 Fortinet's new module for fortios_system_fortiguard (#60829) 2019-08-20 16:26:29 +05:30
Miguel Angel Muñoz González
fea50bef72 Fortinet's new module for fortios_system_fm (#60828) 2019-08-20 16:25:53 +05:30
Miguel Angel Muñoz González
7328c71adb Fortinet's new module for fortios_system_fips_cc (#60827) 2019-08-20 16:25:35 +05:30
Miguel Angel Muñoz González
e223100f27 Fortinet's new module for fortios_system_external_resource (#60825) 2019-08-20 16:25:10 +05:30
Miguel Angel Muñoz González
e2c3f67aad Fortinet's new module for fortios_system_email_server (#60824) 2019-08-20 16:21:08 +05:30
Miguel Angel Muñoz González
7cd380ddc3 Fortinet's new module for fortios_system_dscp_based_priority (#60823) 2019-08-20 16:20:38 +05:30
Miguel Angel Muñoz González
5deaf3f495 Fortinet's new module for fortios_system_dns_server (#60822) 2019-08-20 16:20:17 +05:30
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
2019-08-20 16:19:44 +05:30
Miguel Angel Muñoz González
1dc6c05521 Fortinet's new module for fortios_system_dhcp6_server (#60816) 2019-08-20 16:18:58 +05:30
Miguel Angel Muñoz González
1c75506e22 Fortinet's new module for fortios_system_dedicated_mgmt (#60815) 2019-08-20 16:18:05 +05:30
Miguel Angel Muñoz González
55110408c0 Fortinet's new module for fortios_system_ddns (#60813) 2019-08-20 16:17:42 +05:30
Miguel Angel Muñoz González
e4f6d956a7 Fortinet's new module for fortios_system_csf (#60811) 2019-08-20 16:17:06 +05:30
Miguel Angel Muñoz González
6382f8cb46 Fortinet's new module for fortios_system_cluster_sync (#60807) 2019-08-20 16:15:08 +05:30
Miguel Angel Muñoz González
ce8493fc4d Fortinet's new module for fortios_system_autoupdate_tunneling (#60804) 2019-08-20 16:14:23 +05:30
Miguel Angel Muñoz González
2e9b9d2a70 Fortinet's new module for fortios_system_autoupdate_schedule (#60803) 2019-08-20 16:13:51 +05:30
Miguel Angel Muñoz González
5557a9eb44 Fortinet's new module for fortios_system_autoupdate_push_update (#60802) 2019-08-20 16:12:40 +05:30
Miguel Angel Muñoz González
4cb81ad13f Fortinet's new module for fortios_system_auto_script (#60801) 2019-08-20 16:11:59 +05:30
Miguel Angel Muñoz González
f3c288acf3 Fortinet's new module for fortios_system_automation_trigger (#60800) 2019-08-20 16:11:33 +05:30
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
2019-08-20 16:11:11 +05:30
Miguel Angel Muñoz González
2b103a2e54 Fortinet's new module for fortios_system_automation_stitch (#60799) 2019-08-20 16:10:43 +05:30
Miguel Angel Muñoz González
47dcd2ea23 Fortinet's new module for fortios_system_automation_destination (#60798) 2019-08-20 16:09:22 +05:30
Miguel Angel Muñoz González
bef8a682d7 Fortinet's new module for fortios_system_automation_action (#60797) 2019-08-20 16:07:41 +05:30
Miguel Angel Muñoz González
2013f5e728 Fortinet's new module for fortios_system_auto_install (#60795) 2019-08-20 16:00:08 +05:30
Miguel Angel Muñoz González
c5a29d0b0c Fortinet's new module for fortios_system_arp_table (#60794) 2019-08-20 15:58:46 +05:30
Miguel Angel Muñoz González
e0e2be1447 Fortinet's new module for fortios_system_alias (#60793) 2019-08-20 15:57:23 +05:30
Miguel Angel Muñoz González
29df45cd95 Fortinet's new module for fortios_system_alarm (#60792) 2019-08-20 15:56:39 +05:30
Miguel Angel Muñoz González
bc98bf67af Fortinet's new module for fortios_system_affinity_packet_redistribution (#60791) 2019-08-20 15:54:53 +05:30
Miguel Angel Muñoz González
a97f4693d9 Fortinet's new module for fortios_system_affinity_interrupt (#60790) 2019-08-20 15:48:46 +05:30
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.
2019-08-20 19:44:38 +10:00
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
2019-08-20 15:06:07 +05:30
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
2019-08-20 15:02:14 +05:30
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
2019-08-20 14:53:25 +05:30
Sumit Jaiswal
8a8798c373
Resource module for ios_lacp_interfaces (#59516)
* ios lacp interfaces

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
2019-08-20 13:37:31 +05:30
Sumit Jaiswal
642e54f958
Resource module for ios_lacp (#60884)
* ios lacp resource

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
2019-08-20 12:05:14 +05:30
patocl
5027416fb5 Sort version list on azure_rm_aksversion_facts (#60820) 2019-08-20 14:25:57 +08:00
Abhijeet Kasurde
dae2040717
VMware: refactor REST APIs (#60220)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-08-20 09:15:52 +05:30
The Magician
95aa86fcc3 Bug fixes for GCP modules (#60719) 2019-08-19 15:53:30 -04:00
The Magician
5c8855b404 Bug fixes for GCP modules (#60720) 2019-08-19 15:53:19 -04:00
The Magician
bf57668423 Bug fixes for GCP modules (#60721) 2019-08-19 15:53:09 -04:00
The Magician
57a248764c Bug fixes for GCP modules (#60722) 2019-08-19 15:52:58 -04:00
The Magician
73623c0029 Bug fixes for GCP modules (#60723) 2019-08-19 15:52:47 -04:00
The Magician
2f033b6169 Bug fixes for GCP modules (#60724) 2019-08-19 15:52:39 -04:00
Nathaniel Case
efa163a2e8
New module eos_lag_interfaces (#60610)
* Copy module files

* Deprecate eos_linkagg

* Add tests
2019-08-19 15:34:20 -04:00
Paul Belanger
7c704526f3
Remove unused variable from iosxr_logging (#60865)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-19 15:28:20 -04:00
radag87
8bac810e38 Update user.py (#60746)
Return value `ssh_key_file` is the private key, not the public key
2019-08-19 14:15:02 -05:00
rfrench42
13f5e930a4 Added support for addtional partitions in ARN (#28699) (#28704) 2019-08-19 15:12:31 -04:00
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>
2019-08-19 12:33:04 -04:00
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
2019-08-19 09:22:38 -07:00
Paul Belanger
2f05953b52
Remove unused import for ios_l2_interface (#60814)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-19 11:48:22 -04:00
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
2019-08-19 11:24:36 -04:00
Sumit Jaiswal
04ef376ab2
Resource module for ios_lag_interfaces (#60672)
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
2019-08-19 20:41:00 +05:30
Dusan Matejka
31bfcd4745 Reworked zabbix_template to support XML import/export + updated documentation (#59040) 2019-08-19 10:53:58 -04:00
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
2019-08-19 19:57:57 +05:30
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
2019-08-19 19:57:33 +05:30
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
2019-08-19 19:56:58 +05:30
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
2019-08-19 19:56:19 +05:30
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
2019-08-19 19:55:46 +05:30
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
2019-08-19 19:55:23 +05:30
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
2019-08-19 19:54:52 +05:30
René Moser
4b743a2721
vultr: use exponential backoff for api query retries (#60529) 2019-08-19 16:09:09 +02:00
Miguel Angel Muñoz González
f9f882a981 Fortinet's new module for fortios_switch_controller_qos_dot1p_map (#60774) 2019-08-19 19:07:48 +05:30
Miguel Angel Muñoz González
8039dea8c4 Fortinet's new module for fortios_switch_controller_igmp_snooping (#60772) 2019-08-19 19:07:07 +05:30
Miguel Angel Muñoz González
6d93cddd58 Fortinet's new module for fortios_switch_controller_custom_command (#60771) 2019-08-19 19:06:33 +05:30
Ujwal Komarla
cbdbf24d15 Terminal prompt Regex update for VPEX mode (#60547) 2019-08-19 19:05:22 +05:30
Miguel Angel Muñoz González
b48e51cf6d Fortinet's new module for fortios_spamfilter_options (#60769) 2019-08-19 19:04:08 +05:30
Miguel Angel Muñoz González
4a99c5f64b Fortinet's new module for fortios_spamfilter_fortishield (#60766) 2019-08-19 19:02:21 +05:30
Miguel Angel Muñoz González
a9566d1b99 Fortinet's new module for fortios_router_static6 (#60762) 2019-08-19 18:58:33 +05:30
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
2019-08-19 18:56:20 +05:30
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
2019-08-19 09:02:38 -04:00
Miguel Angel Muñoz González
256db658b7 Fortinet's new module for fortios_router_prefix_list6 (#60759) 2019-08-19 18:23:07 +05:30
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
2019-08-19 18:18:11 +05:30
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>
2019-08-19 17:31:09 +05:30
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>
2019-08-19 16:03:29 +05:30
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.
2019-08-19 19:44:03 +10:00
Miguel Angel Muñoz González
20f9e72c74 Fortinet's new module for fortios_router_key_chain (#60758) 2019-08-19 15:08:46 +05:30
Miguel Angel Muñoz González
be639a57f8 Fortinet's new module for fortios_router_isis (#60757) 2019-08-19 15:05:16 +05:30
Miguel Angel Muñoz González
174a854e05 Fortinet's new module for fortios_router_community_list (#60756) 2019-08-19 15:02:44 +05:30
Miguel Angel Muñoz González
78a382e91d Fortinet's new module for fortios_router_aspath_list (#60755) 2019-08-19 15:01:55 +05:30
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>
2019-08-19 03:21:50 -04:00
Ryan Butler
555b8413a1 VMware: Add uptime and maintenance mode in vmware_host_facts (#60688)
* adding host facts
* adding to test
2019-08-19 10:57:01 +05:30
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
2019-08-19 06:21:47 +10:00
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
2019-08-19 06:17:41 +10:00
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
2019-08-18 16:14:51 -04:00
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
2019-08-19 06:05:33 +10:00
Felix Fontein
0d88ec241f
openssl_certificate: fix idempotency (#60745)
* Fix openssl_certificate idempotency.

* Add changelog.

* Add integration test.
2019-08-18 20:48:34 +02:00
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.
2019-08-18 11:41:50 +02:00
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
2019-08-18 08:55:54 +02:00
Felix Fontein
26b9c81a8e
crypto modules: fix sanity errors (#60046)
* Remove sanity warnings.

* Linting.

* More linting.

* Forgot one place.

* no_bytes -> num_bytes
2019-08-18 05:37:57 +02:00
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.
2019-08-18 05:09:49 +02:00
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>
2019-08-17 21:32:02 +02:00
Sumit Jaiswal
ab07c206aa
Resource module for ios_l2_interfaces (#60344)
* ios_l2_interface checkin

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
2019-08-17 23:02:36 +05:30
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>
2019-08-17 22:38:53 +05:30
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>
2019-08-17 18:52:14 +02:00
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.
2019-08-17 16:02:14 +02:00
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.
2019-08-17 15:58:25 +02:00
Felix Fontein
cf69b73c04
openssl_certificate/csr_info: add ordered issuer/subject return value (#60708)
* Add ordered issuer/subject return value.

* Add changelog.
2019-08-17 15:49:54 +02:00
Lukas Kämmerling
100b56439e hcloud_server: Allow users to enable/disable the rescue mode (#60070) 2019-08-17 11:29:58 +02:00
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
2019-08-16 22:17:51 -04:00
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
2019-08-17 03:15:32 +02:00
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)
2019-08-17 03:15:18 +02:00
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
2019-08-16 21:10:08 -04:00
Nirav Katarmal
b34002bb55 Added preferred group attribute to epg (#59779) 2019-08-17 03:04:52 +02:00
The Magician
11862782ff Bug fixes for GCP modules (#60666) 2019-08-16 17:41:54 -04:00
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
2019-08-16 12:36:43 -07:00
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>
2019-08-16 15:25:10 -04:00
The Magician
da57c3b334 Bug fixes for GCP modules (#60664) 2019-08-16 15:24:24 -04:00
The Magician
7cee7a6d90 Bug fixes for GCP modules (#60665) 2019-08-16 15:24:15 -04:00
The Magician
8d33e9ae4d Bug fixes for GCP modules (#60667) 2019-08-16 15:23:48 -04:00
The Magician
818d1b2e45 New Module: gcp_cloudfunctions_cloud_function (#60668) 2019-08-16 15:23:39 -04:00
Jiri Tyr
134379b273 Updating documentation for the setup module (#60696) 2019-08-16 13:42:54 -05:00
The Magician
e7a8e48053 New Module: gcp_cloudfunctions_cloud_function_info (#60669) 2019-08-16 14:32:35 -04:00
Dusan Matejka
df9b4faa9f Documented disadvantages of using default zabbix password for all zab… (#60639)
* Update lib/ansible/plugins/doc_fragments/zabbix.py
2019-08-16 10:58:06 -05:00
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
2019-08-16 11:51:20 -04:00
Miguel Angel Muñoz González
7e22c7482e Fortinet's new module for fortios_switch_controller_system (#60691) 2019-08-16 20:40:37 +05:30
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
2019-08-16 20:40:27 +05:30
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
2019-08-16 20:34:37 +05:30
Sumit Jaiswal
585bfead75
fix ios_interfaces (#60687) 2019-08-16 19:25:28 +05:30
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
2019-08-16 15:23:45 +02:00
Felix Fontein
48541910bf
docker_container: add mount endpoint collision detection (#60384)
* Add mount endpoint collision detection.

* Add changelog.

* Fix error.
2019-08-16 15:23:03 +02:00