summaryrefslogtreecommitdiff
path: root/lib/ansible/modules
Commit message (Collapse)AuthorAgeFilesLines
* assign a sane default to yum/dnf lock_timeout, in line with cli (#57383)Adam Miller2019-07-162-2/+2
| | | | | | | | | | | | | * assign a sane default to yum/dnf lock_timeout, in line with cli Fixes #57189 Signed-off-by: Adam Miller <admiller@redhat.com> * fix typo in changelog snippet Signed-off-by: Adam Miller <admiller@redhat.com> (cherry picked from commit d2dc4c9bc43aae4e1b46098ac1e006fa3dda00ae)
* nmcli: Argument vlanid (int) is changed internally to string (#58963)pratikgadiya122019-07-161-2/+2
| | | | | | | | * Argument vlanid (int) is changed internally to string * Modified test case to check vlan id Fixes: #58949 (cherry picked from commit e8f4ebb22ce2413bf26b111516c858adc2b0c083)
* Ovirt vm migrate with state present backport (#58720)Martin Nečas2019-07-161-1/+2
| | | | | | | | | | * ovirt vm migrate with state present (#58136) * ovirt vm migrate with state present init * add migrate comment * add changelog
* Fix nagios module to recognize if file exists and is fifo pipe (#58569)Klaas Demter2019-07-161-0/+7
| | | | | | | add felixfontein suggestion to changelogs/fragments/58569-nagios-fifo-fix.yaml Co-Authored-By: Felix Fontein <felix@fontein.de> (cherry picked from commit faf50dbace25d0236f8019d114c214c61fff3f55)
* win_get_url - Fix proxy_url not used correctlyShachafGoldstein2019-07-161-1/+1
| | | | (cherry picked from commit a21d40474c636edb737f99aa98d70701badddc09)
* Backport PR to resolve NoneType error in issue 57711 (#58706)Sumit Jaiswal2019-07-161-4/+5
| | | | | | | | | * fix 57711 (#58618) Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com> (cherry picked from commit 8b844b67b589a608d7c3a55fef5c632fe8961e9a) * changelog file
* Ovirt update vm migrate docs backport (#58717)Martin Nečas2019-07-161-1/+1
| | | | | | | | | | | | * ovirt update vm migration domunetation (#58577) * init update docs * Update lib/ansible/modules/cloud/ovirt/ovirt_vm.py Co-Authored-By: Alicia Cozine <879121+acozine@users.noreply.github.com> * add changelog
* Ovirt add host retry doc backport (#58718)Martin Nečas2019-07-161-0/+9
| | | | | | * add changelog * add docs about retry (#58625)
* Backport/2.8/55218 (#58639)Albert Siersema2019-07-161-1/+3
| | | | | | | * "no macro" command should not be handled by edit_macro(), fixes #55212 (cherry picked from commit 2cdab1379f4b51f0313734e27ea77af81afee90a) * fixed ios_config issue where the "no macro" command was erroneously handled by edit_macro()
* [2.8] VMware: looking up maxMksConnections in incorrect locationlijok2019-07-161-1/+1
| | | | | | | | | | | maxMksConnections is contained in vim.vm.ConfigInfo not vim.vm.VirtualHardware Fixes: #58060 Signed-off-by: lijok <28689084+lijok@users.noreply.github.com> Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit 63bdd0d6cdb122b6feb646f1d9721357df9bb3ca) Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* win_domain_user: do not hide error on failures (#58357)Jordan Borean2019-07-161-194/+178
| | | | | | | | | | * win_domain_user: do not hide error on failures * Was a bit too overzealous in the removal * Remove uneeded sanity ignore rule (cherry picked from commit c260721ce59a1dae708610c9cf6e2b0656691ad9)
* openssl_privatekey: forgot to add secp256r1 (#58605)Felix Fontein2019-07-161-4/+6
| | | | | | | | * Forgot to add secp256r1. This one is the interoperable one. * Add changelog. (cherry picked from commit 5d5a7d6ebe5412094e00657c76e90b8fd81906a4)
* [2.8] VMware: Set vapp settings while creating VMAbhijeet Kasurde2019-07-161-44/+80
| | | | | | | | | vApp Settings can be set while creating VM. Fixes: #50617 (cherry picked from commit 760dc19284ff34c63c29ad320c036e1288080181) Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* 2.8: yum: take care of stale/invalid yum.pid (#58457) (#58489)Martin Krizek2019-07-152-0/+48
| | | | | | | | | | | | | | | * yum: take care of stale/invalid yum.pid (#58457) * yum: take care of stale/invalid yum.pid * Add changelog (cherry picked from commit 5064e67d376f2838eb64e27698f621f90a88568e) * yum: check whether the lock file disappeared (#58581) (cherry picked from commit b0f38931b0e0b55db30a012e81683d380ea7a670)
* Remove reference to Windows for assemble docs (#59082) (#59098)Alicia Cozine2019-07-151-3/+0
| | | (cherry picked from commit 66a5ed64caa5d13b286988d5c75c35479add1369)
* Backport/2.8/58251 ce_static_route: fix some bugs. (#58251) (#58565)Xu Yuandong2019-07-151-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | * ce_static_route: fix some bugs. (#58251) * add a util function to ce. * add a util function to ce. * update to fix bugs for ce_static_route * update to fix bugs for ce_static_route * update to fix bugs for ce_static_route * update * update for shippable. (cherry picked from commit bb33c922f774c9cf1e2c329afa58a37143f5b184) * add a changelog fragment to PR 58565. * Update 58565-update-ce_static_route-to-fix-a-bug.yml
* Cleanup EXAMPLES (#58972) (#59012)Hannes Ljungberg2019-07-121-20/+20
| | | (cherry picked from commit 4ab364eaafd5b4be43af8295470c52a3a0b3a63a)
* Add examples (#58819) (#58917)Max Calzavara2019-07-101-0/+13
| | | | | * Add examples to the ios_vlan docs: vlan using aggregate and move vlan interface example (cherry picked from commit 5689cc08cea71ce8bfbe15d74af4622d2913bcc1)
* backport/2.8/58231 ce_netstream_aging: update to fix a bug. (#58231) (#58563)YuandongXu2019-07-081-3/+2
| | | | | | | | | | | | | | * ce_netstream_aging: update to fix a bug. (#58231) * update to fix a bug * update to for shippable. (cherry picked from commit 715de33467cb109a760d9ae7f7a58209d6ef3901) * add a changelog fragment. * Update 58563-update-ce_netstream_aging-to-fix-a-bug.yml
* Backport/2.8/58230 ce_link_status: update to fix a bug (#58230) (#58561)YuandongXu2019-07-081-3/+3
| | | | | | | | | * update to fix a bug (#58230) (cherry picked from commit b7630ccb363d28f7a76bf93db803e5535dab5968) * add a changelog fragment.
* update to fix a bug (#58229)YuandongXu2019-07-081-3/+3
| | | | | Signed-off-by: xuxiaowei0512 <786018072@qq.com> (cherry picked from commit b93411a5b24db638efa149dd5ae0db68df2b0cb3)
* Backport/2.8/58228 ce_evpn_bgp_rr: update to fix a bug (#58228) (#58559)YuandongXu2019-07-081-0/+6
| | | | | | | | | | | * update to fix a bug (#58228) (cherry picked from commit 23139cdbb9eedada9e6e993902c2d65d4a7072ef) * add a changlog fragment. * Update 58559-update-ce_evpn_bgp_rr-to-fix-a-bug.yml
* Backport/2.8/57947 update ce_vxlan_global to fix bugs. (#57947) (#58553)YuandongXu2019-07-081-2/+4
| | | | | | | | | | | | | | * update ce_vxlan_global to fix bugs. (#57947) * update to fix bugs. * add a changelog fragment. * update a changelog fragment. (cherry picked from commit 242f160747638fda253d7ac7e96ea4a5c4d0c03e) * Update 57947-update-ce_vxlan_global-to-fix-bugs.yml
* backport/2.8/58207 ce_bfd_view: update to fix a bug (#58207) (#58556)YuandongXu2019-07-081-2/+4
| | | | | | | | | | | * update to fix a bug (#58207) (cherry picked from commit 4a6c86715a591394049f8f2e74243f2520ccc582) * add a changelog fragment to PR 58556. * Update 58207-update-ce_bfd_view-to-fix-a-bug.yml
* Backport/2.8/58200 ce_bfd_global: update to fix a bug. (#58200) (#58555)YuandongXu2019-07-081-1/+3
| | | | | | | | | | | * update to fix a bug. (#58200) (cherry picked from commit 875e7c3e5036b1410e4170c4ff2589c3f12e5ac7) * add a changlog fragment to PR 58200. * Update 58200-update-ce_bfd_global-to-fix-a-bug.yml
* backport/2.8/57916 ce_vrrp: update ce_vrrp to fix a bug (#57916) (#58554)YuandongXu2019-07-081-8/+7
| | | | | | | | | | | * update vrrp (#57916) (cherry picked from commit 442d275ae35f0fe6aac1dc212228655a83989fd0) * add a changelog fragment to PR 58554. * Update 58554-update-ce_vrrp-to-fix-a-bug.yml
* update ce_interface to fix bugs (#57907)YuandongXu2019-07-081-35/+58
| | | | | | | | | | * update ce_interface * update ce_interface * add a changelog fragment. (cherry picked from commit e02353026d1497a527c3db1535753aa9c2411042)
* [2.8] VMware: Warn user about dvswitch permissions (#58758)Abhijeet Kasurde2019-07-081-1/+8
| | | | | | | | Warn user that permissions for a distributed switch must be defined and managed on either the datacenter or a folder containing the switch. (cherry picked from commit 5e2471485ae78410271e790514a038eaee4d60f0) Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Revert "[stable-2.8] hostname - fix Oracle Linux (#58510)"Toshio Kuratomi2019-07-021-1/+1
| | | | | | | This reverts commit dd304b48116f3b1f10f769e1cc3a34c702b81d8f. Only affects 2.9+ as it is introduced by bundling a new version of distro
* [2.8] purefa_user: Fix Incorrect parameter used causing crashes. (#57588) ↵René Moser2019-06-291-7/+11
| | | | | | | | | | | | | | | (#58544) * purefa_user: Fix Incorrect parameter used causing crashes. (#57588) (cherry picked from commit 35dcd231be4f0afe2e1ee7a53769b3de1cc5222f) * purefa_user: add previous return as an alias Avoid breaking user's playbooks in minor releases * update changelog
* update acl interface. (#57905)YuandongXu2019-06-291-3/+3
| | | | | | | | | | | | | | * update acl interface. * update ce_interface * update * add a changelog fragment. * update (cherry picked from commit da72644317615db7a52cf0c5544ae1c442db9457)
* ce_snmp_location: fix for out of array index. (#57903)YuandongXu2019-06-291-3/+5
| | | | (cherry picked from commit afe7cd3fda72cabbec23f9bded598d2cbc5b1b0e)
* ce_snmp_target_host: update to fix bug: None has no 'lower()' function. (#57904)YuandongXu2019-06-291-1/+4
| | | | | | | | | | | | * update to fix bug: None has not 'lower()' function. * add a changelog fragment. * update changlog fragment. * Update 57904-ce_snmp_target_host.yml (cherry picked from commit 78c8ee9261827b991579835dcf69babd3d42ff03)
* ce_bgp: update bgp to fix bugs (#57317)YuandongXu2019-06-294-109/+148
| | | | | | | | * update bgp to fix bgus * add a changelog fragment for bgp (cherry picked from commit 36cfa9e931d5ef35a10b3aeb9199580faec77ce3)
* [stable-2.8] hostname - fix Oracle Linux (#58510)Sam Doran2019-06-281-1/+1
| | | | | | (cherry picked from commit 1a5ae366f4) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [stable-2.8] podman_image_info - Do not fail when nonexistant image name is ↵Sam Doran2019-06-281-10/+40
| | | | | | | | | provided (#57962) * Account for older versions of Podman lacking 'exists' (cherry picked from commit 9ba7015458) Co-authored-by: Sam Doran <sdoran@redhat.com>
* the env argument for docker_container wants a dict, not a list (#58475) (#58486)Felix Fontein2019-06-281-4/+4
| | | (cherry picked from commit 3ec4739cc71143bbea976ed5f6c41468e9acb191)
* Datadog_monitor: Fix docs with datatypes of params (#58371) (#58404)Alicia Cozine2019-06-261-34/+69
| | | | | | | Fixes: #58342 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit bc3c90f2f1ae4952bd80eb54c4b4caa5d97589ac)
* Backport 57507 postgresql_pg_hba bugfix (#58384)Andrey Klychkov2019-06-261-14/+16
| | | | | | | | | | | | | | | * Merge authentication options back into a single field to prevent losing options beyond the first (#57507) * Merge authentication options back into a single field to prevent losing options beyond the first * Add integration test and changelog * Fix multiple options for local type connections. Also fix sorting errors between local type connections that lack a src * Build again because of github problems? * Add spaces before comments (cherry picked from commit 5cc6486a2ba05efa80b38bd5cadd5332d217a330)
* postgresql_membership: remove debug print (#58315)Andrey Klychkov2019-06-251-2/+0
| | | | (cherry picked from commit cf528c562a0ca66e6ccab72b849e4f2a068ee036)
* Backport PR of 57391 postgresql_table - bugfix of schema handlingAndrey Klychkov2019-06-241-6/+21
|
* openssl_certificate: fix failing SAN comparisons (#58256)Felix Fontein2019-06-242-4/+16
| | | | | | | | | | | | * Fix failing SAN comparison for older cryptography versions due to not implemented __hashh__ functions. * Fix SAN comparison: IPv6 addresses need to be normalized before comparing strings. * Add changelog. * Fix comment. (cherry picked from commit 75ca8eb42f49e2814fbe80cb429690537122ef65)
* openssh_keypair: bugfix make regenerating keypairs via force possible… ↵lolcube2019-06-241-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (#57801) * openssh_keypair: bugfix make regenerating keypairs via force possible / add invalid file handling * openssh_keypair: change permissions of read-only file instead of deleting it for regeneration; add changelog fragment * address review feedbak, refactor * add integration tests for bigfixes * linter: fix indent * fixup integration tests: use force when regenerating an invalid file * linter: fix indent * openssh_keypair: address review feedback * openssh_keypair: fixup, remove backtick * openssh_keypair: address review feedback * Only pass 'y' into stdin of ssh-keygen when file exists. (cherry picked from commit 547a29805e269846595d82f71382e93f2a8e3c9a)
* postgresql_privs: bugfix of 27327 - incorrect views handling (#58272)Andrey Klychkov2019-06-241-1/+1
| | | | (cherry picked from commit 278c59b17e9ff781e61017ca6fdcc2b86288d146)
* Remove from sanity ignores. (#57911)Felix Fontein2019-06-241-10/+10
| | | | (cherry picked from commit 808cf4aa26f2072e167761795e8c7d7e16db39cc)
* [stable-2.8] hostname - Correct distribution for various Linux distros based ↵Sam Doran2019-06-211-1/+25
| | | | | | | | | | | | | | | | on output from distro library (#56936) * Adjust hostname classes based on output from distro Corrects the following: - OpenSUSE Leap - ArchARM - Oracle Linux * Add CoreOS and Clear Linux distributions (cherry picked from commit bd55617a5b) Co-authored-by: Sam Doran <sdoran@redhat.com>
* PostgreSQL modules: move params mapping from main to connect_to_db() ↵Andrey Klychkov2019-06-2114-707/+194
| | | | | | | | | | | | | | | | | | function Backport/2.8/55799 (#57473) * PostgreSQL modules: move params mapping from main to connect_to_db() function (#55799) * PostgreSQL modules: move params mapping from main to connect_to_db() function * PostgreSQL modules: fix postgresql_db * PostgreSQL modules: fixes (cherry picked from commit 9b17346d1ef993f0b5e30ed79e2ce0f9abe284a1) * postgresql moving params mapping to connect_to_db: added changelog fragment * postgresql moving params mapping to connect_to_db: add get_conn_params, fix conflicts
* docker_*: make modules more robust on Docker errors (#57913)Felix Fontein2019-06-2020-155/+291
| | | | | | | | | | | | | | | | * Improve general error behavior if a Docker error is not caught. * Don't die when network doesn't exist. * Add changelog. * Make API version always available. Also catch errors when retrieving version. * Fix error message. * Adjust fallback error messages. (cherry picked from commit f8f2738351cfe4e1285c3040b52b31f5373c6237)
* docker_swarm_service: Added default value for mounts.source (#58039)Dmitriy Yakovlev2019-06-201-1/+1
| | | | | | | | | | | | | | * Added default value for mounts.source * Added the changelog fragment * Added tests * Fixed separators * Moved the teardown section at the end (cherry picked from commit 122d4164c583076cbededca60c9e17f5d550fba8)
* crypto modules: Improve requirements / error messages (#57868)Felix Fontein2019-06-208-18/+40
| | | | | | | | | | | | | | * Reformat requirements. * Include Python lib versions in lib required error messages, if available. * Update lib/ansible/modules/crypto/openssl_publickey.py Co-Authored-By: MarkusTeufelberger <mteufelberger@mgit.at> * Add changelog. (cherry picked from commit 4188cd299bd9f38025144992f47aa8974ceac479)