Commit Graph

8778 Commits (7cc089f0d7d36e6cb3de6513bd5ac0848a80fcc9)

Author SHA1 Message Date
Felix Fontein e58919bccd
gluster_heal_facts: rename to gluster_heal_info (#60919)
* Rename gluster_heal_facts -> gluster_heal_info

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

* Fix porting guide.

* Add changelog.
5 years ago
Miguel Angel Muñoz González 2e6458bb73 Fortinet's new module for fortios_switch_controller_security_policy_802_1X (#60779) 5 years ago
Miguel Angel Muñoz González 34bc40cfde Fortinet's new module for fortios_switch_controller_qos_queue_policy (#60777) 5 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
5 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
5 years ago
Miguel Angel Muñoz González 7224114c3c Fortinet's new module for fortios_switch_controller_quarantine (#60778) 5 years ago
Miguel Angel Muñoz González 150b20ed1d Fortinet's new module for fortios_system_geoip_override (#60835) 5 years ago
Miguel Angel Muñoz González f578534c79 Fortinet's new module for fortios_system_ftm_push (#60834) 5 years ago
Miguel Angel Muñoz González f19851f1a3 Fortinet's new module for fortios_system_fsso_polling (#60832) 5 years ago
Miguel Angel Muñoz González 95338e9062 Fortinet's new module for fortios_system_fortisandbox (#60831) 5 years ago
Miguel Angel Muñoz González 6089509c8a Fortinet's new module for fortios_system_fortimanager (#60830) 5 years ago
Miguel Angel Muñoz González 869b5550c6 Fortinet's new module for fortios_system_fortiguard (#60829) 5 years ago
Miguel Angel Muñoz González fea50bef72 Fortinet's new module for fortios_system_fm (#60828) 5 years ago
Miguel Angel Muñoz González 7328c71adb Fortinet's new module for fortios_system_fips_cc (#60827) 5 years ago
Miguel Angel Muñoz González e223100f27 Fortinet's new module for fortios_system_external_resource (#60825) 5 years ago
Miguel Angel Muñoz González e2c3f67aad Fortinet's new module for fortios_system_email_server (#60824) 5 years ago
Miguel Angel Muñoz González 7cd380ddc3 Fortinet's new module for fortios_system_dscp_based_priority (#60823) 5 years ago
Miguel Angel Muñoz González 5deaf3f495 Fortinet's new module for fortios_system_dns_server (#60822) 5 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
5 years ago
Miguel Angel Muñoz González 1dc6c05521 Fortinet's new module for fortios_system_dhcp6_server (#60816) 5 years ago
Miguel Angel Muñoz González 1c75506e22 Fortinet's new module for fortios_system_dedicated_mgmt (#60815) 5 years ago
Miguel Angel Muñoz González 55110408c0 Fortinet's new module for fortios_system_ddns (#60813) 5 years ago
Miguel Angel Muñoz González e4f6d956a7 Fortinet's new module for fortios_system_csf (#60811) 5 years ago
Miguel Angel Muñoz González 6382f8cb46 Fortinet's new module for fortios_system_cluster_sync (#60807) 5 years ago
Miguel Angel Muñoz González ce8493fc4d Fortinet's new module for fortios_system_autoupdate_tunneling (#60804) 5 years ago
Trishna Guha 41dc8e84e4
fix nxos test failure (#60928)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
5 years ago
Miguel Angel Muñoz González 2e9b9d2a70 Fortinet's new module for fortios_system_autoupdate_schedule (#60803) 5 years ago
Miguel Angel Muñoz González 5557a9eb44 Fortinet's new module for fortios_system_autoupdate_push_update (#60802) 5 years ago
Miguel Angel Muñoz González 4cb81ad13f Fortinet's new module for fortios_system_auto_script (#60801) 5 years ago
Miguel Angel Muñoz González f3c288acf3 Fortinet's new module for fortios_system_automation_trigger (#60800) 5 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
5 years ago
Miguel Angel Muñoz González 2b103a2e54 Fortinet's new module for fortios_system_automation_stitch (#60799) 5 years ago
Miguel Angel Muñoz González 47dcd2ea23 Fortinet's new module for fortios_system_automation_destination (#60798) 5 years ago
Miguel Angel Muñoz González bef8a682d7 Fortinet's new module for fortios_system_automation_action (#60797) 5 years ago
Miguel Angel Muñoz González 2013f5e728 Fortinet's new module for fortios_system_auto_install (#60795) 5 years ago
Miguel Angel Muñoz González c5a29d0b0c Fortinet's new module for fortios_system_arp_table (#60794) 5 years ago
Miguel Angel Muñoz González e0e2be1447 Fortinet's new module for fortios_system_alias (#60793) 5 years ago
Miguel Angel Muñoz González 29df45cd95 Fortinet's new module for fortios_system_alarm (#60792) 5 years ago
Miguel Angel Muñoz González bc98bf67af Fortinet's new module for fortios_system_affinity_packet_redistribution (#60791) 5 years ago
Miguel Angel Muñoz González a97f4693d9 Fortinet's new module for fortios_system_affinity_interrupt (#60790) 5 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.
5 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
5 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
5 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
5 years ago
Sumit Jaiswal 8a8798c373
Resource module for ios_lacp_interfaces (#59516)
* ios lacp interfaces

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

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
5 years ago
Nathaniel Case efa163a2e8
New module eos_lag_interfaces (#60610)
* Copy module files

* Deprecate eos_linkagg

* Add tests
5 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
5 years ago
Sumit Jaiswal 04ef376ab2
Resource module for ios_lag_interfaces (#60672)
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
5 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
5 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
5 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
5 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
5 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
5 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
5 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
5 years ago
Miguel Angel Muñoz González f9f882a981 Fortinet's new module for fortios_switch_controller_qos_dot1p_map (#60774) 5 years ago
Miguel Angel Muñoz González 8039dea8c4 Fortinet's new module for fortios_switch_controller_igmp_snooping (#60772) 5 years ago
Miguel Angel Muñoz González 6d93cddd58 Fortinet's new module for fortios_switch_controller_custom_command (#60771) 5 years ago
Miguel Angel Muñoz González b48e51cf6d Fortinet's new module for fortios_spamfilter_options (#60769) 5 years ago
Miguel Angel Muñoz González 4a99c5f64b Fortinet's new module for fortios_spamfilter_fortishield (#60766) 5 years ago
Miguel Angel Muñoz González a9566d1b99 Fortinet's new module for fortios_router_static6 (#60762) 5 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
5 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
5 years ago
Miguel Angel Muñoz González 256db658b7 Fortinet's new module for fortios_router_prefix_list6 (#60759) 5 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
5 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>
5 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>
5 years ago
Miguel Angel Muñoz González 20f9e72c74 Fortinet's new module for fortios_router_key_chain (#60758) 5 years ago
Miguel Angel Muñoz González be639a57f8 Fortinet's new module for fortios_router_isis (#60757) 5 years ago
Miguel Angel Muñoz González 174a854e05 Fortinet's new module for fortios_router_community_list (#60756) 5 years ago
Miguel Angel Muñoz González 78a382e91d Fortinet's new module for fortios_router_aspath_list (#60755) 5 years ago
Trishna Guha f1cf838797
fix nxos CI failures (#60752)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
5 years ago
Ryan Butler 555b8413a1 VMware: Add uptime and maintenance mode in vmware_host_facts (#60688)
* adding host facts
* adding to test
5 years ago
Felix Fontein 0d88ec241f
openssl_certificate: fix idempotency (#60745)
* Fix openssl_certificate idempotency.

* Add changelog.

* Add integration test.
5 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
5 years ago
Felix Fontein 26b9c81a8e
crypto modules: fix sanity errors (#60046)
* Remove sanity warnings.

* Linting.

* More linting.

* Forgot one place.

* no_bytes -> num_bytes
5 years ago
Sumit Jaiswal ab07c206aa
Resource module for ios_l2_interfaces (#60344)
* ios_l2_interface checkin

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
5 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>
5 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>
5 years ago
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>
5 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.
5 years ago
Felix Fontein cf69b73c04
openssl_certificate/csr_info: add ordered issuer/subject return value (#60708)
* Add ordered issuer/subject return value.

* Add changelog.
5 years ago
Lukas Kämmerling 100b56439e hcloud_server: Allow users to enable/disable the rescue mode (#60070) 5 years ago
Matt Clay ebe55e83c3 Fix ansible-test bin creation.
Use symlink instead of link.
5 years ago
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
5 years ago
The Magician 818d1b2e45 New Module: gcp_cloudfunctions_cloud_function (#60668) 5 years ago
Miguel Angel Muñoz González 7e22c7482e Fortinet's new module for fortios_switch_controller_system (#60691) 5 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
5 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
5 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
5 years ago
Felix Fontein 48541910bf
docker_container: add mount endpoint collision detection (#60384)
* Add mount endpoint collision detection.

* Add changelog.

* Fix error.
5 years ago
Matt Clay d9c44897a6 Fix ansible-test cloud vars overwrite. 5 years ago
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.
5 years ago
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.
5 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
5 years ago
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.
5 years ago
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
5 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
5 years ago