summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added Fix - Allow nxos_l2_interfaces to append the allowed vlans list (#66517)GomathiselviS2020-02-044-9/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added Integration tests * Corrected lint errors * Added fix for bug # 54400 * Revert "Added fix for bug # 54400" This reverts commit bf42db42697d64abbfea4e546f890637d4a5175b. * Revert "Adding files for RM static_routes" This reverts commit dafdd92d4327cfc6dfcebb1e977454b2f77a1daa. * Revert "Added Integration tests" This reverts commit 129dc87682bba9292105fc3b642fdf3930ce79fd. * Bug Fix 65332 * Added testcase for #66517 * Removed unnecessary commit * fixing conflicts * fixing conflicts * addressed mikeweibe's comments * Corrected lint errors * Added idempotent tc for add vlans * Added replaced and overridded tcs for trunk vlan add
* wait_for_connection: also retry interpreter discovery (#67040)James Cassell2020-02-042-0/+7
| | | | | self._discovered_interpreter_key is None unless a previous iteration has attempted discovery. In that case, force re-discovery, as the previous attempt certainly failed.
* Code cleanup and refactoring in ansible-test. (#67063)Matt Clay2020-02-0438-224/+358
| | | | | | | | | | | | | | | | | | | | | | | * Code cleanup in ansible-test. * Split out encoding functions. * Consoldate loading of JSON files. * Split out disk IO functions. * Simplify file access. * Add functions for opening files. * Replace open calls with appropriate functions. * Expose more types from typing module. * Support writing compact JSON. * Add verbosity argument to display.warning. * Add changelog entry. * Update files overlooked during rebase. * Use `io.open` instead of `open`. * Fix file opening for imp.load_module. * Remove use of `r+` mode to access files. * Add missing import. * Fix httptester on Python 2.x. * Clarify changelog fragment. * Consolidate imports. Remove extra newlines. * Fix indirect imports.
* fixes ANSIBLE_DUPLICATE_YAML_DICT_KEY=error crashes (#66786)tavery3212020-02-042-1/+7
| | | * Fix #65366
* user - warn if "append" is set but not "groups" (#65795)Erwin Oegema2020-02-043-2/+21
| | | | | | | This fixes people unknowingly changing the primary group rather than adding a secondary group. * Add integration test
* Fix removed_in_version to support honor suboptions (#66918)Felix Fontein2020-02-044-12/+38
| | | | | * Add unit tests. * Fix reporting for removed_in_version. * Add changelog.
* docker_container: fix port order in docs (#67071)Felix Fontein2020-02-041-3/+4
| | | | | | * Fix port order. * Forgot to remove random.
* add jittered backoff for elb (#66673)Felix Wong2020-02-042-11/+40
|
* Fix UNC path support in the powershell shell plugin (#66604)Brian Scholer2020-02-043-9/+19
| | | | | | | | | | | | * Fix UNC path joining in the powershell shell plugin, add test * Remove testy bits and a redundant line * Fix style nits * Update to use os.ntpath * Add changelog for #66604
* Added -LogPath param from Install-ADDSForest to win_domain module (#66956)AirCombat2020-02-042-0/+11
| | | | | | | | | | * Added omitted logpath parameter to win_domain The Install-ADDSForest -LogPath param seems to have been omitted in the win_domain module. We do not use this module organisation-wide as its non trivial to change the log patch once AD is set up. I will also update docs * Removed trailing whitespace * Added logpath option to win_domain module docs
* Move url option from util to individual modules (#67068)Jordan Borean2020-02-044-7/+3
|
* Temporarily remove AIX from test matrix.Matt Clay2020-02-031-5/+0
| | | | AIX provisioning is failing.
* win_uri: fix up tests (#67064)Jordan Borean2020-02-041-2/+2
|
* docker_container: change behavior for one-port container ranges to be same ↵Felix Fontein2020-02-034-2/+89
| | | | | | | | | | as docker CLI (#66382) * Adjust docker_container behavior for one-port container ranges to be similar to docker CLI. * Add changelog. * Add documented examples for ports:.
* postgresql_user_obj_stat_info: new module (#66892)Andrew Klychkov2020-02-036-0/+548
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * postgresql_user_obj_stat_info: new module * fix sanity * add schema parameter * add CI tests * add RETURN section * add example with schema * fix CI * fix example comments * skip aix * fixes part 1 * fixes part 2 * fix CI * fix CI * fix doc formatting
* Revert "Temporarily remove AIX from test matrix."Matt Clay2020-02-031-0/+5
| | | | This reverts commit 6024c09be5fc37012764b1a71167b2f1be07547c.
* Add anchor to each parameter row (#66895)Dick Visser2020-02-033-6/+60
| | | | | | | | | | | | | | * Add anchor to each paramater row * Update docs/templates/plugin.rst.j2 Co-Authored-By: Felix Fontein <felix@fontein.de> * Insert full keys into plugin docs. * Added visible links. Co-authored-by: Felix Fontein <felix@fontein.de>
* Temporarily remove AIX from test matrix.Matt Clay2020-02-031-5/+0
| | | | AIX provisioning is failing.
* docker_container and docker_swarm_service: allow to actually disable ↵Felix Fontein2020-02-033-2/+14
| | | | | | | | healthcheck of image (#66599) * Allow to actually disable healthcheck of image. * Add changelog.
* Fix indentation (#66991)Ilias Trichopoulos2020-02-031-22/+22
|
* Update template.py (#67010)unixsysadmin2020-02-031-1/+1
| | | | | Update the example so that the task name matches the filename being updated The first example shows how you might template a file to destination /etc/file.conf. The description of this task appears to have a typo as it refers to '/etc/files.conf' rather than '/etc/file.conf'
* update guide_azure.rst (#66940)Sander2020-02-031-2/+2
| | | changed example for ping linux machines. Looks liked it was wrongly copy paste.
* Document difference between ec2 and ec2_instance modules (#67009)Gregor Riepl2020-02-031-0/+6
| | | Co-Authored-By: Mark Chappell <mchappel@redhat.com>
* ovirt_job: add when job is detected but in state finished (#66810)Martin Nečas2020-02-031-1/+2
| | | | | | * ovirt_job: add when job is detected but in state finished * add docs
* Allow httpapi for EOS resource modules (#66871)Nathaniel Case2020-02-0370-159/+359
| | | | | | | | | | | * Redo tests to be transport agnostic cli -> eos config * Redirect connection for httpapi * Fix tests * Handle missing platform imports
* Add maintainer for keycloak module (#61521)ndclt2020-02-031-2/+2
| | | | | | * add maintainer for keycloak module * typo correction
* openssl_publickey: forgot to pass backend (#67036)Felix Fontein2020-02-033-15/+26
| | | | | | | | | | * Forgot to pass backend. * Add changelog. * Pass on backend from get_fingerprint. * Handle cryptography backend in get_fingerprint.
* Remove deprecated parameter for 2.10 in purefb_fs (#67026)Simon Dodsley2020-02-023-26/+16
|
* Do fail instead of regenerate for password protected and invalid keys. (#65638)Felix Fontein2020-02-024-9/+43
|
* openssl_* modules: allow direct input and output for some files (#65400)Felix Fontein2020-02-0223-4/+346
| | | | | | | | * Allow to return generated object. * Use slurp module instead of file lookup + b64encode. * Rename return_xxx_content -> return_content.
* Group ids are strings now (#66939)Evert Mulder2020-02-021-1/+1
|
* Fix pacman: "IndexError: list index out of range" #63077 (#65750)Klaus Frank2020-02-012-16/+24
| | | | | | | | | | | | | | | | | | | | | * Fix #63077 If the package is already installed the stdout is not as expected by this function. Either remove `--needed` or just noop if we detect pacman returning. We cannot match the stdout string, as that is most likely localized. ``` [root@archBook user]# /usr/bin/pacman --upgrade --noconfirm --noprogressbar --needed /srv/aur/src/i3cat-git/i3cat-git-r38.c6d29dd-1-x86_64.pkg.tar.xz loading packages... warning: i3cat-git-r38.c6d29dd-1 is up to date -- skipping there is nothing to do ``` * Add comment Add comment * Add changelog fragment. Co-authored-by: Felix Fontein <felix@fontein.de>
* Bugfix of 54239: mysql_variables not supporting variables name with dot (#66806)Andrew Klychkov2020-02-014-2/+20
| | | | | | | | * Bugfix of 54239: mysql_variables not supporting variables name with dot * add changelog * add CI tests
* Move random_mac into its own file (#67000)Toshio Kuratomi2020-01-315-99/+135
| | | | | | | * Move random_mac into its own file This is likely to be the only filter which is not included in ansible-base. So it needs to be in its own file.
* croc cloud - ec2 key patch (#60929)Rotaru Sergey2020-01-311-0/+2
| | | | This patch fixes "IndexError: list index out of range" error for https://console.cloud.croc.ru. When key pair is new, croc return dict with an empty list for key KeyPairs that causes ansible to crush.
* Minor AWS argument checks (required_if / mutually_exclusive) fixups (#66966)Mark Chappell2020-01-315-6/+18
| | | | | | | | * aws_netapp_cvs_snapshots - minor required_if fixup (state must be set if state=present) * ec2 - fix typo in mutually_exclusive definition * rds_instance: fix typo in mutually_exclusive restore_to_time should be restore_time - currently throws a boto error
* Fix user_agent string not getting set (#66914)Simon Dodsley2020-01-312-2/+6
|
* Add collections path option to ansible-galaxy (#66969)Sam Doran2020-01-312-0/+9
| | | Some common code needed for 'collection list' and 'collection validate'
* Bugfix of 66974: mysql_user doesnt support privileges with underscore (#66995)Andrew Klychkov2020-01-312-10/+17
| | | | | | | | * Bugfix of 66974: mysql_user doesnt support privileges with underscore * add changelog * add seealso
* Make cloudfront_info work with Python3 … (#66695)Stefan Horning2020-01-312-1/+3
| | | | | | * Make cloudfront_info work with Python3 by using dict.update(dict) instead of dict += dict. * Added changelog fragment for cloudfront_info fix
* Try to load action plugin from the same collection as the module (#66701)Nathaniel Case2020-01-312-10/+17
| | | | | | | | * Try to load network action plugin from the same collection as the module * Alter tests to match Just make sure the action plugin is as qualified as the module it is paired with
* Fix typo in shell_windows.py (#66964)Petr Mikusek2020-01-311-1/+1
|
* mysql_user: priv parameter can also be a dictionary (#66801)Andrew Klychkov2020-01-315-2/+84
| | | | | | | | | | * mysql_user: add priv_dict parameter * add changelog * priv can be string or dictionary * fix example
* Migrate ec2_vol_info to AnsibleAWSModule (#66979)Mark Chappell2020-01-313-29/+18
| | | | | | | | | | | | * Migrate ec2_vol_info to AnsibleAWSModule * Enable ec2_vol_info tests * Add changelog * Update lib/ansible/modules/cloud/amazon/ec2_vol_info.py Co-Authored-By: Sloane Hertel <shertel@redhat.com>
* Add migrated_to: community.grafana (#66981)John R Barker2020-01-311-0/+12
|
* Fix 'container_default_behavior: no_defaults'. (#66601)Felix Fontein2020-01-312-1/+119
|
* win_unzip - LiteralPath fix (#66972)Jordan Borean2020-01-319-131/+149
| | | | | | * win_unzip - LiteralPath fix * Fix up Python sanity issues
* Reorganize ansible-test coverage code.Matt Clay2020-01-309-522/+644
| | | | | | | | This change moves all code for the `ansible-test coverage` command into the `coverage` directory. Each subcommand is split into a separate file. Only minor spelling changes were made aside from code relocation.
* vmware_cluster_facts does not set hosts keyGonéri Le Bouder2020-01-301-1/+0
| | | | | | | Since https://github.com/ansible/ansible/pull/61006 `vmware_cluster_info` exposes a new key called `hosts`. The deprecated module `vmware_cluster_facts` keeps the previous behaviour, and so we must keep its test-suite unchanged.
* ansible-test - Add 'get' to the list of bad choices for state (#66921)Mark Chappell2020-01-305-3/+8
| | | | | | * ansible-test - Add 'get' to the list of bad choices for state * Changelog fragment