summaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add toggle to control invalid character substitution in group names (#52748)Brian Coca2019-03-061-0/+27
| | | | | | | | | | | | | | * make add_group return proper name * ensure central transform/check * added 'silent' option to avoid spamming current users those already using the plugins were used to the transformations, so no need to alert them * centralized valid var names * dont display dupes * comment on regex * added regex tests ini and script will now warn about deprecation * more complete errormsg
* cloudscale_server: fix missing param use_private_network (#53381)René Moser2019-03-061-6/+23
|
* rhevm: Fix validate-modules issues (#52436)Dag Wieers2019-03-061-3/+0
| | | | | | | | | This PR includes: * Adding parameter types * Fix validate-modules issue * Improve parameter types and resulting changes This PR needs to be verified and tested by maintainer(s).
* Fix ec2_instance eventual consistency when wait: false (#51885)Andrea Tartaglia2019-03-065-4/+76
| | | | | | | | | | | | | | | | | * Do not return 'instances' when wait is false * Added integration tests for wait: false * Added changelog fragment * Fix test suite to work with ec2_instance * Additional permissions * Enforce boto3 version * Fix broken tests * Improve error messages * fix linter issues
* Allow user to specify a custom condition when waiting (#52185)Fabian von Feilitzsch2019-03-061-0/+25
|
* Add launch type to ecs task (#49081)Tad Merchant2019-03-062-5/+33
| | | | | | | | | | | | | | | | | | * adds fargate launch_type to ecs_task module * White space changes * fix documentation for running ecs task on fargate * remove extraneous example from ecs_task * White space changes * Adds changelog fragment * Pluralize minor_changes in changelog fragment * Add Stop and Start task permissions
* New module postgresql_ping: Checks remote PostgreSQL server availability. ↵Andrey Klychkov2019-03-063-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | (#51477) * New module postgresql_ping: simple module to check remote PostgreSQL server availability. * New module postgresql_ping: simple module to check remote PostgreSQL server availability, doc fixes * postgresql_ping: added integration tests * New module postgresql_ping: misc changes * New module postgresql_ping: change return suit * New module postgresql_ping: tests reformatting, return value * Various cosmetic/documentation fixes * A few more fixes * And even more cleanups * Fix PEP8 issue
* docker_swarm_service: rename return variable to swarm_service (#53229)Felix Fontein2019-03-061-2/+2
| | | | | | | | * Rename return variable to swarm_service. * Add changelog. * Add that old name will stay in Ansible 2.7.x.
* Fixes #42407 add inbound_nat_rules for loadbalancer (#52966)Yuwei Zhou2019-03-061-0/+37
|
* Fix return variable name.Felix Fontein2019-03-051-3/+3
|
* Extend win_psmodule - the second attempt, the previous was #46516 (#50621)Wojciech Sciesinski2019-03-057-45/+981
| | | | | | | | | | | | | | | | | | | | | | | | * Extend win_psmodule - rebased at 2019-01-07 * Change a way how defined parameters are added to the list * Correct registering a repository * Change way how tests for the check_mode: true are run * Post-review updates * Post-review updates -2 * Post-review updates -3 * Switch to PowerShell loop * Minor updates * Remove variants of an exception handling * Change error handling
* win_dsc - Add argument validation and other fixes (#53093)Jordan Borean2019-03-0522-754/+1094
| | | | | | * win_dsc - Add argument validation and other fixes * Fix doc issues
* Add timeout support to ansible-test. (#53302)Matt Clay2019-03-058-21/+218
| | | | | | | | * Add timeout support to ansible-test. * Fix ansible-test tar filename filter bug. * Update timeouts used on Shippable. * Kill subprocesses when parent process terminates. * Require explicit use of env --show option.
* docker_swarm_service: Add hosts option (#53290)Hannes Ljungberg2019-03-052-0/+53
| | | | | | * Add hosts option * Add changelog fragment
* docker_*: enable RHEL8 tests (#53313)Felix Fontein2019-03-0521-33/+43
|
* Add keyed_groups feature (#52045)Alan Rominger2019-03-051-0/+104
| | | | This implements: - Allow creating keyed group parents
* Add a new check to ensure that module arguments are valid python identifiers ↵Matt Martz2019-03-053-1/+38
| | | | | | | | | | | | (#53278) * Add a new check to ensure that module arguments are valid python identifiers * Move the check up higher, out of the if docs block * Skip validate-modules on py2 * Remove errant alias
* New Module: na_ontap_quotas (#49783)Chris Archibald2019-03-051-0/+238
| | | | | | | | | | | | | | | | | | | | | | * Revert "changes to clusteR" This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80. * new module na_ontap_quotas * fix file location * Fix author * updates * Revert "Revert "changes to clusteR"" This reverts commit 1c82958764ea38a91d51d3cfe8a85b418df8f0b8. * fix author * Add types
* Simplify docker_*_facts return names (#51939)Felix Fontein2019-03-059-157/+157
| | | | | | * Simplify docker_*_facts return names. * Adjust regular return values of modules to match style of docker_*_facts modules.
* acme_account: improve account deactivation idempotency (#53234)Felix Fontein2019-03-052-1/+4
| | | | | | | | * Improve account deactivation idempotency. * Using newer testing container. * Add comment to test.
* Add public key return to openssh_keypair (#53214)Maxim Babushkin2019-03-052-0/+11
| | | | | - The openssh_keypair module will return a public key output on the private key creation. - Add integration test in order to verify the public key output.
* docker_swarm_service: Add option groups (#53213)Hannes Ljungberg2019-03-056-798/+1058
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add logging option * Add limits option * Add reservations option * Add restart_config option * Add update_config option * Add placement option and remove placement_preferences * Yaml indentation * Use correct PR number for change log * Handle grouper fallbacks better * Add removed_in_version to argument spec * Fix broken suboption usage check * Reduce duplicate deprecated option tests * Clearer deprecation documentation * Compare bytes with MiB * Use correct test service suffix
* openssl_csr: improve invalid SAN error messages (#53201)Felix Fontein2019-03-052-0/+15
| | | | | | * Improve invalid SAN error messages. * Add changelog.
* Add tcp_max_xfer_size option for na_ontap_nfs, plus unit test (#52288)Chris Archibald2019-03-051-0/+308
| | | | | | | | | | | | | | | | | | | | * Revert "changes to clusteR" This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80. * updates * Revert "Revert "changes to clusteR"" This reverts commit 8e56b999e6cf6a65de339e516f7134a6b6b39cba. * fix docs * Fix boolean to bool * Update lib/ansible/modules/storage/netapp/na_ontap_nfs.py Co-Authored-By: carchi8py <carchi@netapp.com>
* Python 2: accept both long and int for type=int (module options) (#53289)Felix Fontein2019-03-051-4/+9
| | | * Added unit test
* [win_get_url] feature: Add support `checksum` to module win_get_url (#51986)Viktor Utkin2019-03-055-7/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * set valid_until equal to current time + spot_wait_timeout * Add checksum check for downloaded file. * refactoring * fix typo * add fixes * mart try,catch handling * revert lib/ansible/modules/cloud/amazon/ec2.py from upstream * refactoring * remove empty lines * add checksum verification for existing file * fix current file check * refactoring destination file check * add handling exceptions * refactoring * Added download file hash data from url * fix string aligning * fix bug with uri * Added get hash from multy-string file * Added URI support for checksum file location * refactoing * Remove any non-alphanumeric characters for hash from url * fix discussions; add support for PS3 * refactoring * add size return value * checkout from upstream for lib/ansible/modules/cloud/amazon/ec2.py * add Ansible.ModuleUtils.Legacy support; refactoring * Copyright added * Checking files size before and after downloading added. * remove unused code * Corrected regexp for dotted slashed file name prefix in hash-file * hotfix typo error; add int tests * remove legacy module support; split checksum to checksum, checksum_algorithm, checksum_url * changed default hash algorithm * Fixed case for ContentLength = -1 * Old comment removed * fix typo * Remove file size check before downloading * add alias to ; fix tests * adjust tests; fix lint warnings from PSScritpAnalyzer * workaround for bug in win_chocolatey module on win2008 * remove win_get_url.ps1 from /test/sanity/pslint/ignore.txt * add checksum_algorithm as retuen value * first normalise before return Result * resolve discussions Signed-off-by: Viktor Utkin <viktor.utkin7@yandex.ru> * fix discussions fix http tests as discussed * fix last discussions * Reduce code duplication and add idempotency check * fix sanity issue and remove testing code * move back to using tmp file for checksum comparison
* cloudscale_server: refactor to implement update (#52683)René Moser2019-03-052-4/+206
|
* FortiManager Plugin Module Conversion: fmgr_secprof_web (#52788)ftntcorecse2019-03-052-322/+164
| | | | | | | | * Auto Commit for: fmgr_secprof_web * Auto Commit for: fmgr_secprof_web * Auto Commit for: fmgr_secprof_web
* FortiManager Plugin Module Conversion: fmgr_secprof_waf (#52789)ftntcorecse2019-03-052-441/+384
| | | | | | | | * Auto Commit for: fmgr_secprof_waf * Auto Commit for: fmgr_secprof_waf * Auto Commit for: fmgr_secprof_waf
* Auto Commit for: fmgr_secprof_spam (#53021)ftntcorecse2019-03-052-0/+229
|
* Auto Commit for: fmgr_secprof_av (#53022)ftntcorecse2019-03-052-178/+131
|
* Auto Commit for: fmgr_secprof_wanopt (#53023)ftntcorecse2019-03-052-0/+234
|
* Auto Commit for: fmgr_secprof_ips (#53024)ftntcorecse2019-03-052-0/+148
|
* New FortiManager Module: fmgr_device_provision_template (#53025)ftntcorecse2019-03-052-0/+3822
| | | | | | | | * Auto Commit for: fmgr_device_provision_template * Auto Commit for: fmgr_device_provision_template * Auto Commit for: fmgr_device_provision_template
* Add hcloud server module (#53062)Lukas Kämmerling2019-03-055-0/+363
|
* win_chocolatey - add ability to pin a package (#53157)Jordan Borean2019-03-051-0/+108
| | | | | | * win_chocolatey - add ability to pin a package * fix typoe in changelog fragment
* win_chocolatey_source - fix state=disabled with no source (#53097)Jordan Borean2019-03-051-0/+88
|
* openssl_certificate: make sure extensions are present when they are queried ↵Felix Fontein2019-03-052-0/+58
| | | | | | | | by assertonly (#53207) * Make sure extensions are present when they are queried by assertonly provider. * Add changelog.
* Move _handle_no_log_values() out of basic.py (#48628)Sam Doran2019-03-044-4/+82
| | | | | | | | | | * Rename method and make private * Use is_iterable, combine transformations * Remove unused return_values from network modules * Improve docstrings in new functions * Add new PASS_VAR * Add unit tests for list_no_log_values * Fix unit tests for Python 2.6
* Only run docker swarm based tests on VMs. (#53292)Felix Fontein2019-03-046-0/+18
|
* rebaalance AWS test groups (#53159)Jordan Borean2019-03-047-7/+7
|
* yum/dnf: Add download_dir param (#53171)Martin Krizek2019-03-042-4/+56
|
* New FortiManager Module: fmgr_fwpol_package (#53026)ftntcorecse2019-03-042-0/+376
| | | | | | | | * Auto Commit for: fmgr_fwpol_package * Auto Commit for: fmgr_fwpol_package * Auto Commit for: fmgr_fwpol_package
* New FortiManager Module: fmgr_fwobj_service (#53027)ftntcorecse2019-03-042-0/+868
| | | | | | * Auto Commit for: fmgr_fwobj_service * Auto Commit for: fmgr_fwobj_service
* docker_swarm: support older docker-py versions (#53129)Felix Fontein2019-03-0411-33/+203
| | | | | | | | | | | | | | | | | | * Decreasing docker_swarm requirements. * Fixing docker-py / docker API version requirements, and some comments. * Add changelog. * Only send parameters specified by user to docker daemon. * Extend labels test: not specifying == keep labels. * Bump minimally required docker-py version for docker_node and docker_node_facts to 2.4.0. * Prevent crashing when publish or healthcheck is not provided. * Similarly to docker_swarm tests, only execute docker_node tests on real VMs and restart docker daemon when tests are done.
* New FortiManager Module: fmgr_secprof_appctrl (#53028)ftntcorecse2019-03-042-0/+328
| | | | | | * Auto Commit for: fmgr_secprof_appctrl * Auto Commit for: fmgr_secprof_appctrl
* New FortiManager Module: fmgr_secprof_proxy (#53029)ftntcorecse2019-03-042-0/+152
| | | | | | | | * Auto Commit for: fmgr_secprof_proxy * Auto Commit for: fmgr_secprof_proxy * Auto Commit for: fmgr_secprof_proxy
* New FortiManager Module: fmgr_secprof_voip (#53030)ftntcorecse2019-03-042-0/+329
| | | | | | * Auto Commit for: fmgr_secprof_voip * Auto Commit for: fmgr_secprof_voip
* New FortiManager Module: fmgr_fwobj_ippool (#53031)ftntcorecse2019-03-042-0/+478
| | | | | | * Auto Commit for: fmgr_fwobj_ippool * Auto Commit for: fmgr_fwobj_ippool
* New FortiManager Module: fmgr_fwobj_ippool6 (#53032)ftntcorecse2019-03-042-0/+129
| | | | | | * Auto Commit for: fmgr_fwobj_ippool6 * Auto Commit for: fmgr_fwobj_ippool6