Commit graph

46853 commits

Author SHA1 Message Date
Matt Clay
02c38ed4fd
Relocate ansible-test self tests outside package. (#61255)
* Relocate ansible-test self tests outside package.

We don't want to include the tests for verifying ansible-test within the ansible-test package.

* Add `test/ansible_test/` to classification.py.

* Fix test invocation.

* Relocate tests in MANIFEST.in.

* Improve package-data sanity test error checking.

* Only use includes for ansible-test in MANIFEST.in.

* Improve readability of MANIFEST.in.
2019-08-24 11:38:30 -07:00
Paul Belanger
c61dec032c
Remove unsed variable is l2_interfaces.py (#61246)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-24 12:57:17 -04:00
Felix Fontein
c3b1a0a7e8 Vultr: rename _facts -> _info (#61239) 2019-08-24 17:54:17 +02:00
Matt Clay
1fbb930747 Add out-of-tree check to symlinks sanity test. 2019-08-24 07:25:35 -07:00
Matt Clay
2a9b996bd2 Use .cfg extension for pylint configs. 2019-08-24 07:25:19 -07:00
Paul Belanger
11d82d70eb
Remove duplicate imports from iosxr_lacp_interfaces (#61258)
This cleans up linting for our new iosxr collection.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-24 10:12:29 -04:00
Matt Clay
6ec0b4ec86
Sanity test updates for collections support. (#61248)
* Run no-unwanted-files sanity test only on Ansible.

Since collections should be able to use binary modules there is not really any limit on what could exist in a collection `plugins` directory.

* Add support for symlinks in sanity target lists:

- Sanity tests that need to analyze symlinks can do so using the supplied target list.
- Tests that analyze directories will now only look at symlinks if requested.
- Directory symlinks will now be seen as directories instead of files.

* Enable symlinks on filename based sanity tests.

Sanity tests that evalulate filenames instead of content should include symlinks.

* Update symlinks sanity test.

Use the sanity test target list now that it can include symlinks.
2019-08-23 18:08:21 -07:00
Mark Chappell
5434bf74c6 Fix issues with aws_kms when working cross-account and with IDs (#60805)
* aws_kms: (integration tests) Test updating a key by ID rather than just my alias

* aws_kms: (integration tests) Test deletion of non-existent and keys that are already marked for deletion

* aws_kms: Ensure we can perform actions on a specific key_id rather than just aliases

In the process switch over to using get_key_details rather than listing all keys.

* aws_kms: When updating keys use the ARN rather than just the ID.

This is important when working with cross-account trusts.
2019-08-23 16:56:45 -07:00
Felix Fontein
4551965af1 ACME modules: bump test container version (#61192)
* Fix root cert path.

* Bump testing container version.

* Improve check (needed due to letsencrypt/pebble#257).
2019-08-23 15:30:28 -07:00
Søren Kröger
1cf43e5017 Handle multiple Content-Type headers correctly (#31238)
* Handle multiple Content-Type headers correctly

Avoids situations where mulitple Content-Type headers including charset information can result in errors like 
```
LookupError: unknown encoding: UTF-8, text/html
```

* Account for multiple conflicting values for content-type and charset

* Add changelog fragment
2019-08-23 16:48:16 -05:00
Victor Costan
943b4f5a83 os_server: keep optional nic args for nics specified using net-name or port-name. (#20969) 2019-08-23 17:00:31 -04:00
Jay Carman
fabd912fa5 Fix typo in 'Ansible and Python 3' dev guide (#61226)
The underscore does not need to be escaped inside of the RST inline
literal.
2019-08-23 15:53:25 -04:00
Mark Chappell
1f733e2d55 ec2_asg: fix the integration tests (#61212) 2019-08-23 14:53:47 -04:00
Ryan Conway
e4c1c05363 Renaming onepassword_facts to onepassword_info. (#61237)
* Renaming `onepassword_facts` to `onepassword_info`.

* Update module examples.

* Add changelog fragment.

* Add module rename to the 2.9 porting guide.

* Document the parameter types in the module docs.

* Fix incorrect parameter name.

* Update docs/docsite/rst/porting_guides/porting_guide_2.9.rst

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

* Remove `onepassword_facts` as it has been renamed to `onepassword_info` including fixes for the sanity tests.
2019-08-23 20:45:13 +02:00
The Magician
d3b493020d New Module: gcp_kms_crypto_key (#61096) 2019-08-23 13:27:46 -04:00
The Magician
bf514b5717 New Module: gcp_kms_crypto_key_info (#61097) 2019-08-23 13:27:37 -04:00
The Magician
ba026939bb New Module: gcp_kms_key_ring (#61098) 2019-08-23 13:27:28 -04:00
Nathaniel Case
64312a09c9
Add use_proxy option to httpapi (#59259) 2019-08-23 13:07:52 -04:00
Sumit Jaiswal
c9f0b0fb42
Resource module for ios_l3_interfaces (#60405)
* ios_l3_interfaces

* fix shippable

* fix tests

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

* fix ignore txt file

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

* fix doc

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

* fix shippable n tests

* fix replace test

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

* fix zuul failures

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

* fix shippable n zuul

* fix zuul

* fix zuul

* fix zuul test

* fix zuul

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

* code zuul fix

* fix merge

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

* fix merge

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
2019-08-23 22:09:20 +05:30
Wojciech Wypior
a275bf1625 added better description on how aggregate functions (#61069) 2019-08-23 08:05:19 -07:00
Rohit
11ba2a965d
platform guide updates (#61121)
* platform guide updates

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

* sanity fix

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
2019-08-23 20:23:50 +05:30
Felix Fontein
fa70690e5c
openssl_certificate/csr(_info): add support for SubjectKeyIdentifier and AuthorityKeyIdentifier (#60741)
* Add support for SubjectKeyIdentifier and AuthorityKeyIdentifier to _info modules.

* Adding SubjectKeyIdentifier and AuthorityKeyIdentifier support to openssl_certificate and openssl_csr.

* Fix type of authority_cert_issuer.

* Add basic tests.

* Add changelog.

* Added proper tests for _info modules.

* Fix docs bug.

* Make sure new features are only used when cryptography backend for openssl_csr is available.

* Work around jinja2 being too old on some CI hosts.

* Add tests for openssl_csr.

* Add openssl_certificate tests.

* Fix idempotence test.

* Move one level up.

* Add ownca_create_authority_key_identifier option.

* Add ownca_create_authority_key_identifier option.

* Add idempotency check.

* Apparently the function call expected different args for cryptography < 2.7.

* Fix copy'n'paste errors and typos.

* string -> general name.

* Add disclaimer.

* Implement always_create / create_if_not_provided / never_create for openssl_certificate.

* Update changelog and porting guide.

* Add comments for defaults.
2019-08-23 14:01:42 +02:00
Mark Chappell
77e4371460 aws_kms: Update policy on existing keys (when passed) (#60059)
* aws_kms: (integration tests) Use module_defaults to reduce the copy and paste

* aws_kms: (integration tests) make sure policy option functions.

* aws_kms: (integration tests) Move iam_role creation to start of playbook.

iam_roles aren't fully created when iam_role completes, there's a delay on the Amazon side before they're fully recognised.

* aws_kms: Update policy on existing keys (when passed)
2019-08-23 20:38:38 +10:00
sushma-alethea
25053827a5 icx: new module icx_config (#59914)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* new module

* new cliconf

* cliconf

* icx cliconf

* icx test units module

* icx units module

* icx banner unit test

* added notes

* added notes

* removed icx rst

* new changes

* new changes

* deleted icx rst

* icx .rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* changes resolved

* PR comments resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* Update platform_index.rst

PR comment resolved

* new module icx_config

* new changes

* new changes in icx_config

* PR changes

* PR comments resolved

* PR comments resolved

* new changes

* new changes

* Review comments

* updated notes section
2019-08-23 16:02:51 +05:30
Chris Van Heuveln
f1054f575d bfd_global: minor test-only fix (#60965) 2019-08-23 15:12:59 +05:30
Trishna Guha
f0ef624cff
Add nxos_l3_interfaces resource module (#61021)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-23 15:06:26 +05:30
Miguel Angel Muñoz González
9d77d06fa4 Fortinet's new module for fortios_user_password_policy (#61055)
* Fortinet's new module for fortios_user_password_policy

* Retriggering due to Shippable failure
2019-08-23 14:55:47 +05:30
Miguel Angel Muñoz González
a6837609e2 FortiOS modules for 2.9 - 6 (#61170)
* FortiOS modules for 2.9 - 5

* Update fortios_firewall_vip.py

* Update fortios_firewall_vip6.py
2019-08-23 14:54:43 +05:30
Sumit Jaiswal
2ce3ce8477
Fix zuul error for IOSXR interfaces PRs (#61174)
* fix zuul error

* fix utils
2019-08-23 13:27:07 +05:30
frankshen01
30c9abf6e4 Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_ip_address_type (#61088)
* Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_ip_address_type

* Update fortios_wireless_controller_hotspot20_anqp_ip_address_type.py

* Update fortios_wireless_controller_hotspot20_anqp_ip_address_type.py
2019-08-23 12:23:15 +05:30
frankshen01
ec348bb2ac Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_nai_realm (#61089)
* Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_nai_realm

* Update fortios_wireless_controller_hotspot20_anqp_nai_realm.py

* Update fortios_wireless_controller_hotspot20_anqp_nai_realm.py
2019-08-23 12:21:42 +05:30
frankshen01
eb2e0dcc51 Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_network_auth_type (#61109)
* Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_network_auth_type

* Update fortios_wireless_controller_hotspot20_anqp_network_auth_type.py

* Update fortios_wireless_controller_hotspot20_anqp_network_auth_type.py
2019-08-23 12:04:39 +05:30
frankshen01
bb06aed6d8 Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_roaming_consortium (#61110)
* Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_roaming_consortium

* Update fortios_wireless_controller_hotspot20_anqp_roaming_consortium.py
2019-08-23 11:59:20 +05:30
frankshen01
20327589f7 Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_venue_name (#61112) 2019-08-23 11:57:33 +05:30
Andrey Klychkov
e3cf76533c postgresql_user: add groups parameter (#60638)
* postgresql_user: add groups parameter

* postgresql_user: add groups parameter, fail_on_role default True

* postgresql_user: add groups parameter, add changelog fragment
2019-08-23 08:17:23 +02:00
frankshen01
4449f3a815 Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_conn_capability (#61114)
* Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_conn_capability

* Update fortios_wireless_controller_hotspot20_h2qp_conn_capability.py
2019-08-23 11:32:52 +05:30
Miguel Angel Muñoz González
a549969b85 Fortinet's new module for fortios_vpn_certificate_crl (#61124) 2019-08-23 11:28:56 +05:30
frankshen01
81bff01893 Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_operator_name (#61125) 2019-08-23 11:27:47 +05:30
Miguel Angel Muñoz González
1d43c15c64 Fortinet's new module for fortios_vpn_certificate_local (#61126) 2019-08-23 11:26:08 +05:30
Miguel Angel Muñoz González
f5cc653865 Fortinet's new module for fortios_vpn_certificate_ocsp_server (#61128) 2019-08-23 11:24:56 +05:30
Miguel Angel Muñoz González
ae53e38ceb Fortinet's new module for fortios_vpn_certificate_remote (#61129) 2019-08-23 11:24:01 +05:30
Miguel Angel Muñoz González
8f61e4e39e Fortinet's new module for fortios_vpn_ssl_web_user_bookmark (#61137) 2019-08-23 11:23:02 +05:30
Miguel Angel Muñoz González
e637934e2c Fortinet's new module for fortios_waf_main_class (#61139) 2019-08-23 11:21:35 +05:30
Miguel Angel Muñoz González
d41bf3409d Fortinet's new module for fortios_waf_signature (#61140) 2019-08-23 11:20:22 +05:30
Miguel Angel Muñoz González
af5324b764 Fortinet's new module for fortios_waf_sub_class (#61141) 2019-08-23 11:18:42 +05:30
Miguel Angel Muñoz González
7a8f37f9e8 Fortinet's new module for fortios_wanopt_auth_group (#61142) 2019-08-23 11:17:15 +05:30
Miguel Angel Muñoz González
4b8d32d889 Fortinet's new module for fortios_wanopt_cache_service (#61143) 2019-08-23 11:15:46 +05:30
Miguel Angel Muñoz González
9a53058dda Fortinet's new module for fortios_wanopt_content_delivery_network_rule (#61144) 2019-08-23 11:09:44 +05:30
Miguel Angel Muñoz González
2aa52a42a9 Fortinet's new module for fortios_wanopt_peer (#61146) 2019-08-23 11:06:48 +05:30
Miguel Angel Muñoz González
f3daab328b Fortinet's new module for fortios_wanopt_remote_storage (#61147) 2019-08-23 11:05:48 +05:30