Nathaniel Case
764a81fce7
New module eos_lacp ( #60698 )
...
* Initial builder import
* Add tests
* Implement facts & config
2019-08-20 16:11:31 -04:00
Matt Clay
92380d7050
Update ansible-test --windows inventory creation. ( #60911 )
...
Host specific settings are created as part of the generated inventory instead of using a host_vars directory.
Also update connection tests to work properly with the generated inventory changes.
2019-08-20 07:17:32 -07: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
Trishna Guha
41dc8e84e4
fix nxos test failure ( #60928 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-20 16:14:00 +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
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
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
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
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
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
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
Trishna Guha
f1cf838797
fix nxos CI failures ( #60752 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-19 14:24:39 +05:30
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
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
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
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
Paul Belanger
13996aaff6
Fix missing variable with nxos_install_os tests ( #60351 )
...
Today we are getting an Ansible templating exception because this
variable isn't defined. But we also don't want testing to run, as we
don't have ability to run this test in DCI.
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-17 10:04:50 -04: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
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
Matt Clay
ebe55e83c3
Fix ansible-test bin creation.
...
Use symlink instead of link.
2019-08-16 14:00:43 -07:00
Matt Martz
def3d1f815
validate-modules: support collections ( #60247 )
...
* Start of work to support collections
* remove version_added from base schema
* If a collection, pass that to validate-modules
* clean ups
* Allow version_added in a collection, just make it optional
* Don't traceback on missing doc_fragment
* Don't validate metadata in a collection
2019-08-16 14:28:34 -05:00
The Magician
818d1b2e45
New Module: gcp_cloudfunctions_cloud_function ( #60668 )
2019-08-16 15:23:39 -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
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
Matt Clay
d9c44897a6
Fix ansible-test cloud vars overwrite.
2019-08-15 10:20:14 -07:00
Gonéri Le Bouder
218f4276d5
vmware_drs_group: creates test vm properly
...
Creates the test VMs with `prepare_vmware_test`. Before this commit,
only one VM was created and the next step was failing because this was
not matching the expected list of VMs.
2019-08-15 16:57:39 +02:00
Matt Clay
7968dc4c00
Load integration config test vars from content.
...
The `test/integration/integration_config.yml` vars file will now be loaded from the content under test and is now optional.
The `output_dir` and `win_output_dir` vars are now provided by ansible-test.
2019-08-14 20:40:59 -07:00
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
2019-08-15 11:53:40 +10:00
Matt Clay
0c74ee4352
Clean up various integration tests. ( #60613 )
...
* Fix var_blending test temp dir usage.
* Fix filters integration test:
- Fix use of `output_dir`.
- Use `localhost` instead of `testhost` since we're only testing filters.
- Fix `fileglob` test to actually test a directory that exists.
* Fix lookups integration test:
- Fix use of `output_dir`.
- Use `localhost` instead of `testhost` since we're only testing lookups.
* Fix ansible-runner test temp dir usage.
* Fix template and template_jinja2_latest test.
Use the `OUTPUT_DIR` env var to get the output directory for the tests.
* Fix Python version compat in filters test.
* Skip filters test on Python 2.6.
2019-08-14 16:33:45 -07:00
Kevin Breit
f52657fb7d
Meraki - Initial unit tests ( #55251 )
...
* Initial commit for the most basic of unit tests
* Rewrote unit test to actually work
- Uses pytest's fixtures structure, not classes
- Added a test file for importing
* Whitespace fixes
* Draft version of the mock unit test
* Modify code to actually work!
* Add 429 testing
* ansible-test fixes
* Resort lines
* Fix import for 2.x compatibility
2019-08-14 17:00:27 -04:00
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
2019-08-14 16:58:03 -04:00
René Moser
f02f5c4b5d
cloudscale_server: add tags support ( #60396 )
2019-08-14 22:55:31 +02:00
René Moser
5298d312a2
cloudscale_server_group: add tags support ( #60397 )
2019-08-14 22:54:25 +02:00
Lukas Kämmerling
4a09c7a920
hcloud: Add hcloud_rdns Module ( #60123 )
2019-08-14 22:51:05 +02:00
Chris Archibald
206594c5f0
New Module: Volume Autosize ( #59936 )
...
* add new module
* update volume
2019-08-14 15:21:51 -04:00
Gonéri Le Bouder
b8430a3221
vmware_guest_screenshot: fix the functional test
...
- VM are off my default since 964783fbd2
- `infra.vm_list[0]` → `virtual_machines_in_cluster[0].name`
- `datacenter` key is currently mandatory, see: https://github.com/ansible/ansible/issues/60565
2019-08-14 18:59:58 +02:00
Matt Clay
27ff8b1a80
Clean up unused config usage in integration tests.
2019-08-14 09:44:36 -07:00
Andrey Klychkov
7955405a23
optparse_helpers: improve unit tests for version() ( #59626 )
...
optparse_helpers: improve unit tests for version()
2019-08-14 10:32:26 -05:00
Chris Archibald
fed6598e28
fixes ( #60146 )
2019-08-14 10:26:12 -04:00
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
2019-08-14 19:44:51 +05:30
Chris Archibald
645eebdbbb
new options ( #60142 )
2019-08-14 09:51:38 -04:00
Chris Archibald
ae794369f8
new module: na_ontap_vserver_cifs_security ( #59817 )
...
* new module
* fixes
2019-08-14 09:02:56 -04:00
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>
2019-08-14 17:31:49 +05:30
Trishna Guha
d5d88f9b11
Add nxos_interfaces resource module ( #60421 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-14 13:38:22 +05:30
Matt Clay
b07f96c31d
Fix integration test temp dir usage. ( #60555 )
...
* Fix xfs_quota integration test temp dir usage.
* Fix lvg integration test temp dir usage.
* Fix filesystem integration test temp dir usage.
* Fix connection_windows_ssh test temp dir usage.
2019-08-14 00:12:05 -07:00
Matt Clay
ba1b4565d3
Clean up ansible-test results path handling.
...
This brings us closer to being able to use `tests/` instead of `test/` in collections.
2019-08-13 21:51:57 -07:00
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
2019-08-14 06:36:29 +10:00
Matt Clay
1b8aa798df
Update ansible-test integration config handling. ( #60448 )
...
* Move Ansible test config into env vars.
This allows ansible-test to use an empty Ansible config file, leaving open the option for users to customize the one used to run tests (although such usage is discouraged).
* Use config from content under test when present.
2019-08-13 13:18:55 -07:00
Matt Clay
60f8483603
Add missing boilerplate to collections test. ( #60507 )
...
* Add missing boilerplate to collections test.
* Remove redundant Python version check.
2019-08-13 12:20:14 -07:00
Andrey Klychkov
21863d48f3
unit tests: remove unused imports ( #60462 )
2019-08-13 19:21:43 +02:00
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
2019-08-13 12:59:13 -04:00
Sam Doran
a20848bf66
Use new version of default test image that contains Python 3.8.0b3 ( #60139 )
2019-08-13 12:28:02 -04:00
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
2019-08-13 10:09:52 -04:00
Nilashish Chakraborty
ef0f28097e
Remove lo from config ( #60480 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-08-13 19:10:56 +05:30
Chris Archibald
2e819c87db
new options ( #60145 )
2019-08-13 09:35:01 -04:00
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
2019-08-13 23:11:21 +10:00
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.
2019-08-13 08:01:37 -04:00
Nilashish Chakraborty
6110dcc789
Add iosxr_lldp_interfaces resource module ( #60411 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-08-13 14:58:55 +05:30
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
2019-08-13 09:57:49 +01:00
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
2019-08-13 13:05:17 +05:30
Trishna Guha
0acf7be56a
Add nxos_lacp_interfaces resource module ( #60313 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-13 12:13:35 +05:30
Matt Clay
25d396fdfc
Fix testing of Windows binary modules.
2019-08-12 22:19:35 -07:00
Matt Clay
d36919856f
Update integration tests. ( #60447 )
...
* Remove unnecessary ANSIBLE_CONFIG override.
* Fix pull integration test.
* Fix inventory_foreman integration test.
2019-08-12 16:23:47 -07:00
Sam Doran
c485a1b91e
Fix sanity tests based on newer version of shellcheck ( #60423 )
...
- change egrep to grep -E
- store exit codes and check them directly
- ignore SC1091
2019-08-12 16:24:28 -04:00
Matt Martz
697b566971
Update units to pass on macOS ( #60435 )
...
* Update units to pass on macOS. Fixes #27810
* raising=False
2019-08-12 15:13:07 -05:00
The Magician
6cb5b67b22
Bug fixes for GCP modules ( #60115 )
2019-08-12 14:34:20 -04:00
The Magician
be459c00bf
Bug fixes for GCP modules ( #60337 )
2019-08-12 14:31:35 -04:00
The Magician
687da46a85
Bug fixes for GCP modules ( #60338 )
2019-08-12 13:41:41 -04:00
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.
2019-08-12 10:37:45 -04:00
Chris Archibald
13403b3688
update to command ( #60141 )
2019-08-12 10:30:00 -04:00
Chris Archibald
5df9075386
New Module: na_ontap_ports ( #59814 )
...
* new module
* fixes
2019-08-12 10:23:24 -04:00
Nathan Swartz
abc5654738
Fix netapp_e_iscsi_target chap secret size and clearing functionality. ( #57135 )
2019-08-12 09:52:40 -04:00
Nilashish Chakraborty
09f712c7f3
Add iosxr_lldp_global resource module ( #60074 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-08-12 18:03:23 +05:30
Andrey Klychkov
3929dc00a1
unittests: remove unused imports ( #60404 )
2019-08-12 13:35:39 +02:00
Gonéri Le Bouder
a3407682ed
ansible-test: fix the vcenter+vcsim support
...
The vcenter provider allow one to use the `VMWARE_TEST_PLATFORM` to
manually select a test platform. The test platforms are:
- `govcsim`
- `static`
- and `worldstream`.
Before this commit, the `govcsim` value was ignored.
Example:
```shell
$ VMWARE_TEST_PLATFORM=govcsim ansible-test integration --python 3.7 needs/target/prepare_vmware_tests/
```
2019-08-12 11:55:38 +02:00
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
2019-08-12 14:58:02 +05:30
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
2019-08-12 14:56:11 +05:30
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
2019-08-12 14:55:19 +05:30
René Moser
602aded6ec
vultr: vultr_block_storage_facts to info ( #60230 )
2019-08-12 10:36:21 +02:00