Commit graph

9318 commits

Author SHA1 Message Date
Gonéri Le Bouder
ef69f3a3b5 vmware/test: clean up dvswitch_0001 and dvswitch_0002
Ensure `dvswitch_0001` and `dvswitch_0002` won't remain after
`vmware_dvswitch` test execution.
2019-08-27 11:30:44 -04:00
Sam Doran
31b49334b9
Disable Hetzner Cloud integration tests due to authentication issues (#61375) 2019-08-27 10:47:08 -04:00
Matt Clay
8a7b89c66f Support delegation testing collections with deps.
All collections in the same collection root as the collection being tested will be sent to the remote system/container.
2019-08-27 07:29:42 -07:00
Chris Archibald
36add6e86f New Module: na_ontap_ndmp (#59815)
* new module

* fixes

* fixes

* fix unit tests

* update tests

* fixes
2019-08-27 09:06:59 -04:00
Chris Archibald
0e906b0865 bug fixes for group (#60887)
* bug fixes for group

* trigger rebuild

* fixes
2019-08-27 09:05:20 -04:00
Nathan Swartz
37dd373c6b Volume dev upstream new options (#59660)
* Add controller ownership and cache without batteries option

* Add unit test for new netapp_e_volume options

* Add integration tests for netapp_e_volume module.

* Changed default read_ahead_enable option to true in netapp_e_volume module.

* Fix off-segment aligned volume size in netapp_e_volume module.
2019-08-27 09:04:02 -04:00
jasonjuenger
dfd1b29777 Add aci_vmm_credential.py (#60910)
* add module to create aci VMM credential objects
add initial remove and add integration tests for VMM credential objects

* update 'credential' var name to 'name'

* move vmware tests to domain type specific file

* move vmware tests to domain type specific file
add include task in main file to reference domain type specific tests

* update task names
add test to remove credential prior to first credential add
add tests for querying individual credentials
add tests for query all credentials
add additional tests for removing credentials

* update version added to 2.9
remove invalid module references from 'seealso' section

* fix list reference in query all assertions

* add reference to VM_PROVIDER_MAPPING keys for vm_provider arg
2019-08-27 14:08:24 +02:00
Sumit Jaiswal
b53bc94cc5
Resource module for iosxr_l2_interfaces (#59964)
* iosxr_l2 resource
2019-08-27 17:20:47 +05:30
Don Yao
d77697e4d5 FortiOS System Fimrware Upgrade Module (#59213)
* FortiOS System Fimrware Upgrade Module

* default timeout 12 seconds is not enough for large firmware or slow connection, increase it to 300 seconds

* update fortios system firmware upgrade module together with unit test

* minor updates based on the new templates

* minor updates and remove fortiosapi dependency in unit test module

* add author, remove unused method, fix descriptions, apply some sanity fixes
2019-08-27 15:58:07 +05:30
Miguel Angel Muñoz González
e62fb1e2f9 FortiOS modules for 2.9 - 9 (#61320)
* FortiOS modules for 2.9 - 9

* Undo ignore file

* Remove non valid identifiers

* Leave fortios_switch_controller_lldp_profile and fortios_switch_controller_managed_switch out of this PR

* Updated fortios_switch_controller_lldp_profile and fortios_switch_controller_managed_switch
2019-08-27 15:57:34 +05:30
Adharsh Srivats R
ee05d6bde2 Added nxos_lldp_global resource module (#60072)
* Added nxos_lldp_global module

Tests

Correction

remove q

* Added tests

* Corrections

Changes

Last few changes please

Final

Finall

Finalll

* Key error and punctuation changes

* .gitignore edit

* Facts file edit

* Changed facts collection and 'replaced' state

Changed facts collection and replaced state

Changed facts collection and replaced state

* Spacing and module error correction

* return facts as empty dict not list

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-27 14:52:24 +05:30
rajaspachipulusu17
adb8a0ddc6 Pluribus Networks log audit exception module with unit test cases (#60456)
* Pluribus Networks log audit exception module with unit test cases

* Documentation fix
2019-08-27 11:31:54 +05:30
rajaspachipulusu17
e7cb2ddc9c Pluribus Networks vtep module with unit test cases (#60455) 2019-08-27 11:26:13 +05:30
Ganesh Nalawade
2a13ad7adf
Fix junos resource modules group based config and minor updates (#61224)
* Fix junos resource modules group based config and minor updates

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

*  Add support to get inherited configuration for resource
   modules to handle group based configuration
*  Add task input check for merged, replaced and overridden
   states in junos resource modules
*  Integration test for group based configuration

* Fix CI test failures

* Fix test failures
2019-08-27 11:06:06 +05:30
Yuwei Zhou
b4732dd2e6 Support Azure IoT hub and related module (#55121)
* Support iothub creation

* raise errordetailexception rather than clouderror

* add facts

* change requirement

* compare endpoint

* add documentation

* add documentation

* add iot device facts

* modify line ending

* add auth method

* add iot module

* add consumer group

* add the test

* enhencement of  doc

* add list consumer groups

* fix lint

* fix lint

* fix doc

* fix doc

* Update auzre_rm_iothub related document

* changed paramter's type

* update type

* rename facts -> info

* fixed sanity

* missed during merge
2019-08-27 13:18:28 +08:00
sushma-alethea
b09db0ba9e icx: new module icx_user (#60007)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* removed icx rst

* new changes

* deleted icx rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_user

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* changes

* changes

* new fixes

* new changes

* notes updated
2019-08-27 09:25:56 +05:30
frankshen01
a68d91d0a7 Fortinet's new module for fortios_wireless_controller_hotspot20_hs_profile (#61163)
* Fortinet's new module for fortios_wireless_controller_hotspot20_hs_profile

* Update fortios_wireless_controller_hotspot20_hs_profile.py and test_fortios_wireless_controller_hotspot20_hs_profile.py
2019-08-27 09:24:28 +05:30
Matt Clay
cca4eb71e3
Update sanity tests for collections. (#61352)
* Remove pointless sanity tests on `bin` dir.

* Update action-plugin-docs test for collections.

* Update no-main-display test for collections.

* Update empty-init test for collections.

* Update no-assert test for collections.

* Move required-and-default-attributes test.

This test only applies to Ansible itself.

* Update use-argspec-type-path test for collections.
2019-08-26 20:40:53 -07:00
sushma-alethea
b6290e1d15 icx: new module icx_logging (#60036)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* removed icx rst

* new changes

* deleted icx rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_logging

* new fixes

* new fix

* new fix

* new fix

* new changes

* notes updated
2019-08-27 08:58:32 +05:30
sushma-alethea
b6e71c5ffb icx: new module icx_copy (#59920)
* new cliconf

* cliconf

* icx cliconf
* icx test units module

* icx units module
* icx banner unit test

* PR changes resolved

* check_running_config changes resolved
* added notes

* removed icx rst

* deleted icx rst

* icx .rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

* new module icx_copy

* notes updated
2019-08-27 08:57:31 +05:30
sushma-alethea
fb1094f38d icx: new module icx_system (#60024)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* removed icx rst

* new changes

* deleted icx rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_system

* new changes

* new changes

* new changes

* Fixed bot bugs

* notes updated
2019-08-27 08:55:46 +05:30
sushma-alethea
d2429cbd6a icx: new module icx_vlan (#59985)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* removed icx rst

* new changes

* deleted icx rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_vlan

* new changes

* new fixes

* new fixes

* new fixes

* new fixes

* new fixes

* new fixes

* Fixed bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot errors

* notes updated
2019-08-27 08:31:17 +05:30
Yuwei Zhou
1c06b302bc Support automation account managment (#56429)
* add automation account

* add test

* update sdk version

* fix doc

* Update azure_rm_automationaccount.py

* Update azure_rm_automationaccount_facts.py

* Update main.yml

* add type define (#64)

* add new (#67)

* change 'example' to 'sample'

* changed 'path' to 'ID'
2019-08-27 07:38:47 +08:00
Bruno Meneguello
954416932a route53: optimize zone_id lookup when hosted_zone_id is provided (#60437) 2019-08-26 16:21:17 -07:00
Matt Clay
e258ba703e
Improve ansible-test env display. (#61339)
* Improve ansible-test env display.
* Fix PyCharm warnings.
* Fix ansible-test ansible-doc sanity test with -e.
2019-08-26 14:02:55 -07:00
Yunge Zhu
749662d776 add azure monitor log profile module (#54702)
* add azure monitor log profile module

* fix version

* fix lint

* mark test as unsupported

* fix lint

* fix lint

* Fix the error prompted in the comments
2019-08-27 05:00:28 +08:00
The Magician
1631554c1b Bug fixes for GCP modules (#61251) 2019-08-26 15:04:24 -04:00
pratikgadiya12
8ee7d9f598 VMWare - Rename _facts to _info (#57474)
Deprecate vmware's _facts modules and add new modules.

Fixes: #57278
2019-08-26 14:45:34 -04:00
Sumit Jaiswal
30714682c9
Fixes iosxr interfaces zuul failure (#61313)
* fixes 61311

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

* fix loopback

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
2019-08-26 22:25:43 +05:30
Felix Fontein
e536d0e128
openssl_*: deprecate PyOpenSSL backends (#59907)
* Deprecate PyOpenSSL backends.

* Add changelog.

* Add porting guide entry.

* Improve tests to ignore deprecations when comparing results.

* Deprecating pyopenssl backend for get_certificate and openssl_publickey.

* Fix typo.
2019-08-26 18:26:10 +02:00
Felix Fontein
039123ec6b
acme_account_info: retrieve orders (#59697)
* Add retrieve_orders option.

* Run acme_certificate tests also for acme_account_info; use acme_account_info to get list of orders.

* Doing some quoting.

* Improve returned description.
2019-08-26 18:16:43 +02:00
Felix Fontein
14974f5fc2
openssl_certificate_info: add ocsp_uri return value (#60393)
* Add ocsp_uri return value.

* Add changelog.

* Add integration test.

* Fix rebase error.
2019-08-26 17:42:52 +02:00
Nathaniel Case
a567a3fae0
New module eos_lldp_global (#60975)
* New module eos_lldp_global

* Implement facts

* Implement config, add tests

* Assorted fixes
2019-08-26 11:34:41 -04:00
Josh Edmonds
f62f1ab54c Added comment field to na_ontap_volume module (#59566)
* Added comment field to na_ontap_volume module

* fixed zapi attribute name in create_volume_options(), and fix to ensure comment field can be set back to an empty string
2019-08-26 10:14:39 -04:00
Matt Martz
5941e4c843
Properly JSON encode AnsibleUnsafe, using a pre-processor (#60602)
* Properly JSON encode AnsibleUnsafe, using a pre-processor. Fixes #47295

* Add AnsibleUnsafe json tests

* Require preprocess_unsafe to be enabled for that functionality

* Support older json

* sort keys in tests

* Decouple AnsibleJSONEncoder from isinstance checks in preparation to move to module_utils

* Move AnsibleJSONEncoder to module_utils, consolidate instances

* add missing boilerplate

* remove removed.py from ignore
2019-08-26 09:08:22 -05:00
Chris Archibald
53df4d8186 New options for identity_preserve (#60498)
* new option

* Force ansibot to run again
2019-08-26 10:03:26 -04:00
Mario Lenz
0ac57941c1 VMware: Add missing HA admission control policies in vmware_cluster_ha (#60233)
* Add missing HA admission control policies
* Add new parameter host_isolation_response
* Bugfix: 'das_vm_config' referenced before assignment
* Implement test cases
2019-08-26 09:40:38 -04:00
Miguel Angel Muñoz González
d95a0f235b Fortinet's new module for fortios_user_local (#61054)
* Fortinet's new module for fortios_user_local

* New version of fortios_user_local

* Update unit tests with removal of attribute
2019-08-26 18:56:30 +05:30
Miguel Angel Muñoz González
69fcd771e0 FortiOS modules for 2.9 - 8 (#61308)
* FortiOS modules for 2.9 - 8

* Add missing files

* Fix trailing spaces
2019-08-26 18:55:53 +05:30
Trishna Guha
5a04b4feb6
Add nxos_l2_interfaces resource module (#61120)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-26 16:46:05 +05:30
sushma-alethea
c729f3ba61 icx: new module icx_facts (#61225)
* new cliconf

* cliconf

* icx cliconf

* icx test units module

* icx units module

* icx banner unit test

* added notes

* new changes

* icx .rst

* modified platform_index.rst

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_facts

* fixtures added

* Rebase causing problem on branch-PR4. So created new PR

* new commit

* new changes
2019-08-26 14:00:00 +05:30
Michał Szczepańczyk
8ed3a0b360 fix bug - k8s was crashing when yaml ended with 3 dashes (#61182)
* fix bug - k8s was crashing when yaml ended with 3 dashes

* #61182 - add changelog
2019-08-26 17:28:01 +10:00
sushma-alethea
7e1a347695 icx: new module icx_linkagg (#59967)
* new module

* new module

* new terminal

* new terminal

* new cliconf

* new cliconf

* cliconf

* cliconf

* icx cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* added notes

* removed icx rst

* new changes

* new changes

* deleted icx rst

* icx .rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* changes resolved

* PR comments resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* Update platform_index.rst

PR comment resolved

* new module icx_linkagg

* bug fixes

* Fixing bot errors

* Trying to fix aggregate document error

* Added options under aggregate in documentation

* Fixed bot error

* Fixed documentation error

* Fix bot error

* notes updated
2019-08-26 09:12:59 +05:30
sushma-alethea
20ec927280 icx: new module icx_static_route (#59978)
* new module

* new module

* new terminal

* new terminal

* new cliconf

* new cliconf

* cliconf

* cliconf

* icx cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* added notes

* removed icx rst

* new changes

* new changes

* deleted icx rst

* icx .rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* changes resolved

* PR comments resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* Update platform_index.rst

PR comment resolved

* new module icx_static_route

* new changes

* new changes

* notes updated
2019-08-26 09:12:10 +05:30
PRASOON KARUNAN V
48eed0b6c8 adding group parameter for win_firewall_rule (#55109)
* adding group parameter for win_firewall_rule

* integration test fix

* changing the version add to 2.9

* setting group optional

* fix:setting required to optional
2019-08-25 19:10:31 -04:00
Chris Archibald
265fcaac40 Add Rest API to DNS (#59937)
* add rest to dns

* fix issues with tests

* fixes to netapp.py

* fixes

* fixes

* add updates

* fix issues
2019-08-25 10:52:01 -04:00
Josh Edmonds
25db0c7678 Added NetApp ONTAP Adaptive QoS Policy Module (#58707)
* Added NetApp ONTAP Adaptive QoS Policy Module

* updated documentation to fix validation errors

* Updates to documentation fields and modified logging function to log against the current vserver

* Fixed minor formatting issues

* Documentation update for consistency - author field

* Empty commit to force CI

* fixes
2019-08-25 10:50:34 -04:00
Mark Chappell
4e6298b847 AWS dynamic inventory: fixup RDS integration tests (#61259)
* ec2 inventory/rds: (integration tests) migrate to module_defaults and cope with missing security_token

* ec2 inventory/rds: (integration tests) Avoid hard coding the parameter group name

Generated it based on the information returned when creating the RDS instance.

* ec2 inventory/rds: (integration tests) rename templates to .j2 rather than .yml
- avoids throwing yamllint errors
- makes it clear they're templates not the final yaml files.
2019-08-25 10:32:18 -04:00
Miguel Angel Muñoz González
a6b124cccc FortiOS modules for 2.9 - 7 (#61217) 2019-08-25 12:54:45 +05:30
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
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
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
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
ba026939bb New Module: gcp_kms_key_ring (#61098) 2019-08-23 13:27:28 -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
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
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
Miguel Angel Muñoz González
8e89306328 Fortinet's new module for fortios_wanopt_webcache (#61148)
* Fortinet's new module for fortios_wanopt_webcache

* Fix minor typo
2019-08-23 11:04:43 +05:30
Miguel Angel Muñoz González
456ca6c817 Fortinet's new module for fortios_web_proxy_debug_url (#61149) 2019-08-23 11:03:11 +05:30
Miguel Angel Muñoz González
b40bab6a11 Fortinet's new module for fortios_web_proxy_forward_server (#61150) 2019-08-23 11:02:16 +05:30
Miguel Angel Muñoz González
c5bc51e365 Fortinet's new module for fortios_web_proxy_forward_server_group (#61152) 2019-08-23 11:00:29 +05:30
Miguel Angel Muñoz González
5b9f40ec1a Fortinet's new module for fortios_web_proxy_url_match (#61153) 2019-08-23 10:43:18 +05:30
Miguel Angel Muñoz González
fa05a7960f Fortinet's new module for fortios_web_proxy_wisp (#61154) 2019-08-23 10:36:23 +05:30
Miguel Angel Muñoz González
be48bb81ce Fortinet's new module for fortios_wireless_controller_ap_status (#61155) 2019-08-23 10:34:01 +05:30
Miguel Angel Muñoz González
81617cf084 Fortinet's new module for fortios_wireless_controller_ble_profile (#61156) 2019-08-23 10:32:55 +05:30
frankshen01
1d5612bd09 Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_osu_provider (#61158) 2019-08-23 10:31:19 +05:30
Miguel Angel Muñoz González
f0c21c61b3 Fortinet's new module for fortios_wireless_controller_timers (#61159) 2019-08-23 10:29:26 +05:30
Miguel Angel Muñoz González
d4c9d13991 Fortinet's new module for fortios_wireless_controller_vap_group (#61160) 2019-08-23 10:26:31 +05:30
frankshen01
24ffd77fd8 Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_wan_metric (#61161) 2019-08-23 10:24:38 +05:30
Miguel Angel Muñoz González
999f5ef286 Fortinet's new module for fortios_wireless_controller_wtp_group (#61162) 2019-08-23 10:22:50 +05:30
frankshen01
c9bf39aa09 Fortinet's new module for fortios_wireless_controller_hotspot20_icon (#61164) 2019-08-23 10:20:51 +05:30
frankshen01
18a0fc701a Fortinet's new module for fortios_wireless_controller_hotspot20_qos_map (#61165) 2019-08-23 10:19:14 +05:30
Miguel Angel Muñoz González
a1a8ccfd00 Fortinet's new module for fortios_alertemail_setting (#61166) 2019-08-23 10:17:36 +05:30
frankshen01
4a90563c64 Fortinet's new module for fortios_wireless_controller_qos_profile (#61167) 2019-08-23 10:15:19 +05:30
frankshen01
cabad4e0a1 Fortinet's new module for fortios_wireless_controller_inter_controller (#61169) 2019-08-23 10:12:51 +05:30
Miguel Angel Muñoz González
bc9be2b63a Fortinet's new module for fortios_user_setting (#61122)
* Fortinet's new module for fortios_user_setting

* Update fortios_user_setting.py
2019-08-23 10:09:07 +05:30
Matt Clay
2eff25aef8 Update ansible-test network inventory handling.
DCI uses an inventory directory instead of a file, along with --no-temp-workdir.

This changes the inventory check to keep that scenario working until all DCI jobs can be migrated to Zuul.
2019-08-22 17:35:41 -07:00
Felix Fontein
18f7c3b850
Netapp: rename _facts -> _info (#60980)
* Rename na_ontap_gather_facts -> na_ontap_info
Rename netapp_e_facts -> netapp_e_info

* Add changelog.

* Fix sanity.

* Forgot test.

* Forgot to remove 'gather'.

* Fix sanity ignore.

* Remove netapp_e_facts from PR.

* Remove superfluous version_added.
2019-08-22 22:51:45 +02:00
Jordan Borean
e04b2a9697
ansible-galaxy - Add timeout and progress indicator for publish and install (#60660)
* ansible-galaxy - Add timeout and progress indicator for publish

* add progress indicator to install phase as well
2019-08-23 06:27:28 +10:00
Matt Martz
c81a1057e1
Speed up a few more tests by mocking time.sleep (#61186) 2019-08-22 14:33:34 -05:00
Matt Martz
0ff9978bc5
Ensure has_dead_workers functions (#60653)
* Ensure has_dead_workers functions

* Fix up tests

* Add changelog. Fixes #29124
2019-08-22 14:32:49 -05:00
Sumit Jaiswal
47243b0b2d
Resource module for iosxr_interfaces (#59853)
* iosxr interfaces resource

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
2019-08-22 21:27:41 +05:30
frankshen01
d86968991f Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_3gpp_cellular (#61087) 2019-08-22 19:30:53 +05:30
Miguel Angel Muñoz González
da1f35f494 Fortinet's new module for fortios_wireless_controller_bonjour_profile (#61157) 2019-08-22 19:21:52 +05:30
Miguel Angel Muñoz González
81f7034ee3 Fortinet's new module for fortios_user_security_exempt_list (#61108) 2019-08-22 19:13:57 +05:30
Miguel Angel Muñoz González
3033482f0b Fortinet's new module for fortios_user_quarantine (#61061) 2019-08-22 19:13:25 +05:30
Miguel Angel Muñoz González
dbc4166e82 Fortinet's new module for fortios_user_pop3 (#61058)
* Fortinet's new module for fortios_user_pop3

* Fix chars in documentation not parseable by Ansible

* Update fortios_user_pop3.py
2019-08-22 19:11:24 +05:30
Miguel Angel Muñoz González
82d3a2e826 Fortinet's new module for fortios_user_peergrp (#61057) 2019-08-22 19:10:21 +05:30
Miguel Angel Muñoz González
4e768e2697 Fortinet's new module for fortios_user_peer (#61056)
* Fortinet's new module for fortios_user_peer

* Update fortios_user_peer.py
2019-08-22 19:08:59 +05:30
Miguel Angel Muñoz González
2684635f7f Fortinet's new module for fortios_user_ldap (#61053)
* Fortinet's new module for fortios_user_ldap

* Update fortios_user_ldap.py
2019-08-22 19:02:39 +05:30
Miguel Angel Muñoz González
4130fdbc8a Fortinet's new module for fortios_user_krb_keytab (#61052) 2019-08-22 18:58:29 +05:30
Miguel Angel Muñoz González
f1a24da774 Fortinet's new module for fortios_user_group (#61051) 2019-08-22 18:57:24 +05:30
Miguel Angel Muñoz González
e4f393e643 Fortinet's new module for fortios_vpn_ssl_web_user_group_bookmark (#61138) 2019-08-22 18:55:46 +05:30
Mark Chappell
70777020c4 Fix iam_password_policy integration tests (#60930)
* iam_password_policy: (integration tests) Use module defaults for AWS connection details

* iam_password_policy: (integration tests) Ensure the policy is removed when tests fail

* iam_password_policy: (integration tests) Add regression test for #59102

* iam_password_policy: Only return changed when the policy changes.

* iam_password_policy: PasswordReusePrevention must be omitted to remove/set to 0

* #60930 add changelog

* Update hacking AWS security policy to allow testing of Password Policy Management
2019-08-22 23:25:25 +10:00
Miguel Angel Muñoz González
35ed1fbe8d Fortinet's new module for fortios_user_fsso_polling (#61050) 2019-08-22 18:53:33 +05:30
Miguel Angel Muñoz González
cfecaba9b5 Fortinet's new module for fortios_user_fsso (#61049) 2019-08-22 18:52:59 +05:30
Miguel Angel Muñoz González
eeb2fd35d1 Fortinet's new module for fortios_user_fortitoken (#61048) 2019-08-22 18:49:22 +05:30
Miguel Angel Muñoz González
88e5365019 Fortinet's new module for fortios_user_domain_controller (#61047) 2019-08-22 18:47:54 +05:30
Miguel Angel Muñoz González
22c8d74e74 Fortinet's new module for fortios_user_device_group (#61046) 2019-08-22 18:47:15 +05:30
Miguel Angel Muñoz González
24fe418115 Fortinet's new module for fortios_user_device_category (#61044) 2019-08-22 18:45:46 +05:30
Miguel Angel Muñoz González
7e4c41cf1d Fortinet's new module for fortios_user_device_access_list (#61042) 2019-08-22 18:43:33 +05:30
Miguel Angel Muñoz González
9f9a741e19 Fortinet's new module for fortios_system_zone (#61041) 2019-08-22 18:42:44 +05:30
Miguel Angel Muñoz González
11b7b40b61 Fortinet's new module for fortios_system_wccp (#61040) 2019-08-22 18:41:18 +05:30
Miguel Angel Muñoz González
80897be42d Fortinet's new module for fortios_system_vxlan (#61039) 2019-08-22 18:40:16 +05:30
Miguel Angel Muñoz González
7c38fc7d07 Fortinet's new module for fortios_system_virtual_wire_pair (#61038) 2019-08-22 18:38:39 +05:30
Miguel Angel Muñoz González
4bd296c6fe Fortinet's new module for fortios_system_sit_tunnel (#60954) 2019-08-22 18:38:02 +05:30
Nathaniel Case
8c5936671e
Add new module eos_l3_interfaces (#59820)
* Update base files for resource modules

* Add modules

* Add module_utils

* Add tests

* Deprecate eos_l3_interface

* Update facts
2019-08-22 09:06:38 -04:00
Miguel Angel Muñoz González
aefe31e6d9 Fortinet's new module for fortios_vpn_certificate_setting (#61130) 2019-08-22 18:22:35 +05:30
Miguel Angel Muñoz González
48fe854511 Fortinet's new module for fortios_vpn_ssl_web_realm (#61135) 2019-08-22 18:22:23 +05:30
Miguel Angel Muñoz González
a5bab18986 Fortinet's new module for fortios_system_sflow (#60953) 2019-08-22 18:19:46 +05:30
Miguel Angel Muñoz González
3ea55fc254 Fortinet's new module for fortios_system_settings (#60952)
* Fortinet's new module for fortios_system_settings

* Avoid warnings on E336 a E336 for system settings
2019-08-22 18:19:02 +05:30
Miguel Angel Muñoz González
55979cd0f4 Fortinet's new module for fortios_vpn_ssl_web_host_check_software (#61134) 2019-08-22 18:18:25 +05:30
Miguel Angel Muñoz González
0a5c11f4da Fortinet's new module for fortios_system_session_ttl (#60951) 2019-08-22 18:18:05 +05:30
Miguel Angel Muñoz González
b57bf08f09 Fortinet's new module for fortios_vpn_l2tp (#61131) 2019-08-22 18:17:45 +05:30
Miguel Angel Muñoz González
f9e8dc042b Fortinet's new module for fortios_vpn_pptp (#61133) 2019-08-22 18:17:16 +05:30
Miguel Angel Muñoz González
2b90ef19d2 Fortinet's new module for fortios_system_replacemsg_webproxy (#60878) 2019-08-22 18:16:53 +05:30
Miguel Angel Muñoz González
426eea7014 Fortinet's new module for fortios_system_replacemsg_utm (#60877) 2019-08-22 18:16:23 +05:30
Miguel Angel Muñoz González
b325c488e3 Fortinet's new module for fortios_system_replacemsg_traffic_quota (#60876) 2019-08-22 18:15:37 +05:30
Miguel Angel Muñoz González
8e493021a1 Fortinet's new module for fortios_system_replacemsg_sslvpn (#60875) 2019-08-22 18:14:42 +05:30
Miguel Angel Muñoz González
8fb4878906 Fortinet's new module for fortios_system_replacemsg_spam (#60874) 2019-08-22 18:14:19 +05:30
Miguel Angel Muñoz González
bf6212b23d Fortinet's new module for fortios_system_replacemsg_nntp (#60873) 2019-08-22 18:13:51 +05:30
Miguel Angel Muñoz González
1ab09778fb Fortinet's new module for fortios_router_access_list6 (#61132) 2019-08-22 18:13:17 +05:30
Miguel Angel Muñoz González
00d2e541b9 Fortinet's new module for fortios_vpn_certificate_ca (#61123) 2019-08-22 18:13:07 +05:30
Miguel Angel Muñoz González
267ce70818 Fortinet's new module for fortios_system_replacemsg_nac_quar (#60872) 2019-08-22 18:12:20 +05:30
Markus Bergholz
2fff40d409 add max_allocated_storage parameter to rds_instance (#61008)
* #60921 add max_allocated_storage parameter add apply that parameter also to the integration test

* version_added 2.9

* test value of  max allocated storage
2019-08-22 22:20:50 +10:00
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
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
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
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
306b6b728c adds new module for asm dos application profiles (#61063) 2019-08-21 20:50:07 -07:00
Matt Martz
adb886e4ce
Speed up units using time.sleep by mocking or shortening sleep time (#61064)
* Speed up units using time.sleep by mocking or shortening sleep time

* Only use durations when not a collection
2019-08-21 16:52:58 -05:00
Matt Clay
3551d83289 Fix ansible-test payload bin creation. 2019-08-21 12:45:55 -07:00
The Magician
76cc8e9fc3 New Module: gcp_filestore_instance (#60996) 2019-08-21 15:31:38 -04:00
Matt Clay
29ac0273d4
Update ansible-test collection inventory handling. (#61031)
* Update ansible-test collection inventory handling.

- The `windows-integration` command now supports the `--inventory` option.
- The incomplete support for host_vars and group_vars directories has been removed.
- The incomplete support for an inventory directory has been removed.
- The inventory specified by `--inventory` can now reside outside the install and content roots.
- Using `ansible_ssh_private_key_file` with `--docker` or `--remote` results in a warning about the combination being unsupported and likely to fail.

* Fix config handling.

* Fix payload handling of ssh keys.

* Disable pylint no-self-use rule for ansible-test.

* De-duplicate payload paths.
2019-08-21 12:12:37 -07: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
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
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
Toshio Kuratomi
5f227fe260 Install ansible-test (#60718)
* Install ansible-test

Modify the install script to install ansible-test and its supporting
code.  Alternative to #60701 that doesn't change package_dir ansible for
fear that it might regress https://github.com/ansible/ansible/issues/10437

Also:
* No longer use package_data.  Everything in the package dirs is going
  to be installed.  Anything that shouldn't be installed needs to be
  moved elsewhere.
* modify the algorithm to store symlinks which are in the same tree
  instead of same directory

* Add ansible_test files to package-data sanity test

* MANIFEST.in cleanups

* Add lib/ansible/config/*.yml
* Make most things in code directories (lib/ansible and test/lib/ansible_test/)
  use explicit file extensions instead of wildcards for maintainability
* Exclude common file extensions that we don't want included in the code
  directories

* Change package-data test to be more complete

* Now compares the repository, sdist, and install
* Compares both that everything in the sdist is in the repo and
  everything in the install is in the sdist in addition to comparing that
  everything in the repo that we want is in the install

* Leave out test artifacts

Only include the directory structure for test/results and test/cache not
any files that may have been generated by test runs

Remove test/utils files from the sdist as these are only needed for our CI

cleanup of docs in MANIFEST.in; getting rid of build files.

* Add the ability to output sdist and snapshot to specific directory

* Add a warning about modifying the heuristic to setup.py

* Address generated files

* Use make snapshot instead of sdist to generate changelog and man pages
  and make sure they're included
* Ignore both the test/utils and generated test files (results, cache)
* Deal with Python3 __pycache__ byte code caches
* Don't check documentation, that isn't built for the sdist
* Restructure for clarity

* Add cli web docs to make clean

This was causing problems when attempting to test that the sdist didn't
have extra files

* Fix bug constructing python names from __pycache__ names

* Create a clean repo to work from

* Exclude test/legacy and be more explicit on extensions

* Exclude the legacy directory from sdist
2019-08-20 23:53:35 -07:00
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
Matt Clay
32b0a72547
Support windows-integration on collections. (#60984)
* Support windows-integration on collections.

* Update configure-remoting-ps1 sanity test.

* Add copy of ConfigureRemotingForAnsible.ps1.

* Add ignore entry for copied file.
2019-08-20 22:23:28 -07: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
Matt Clay
4d424d0830 Only run package-data sanity once in CI. 2019-08-20 14:09:40 -07: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
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
Ganesh Nalawade
8cbfa75038
Add [junos_lacp] model (#59705)
* Add [junos_lacp] model

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

* Fix CI issues

* Fix CI failures
2019-08-12 13:54:44 +05:30
sushma-alethea
622a493ae0 icx: new module icx_ping (#59975)
* new module

* new module

* new terminal

* new terminal

* new cliconf

* new cliconf

* cliconf

* cliconf

* icx cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* added notes

* removed icx rst

* new changes

* new changes

* deleted icx rst

* icx .rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* changes resolved

* PR comments resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* Update platform_index.rst

PR comment resolved

* new module icx_ping

* new changes

* Fixed bot error
2019-08-12 12:01:15 +05:30
Nilashish Chakraborty
f4502a8f1c
Set eth0 to dhcp explicitly (#60305)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-08-12 11:36:54 +05:30
Ganesh Nalawade
fdf48ed0b4
Add [junos_lacp_interfaces] resource module (#59708)
* Add [junos_lacp_interfaces] resource module

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

* Fix sanity test failure
2019-08-12 11:24:34 +05:30
Jordan Borean
35b87b8633
Move windows test to another group (#60391) 2019-08-12 10:00:09 +10:00
Maxim Babushkin
dda80c46e9 openssh_keypair - Add key `comment` to return output (#59268)
If the comment will be provided during the key creation, it will be
diplayed in the return values.
Same will be on the comment change.
2019-08-11 13:47:34 +02:00
Maxim Babushkin
27e414200f openssh_keypair - Add public key and key comment validation (#57993)
- Split the key validation to separate private and public.
- In case public key does not exist, recreate it.
- Validate comment of the key.
- In case comment changed, update the private and public keys.
2019-08-10 18:57:35 -04:00
Matt Clay
473bd6bb0a Relax boilerplate sanity tests.
This will avoid requiring boilerplate for documentation only python files.
2019-08-09 18:49:57 -07:00
Matt Clay
3fac6a0adb Fix ansible-test TypeVar type annotations. 2019-08-09 17:29:41 -07:00
The Magician
30ad73f1c1 Bug fixes for GCP modules (#60339) 2019-08-09 19:17:44 -04:00
Felix Fontein
8b68feb67e
acme_certificate: allow to download alternate certificate chains (#56334)
* Improve link handling.

* Also fetch alternate certificate chains.

* Add retrieve_all_alternates option.

* Simplify code.

* Forgot when condition.

* Add tests for retrieve_all_alternates.

* Fixes.

* Moved utility function for link parsing to module_utils.

* Fix grammar.
2019-08-09 23:54:48 +02:00
Felix Fontein
3290b8343c
docker: fix sanity errors (#60047)
* Remove sanity check errors.

* More linting.

* Forgot to update places.

* Remove choices which aren't provided in argspec.
2019-08-09 23:50:11 +02:00