Commit Graph

45191 Commits (c290ea13f3e67b9fb8cc391c2249f89e46443610)
 

Author SHA1 Message Date
Felix Fontein c290ea13f3 docker_swarm_service: Fix description of limits.memory (#66078) (#66112)
This option corresponds to the '--limit-memory' option. Also
fix other mentions memory reservation instead of limit.

(cherry picked from commit 30cfa92e90)

Co-authored-by: Pedro Alvarez Piedehierro <palvarez89@gmail.com>
6 years ago
Matt Clay 77ce11b21d [stable-2.8] Disable failing azure_rm_storageaccount test.
(cherry picked from commit 342b9953bc)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Justin Ossevoort d9368e195d [stable-2.8] Fix 'Assert CNAME failure' assertion (#65875)
(cherry picked from commit 14ebceec25)

Co-authored-by: Justin Ossevoort <github@internetionals.nl>
6 years ago
Sandra McCann 4efb8bdc4f update version metadata to get faceted swiftype search running (#65574) (#65580)
* update version metadata to get faceted swiftype search running

(cherry picked from commit 96cbbdd59f)
6 years ago
Lukas Kämmerling b1121828c0 [stable-2.8] Fix and reenable hcloud tests.
(cherry picked from commit 5ad61ed7c1)

Co-authored-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
6 years ago
Matt Clay 14a243c486 [stable-2.8] Disable failing hcloud tests..
(cherry picked from commit 85722c360f)

Co-authored-by: Matt Clay <matt@mystile.com>
6 years ago
Will Thames e9bdf249f5 Remove k8s_scale dependency on k8s_raw (#65271)
* Remove k8s_scale dependency on k8s_raw (#59887)

* Remove k8s_scale dependency on k8s_raw

* fix sanity checks

(cherry picked from commit e60cdc310d)

* Add changelog fragment

* Rename 59887-scale-bug to 59887-scale-bug.yml
6 years ago
Felix Fontein b186ba8ee3 acme_certificate: Fix ACME v1 support when modify_account is set to false (#64648) (#65413)
* Fix ACME v1 when modify_account is set to false.

* Add changelog.

(cherry picked from commit 08b53b94a9)
6 years ago
Felix Fontein 0ed744c0a0 openssl_csr: make sure privatekey_path is specified when state is present (#65435) (#65460)
* Make sure privatekey_path is specified when state is present.

* Add changelog.

(cherry picked from commit ae4363f6d1)
6 years ago
Toshio Kuratomi 34eb3f54dd [stable-2.8] Add or later to the license expressed in the README (#65288)
This is a clarification, not a relicensing.

Our source code says "GPLv3+" or "version 3 of the License, or later".
Our documentation says GPLv3+:

https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/dev_guide/developing_modules_checklist.rst#contributing-to-ansible-objective-requirements

We were just lazy when we wrote the README and left out the "or later".
this update to the README brings it in line with what everything else
says.
(cherry picked from commit a15fb26)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
6 years ago
Felix Fontein b3f06706ba docker_container and docker_network: avoid None errors (#65018) (#65234)
* Avoid None errors.

* Add changelog.

(cherry picked from commit 63b94fca7e)
6 years ago
Xu Yuandong 0a6e22aeb0 Update plugins/netconf/ce.py to fix a bug(failed to get veriosn information via neocnf). (#65065) (#65231)
* fix version fail.

* add a changelog fragment.

* Update ce.py

* Rename plugins-netconf-ce-fix.yaml to 65065-plugins-netconf-ce-fix.yaml

* Update ce.py

(cherry picked from commit da8ec327cc)
6 years ago
Felix Fontein 188bd6dc54 [yarn] Set name_version when version is not specified (#62348) (#65214)
* Set name_version when version is not specified, fix #55097

This will default to installing the latest version available

* Add changelog fragment

* update changelog

(cherry picked from commit 136dc27572)
6 years ago
Felix Fontein 96bdcbe90c openssh_keypair: fix idempotence issue (#65017) (#65127)
* Fix idempotence issue.

* Add changelog.

(cherry picked from commit b36f572256)
6 years ago
Guillaume Martinez 666acb1754 gitlab module: set max version for python-gitlab lib (#65052) 6 years ago
Guillaume Martinez 8b452357ce gitlab_user: Fix ssh key add and group membership add when there's other changes (#63621) (#65045)
* Fixed syntax in sshkey/group add

* Added changelog

* pep8 fix

(cherry picked from commit b4bb3dee9a)
6 years ago
Michael Shen 1593f68d72 Backport/2.8/64397 (#64794)
* [FIX] graceful is not an immutable attribute

(cherry picked from commit 1f4d15fc55)

* [ADD] changelog fragment for PR 64397 to stable-2.8
6 years ago
Xu Yuandong 290e63aba5 Backport/2.8/64351 Doc notes 6 (#64351) (#64945)
* Doc notes 6 (#64351)

(cherry picked from commit 25e03b1e75)

* add a changelog
6 years ago
Xu Yuandong c1c2c76ad0 Backport/2.8/64928 Doc notes 5 (#64928) (#64944)
* Doc notes 5 (#64928)

* new version 2.10 can not be backported

(cherry picked from commit 8ea9d0c06a)

* add a changelog
6 years ago
Xu Yuandong 23812f4b6e Backport/2.8/64927 Doc notes 4 (#64927) (#64940)
* Doc notes 4 (#64927)

* exclude new in 2.10

(cherry picked from commit 2ccdf29b5b)

* add a changelog, update 64940_update_modules_docs_notes.yml
6 years ago
Xu Yuandong 564570faf2 Backport/2.8/64348 Doc notes 3 (#64348) (#64941)
* Doc notes 3 (#64348)

(cherry picked from commit ad0769c095)

* add a changelog
6 years ago
Xu Yuandong 686592bdb1 Backport/2.8/64347 Doc notes 2 (#64347) (#64942)
* Doc notes 2 (#64347)
* Update ce_evpn_bgp_rr.py
* Update ce_evpn_bgp.py

(cherry picked from commit 9e3b1f3b32)

* add a changelog.
6 years ago
Xu Yuandong 5781d19ab5 Backport/2.8/64346 Doc notes 1 (#64346) (#64943)
* Doc notes 1 (#64346)

(cherry picked from commit 705c014ec3)

* add  a changelog.
6 years ago
Felix Fontein 37435c0df1 Update openssl_certificate.py (#64772) (#64803)
Changed 'generate' to 'generating'

(cherry picked from commit 83927c3437)
6 years ago
Matt Davis 7eb9808ee8 Update Ansible release version to v2.8.7.post0. 6 years ago
Matt Davis 24220a618a New release v2.8.7 6 years ago
Jordan Borean 63b0ae494e Improve handling of "restarted" state for win_iis_website module (#63829) (#64759)
* Improve handling of "restarted" state for win_iis_website module

* Added changelog fragment

(cherry picked from commit bd9a0b6700)
6 years ago
Jordan Borean 39f83ce38c win_acl no longer needs SeSecurityPrivilege (#57804) (#64757)
* win_acl no longer needs SeSecurityPrivilege
Set-ACL raises missing SeSecurityPrivilege error when the inheritance
from the parent directory is disabled.

* fixes test sanity

* registry rights can only be modified with Set-ACL

* add changelog

(cherry picked from commit 95d613f3ab)
6 years ago
Jordan Borean 59f417c469 Corrected Get-adcomputer (#63093) (#64755)
* Corrected Get-adcomputer

Corrected Get-adcomputer on "Remove-ConstructedState" and "Set-ConstructedState" functions.
resolved error: Unable to contact the server. This may be because this server does not exist, it is currently down, or it does not have the Active Directory Web Services running.

* Update lib/ansible/modules/windows/win_domain_computer.ps1

Co-Authored-By: Daniel-Sanchez-Fabregas <33929811+Daniel-Sanchez-Fabregas@users.noreply.github.com>

* Update win_domain_computer.ps1

changed
"-credential $credential" to "@extra_args" (Line 115 and 150)
corrected exception message (Line 122)

* Added changelog fragment, minor code tweak

(cherry picked from commit e77426dad3)
6 years ago
Xu Yuandong 2dbe024fcb ce_config/bug/jingdong: a bug from jingdong. (#62872) (#63978)
* update to fix "`quit` may make seesion closed."

* update to fix "`quit` may make seesion closed."

* 274:49: E272: multiple spaces before keyword

* add a changelog fragment.

* Update ce_config.py

using run_command for prompts.

* Update ce_config.py

* Update ce_config.py

typo error

* update to use get_prompt

* Update ce_config.py

* Update ce_config.py

* Update ce_config.py

* Update ce_config.py

* Update ce_config.py

* Update ce_config.py

* Update ce_config.py

(cherry picked from commit e4b6dd1862)
6 years ago
yanzhangi 20a8bf592e {Backport/2.8/64018]update ce_acl_interface to fix bugs (#64024)
* update ce_acl_interface to fix bugs

(cherry picked from commit 2849738e24)

* Module modification information
6 years ago
Jordan Borean dfa74b5c52 change $partition variable name to $ansible_partition (#63968) (#64691)
* change $partition variable name to $ansbile_partition

* Added changelog fragment

(cherry picked from commit 8b13836b1f)
6 years ago
Abhijeet Kasurde 436b2c44f6 [2.8] Remove temp directory created by wait_for_connection (#64739)
wait_for_connection creates AnsiballZ_ping.py in temp directory,
which remains on remote machine even after playbook run.

Fixes: #62407

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 68428efc39)
6 years ago
Martin Krizek 773644e35c 2.8: perf: reduce getting handler variables (#59969) (#64675)
* perf: reduce getting handler variables (#59969)

ci_complete

(cherry picked from commit 9ccef9e819)

* Add changelog

* Fix incorrectly resolved conflict

* set_available_variables
6 years ago
Felix Fontein 421612ed02 Buypass now has a ACME v2 production endpoint. (#64649) (#64681)
(cherry picked from commit 4083d02989)
6 years ago
Andrey Klychkov ec01279a9c postgresql_query: add note to the documentation (#64540) 6 years ago
Felix Fontein 595bdfa8bb [2.8] openssl_csr and openssl_certificate: fix support for Ed25519 and Ed448 private keys (#64126)
* openssl_csr and openssl_certificate: fix support for Ed25519 and Ed448 private keys (#63984)

* Move X25519, X448, Ed25519 and Ed448 feature tests to module_utils.

* Correctly sign with Ed25519 and Ed448 keys.

* Fix public key comparison. Ed25519 and Ed448 do not have public_numbers().

* Add tests.

* Add changelog.

* Give better errors for cryptography 2.6.x and 2.7.x.

* Test for new errors.

* Forgot one.

* Used wrong private key.

* Use private key password for CA key. Add more stuff to its certificate.

(cherry picked from commit fed267df03)

* Pass select_crypto_backend also to test implementation. This exists in devel but not yet in stable-2.8.
6 years ago
Harald Albers 85cb406753 Backport #59614 to stable-2.8 (#64011)
* VMware: Fix Service Content calls in vmware_deploy_ovf

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>

* add changelog
6 years ago
Bojan Vitnik 1855494378 XenServer: Update docs with recent changes in XenAPI python lib and branding (#63728) (#63816)
- xenserver module_util: XenAPI lib import error message handling is now
   ported to missing_required_lib(). Updated unit tests.
 - xenserver_guest, xenserver_guest_info, xenserver_guest_powerstate modules:
   docs are updated to reflect recent changes in availability of XenAPI lib
   on PyPI.
 - xenserver_guest, xenserver_guest_info, xenserver_guest_powerstate modules:
   docs are updated to reflect recent Citrix rebranding of XenServer. Broken
   URLs to external resources are fixed.
 - xenserver_guest, xenserver_guest_info, xenserver_guest_powerstate modules:
   more tested platforms are mentioned in docs.

(cherry picked from commit 7afba9420a)
6 years ago
Dusan Matejka 0daa435467 Backport/2.8/58525 - Use atexit to logout after zabbix module run (#63783)
* Use atexit to logout after zabbix module run (#58525)

(cherry picked from commit d582efcc51)

* added changelog fragment
6 years ago
Felix Fontein d3e13aae09 Fixes #56832: Remove warning when falling back to apt-get if aptitude is missing. (#61782) (#64651)
(cherry picked from commit a6ec6c3175)
6 years ago
Felix Fontein 4f9a301594 docker_swarm_service: Allow source to be omitted for tmpfs mounts (#64637) (#64641)
* Allow source to be omitted for tmpfs mounts.

* Add changelog.

(cherry picked from commit 574bd32db2)
6 years ago
Felix Fontein d98b9ddb3b docker_login: Use with statement for accessing files (#64382) (#64392) (#64525)
* docker_login: Use with statement for accessing files (#64382)

* Update changelogs/fragments/64382-docker_login-fix-invalid-json.yml

Co-Authored-By: Felix Fontein <felix@fontein.de>
(cherry picked from commit 52c4c1b00d)
6 years ago
Abhijeet Kasurde 050f92f960 [2.8] Callback: removing args from task_fields from Sumologic and Splunk plugin (#64273)
CVE-2019-14864 Ansible: Splunk and Sumologic callback plugins leak sensitive data in logs

Fixes #63522

Signed-off-by: Patrick O’Brien <patrick.obrien@thetradedesk.com>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit c76e074e4c)
6 years ago
Sam Doran 6749ffe824 [stable-2.8] paramiko_ssh - Improve authentication error message (#64157) (#64165)
The error is not always an invalid username/password. It could be a connection timeout or refusal.
(cherry picked from commit d5fbe6573b)

Co-authored-by: Sam Doran <sdoran@redhat.com>
6 years ago
Abhijeet Kasurde 8b5cd5b64c sysctl: fix 'err' referenced before assignment (#64139)
* sysctl: fix 'err' referenced before assignment
* Add changelog

Fixes #63967

(cherry picked from commit 9069a681aa)
6 years ago
Sam Doran 0c89a97107 [stable-2.8] copy - check for changes beyond first level of subdirectories (#58323) (#64112)
Add integration test for copy: deep recursive with remote_src=True
(cherry picked from commit b7e38dfa52)

Co-authored-by: Alexander Korsunsky <A.Korsunsky@gmail.com>
6 years ago
Robert Osowiecki ba29567210 lineinfile - don't run os.makedirs on empty dir path (#63921) (#64090)
* Fix #63919: don't run os.makedirs on empty dir path

* integration test for lineinfile create: yes without path

(cherry picked from commit 3c978a3225)
6 years ago
Felix Fontein fc62483b3e ACMEAccount.get_request check status code value lower boundary (#63140) (#64072)
* check status code value lower boundary

Any HTTP code below 200 cannot be considered a success, should be
handled like a failure instead.

This is particularly true for below zero status codes.

Fixes #63139

* provide changelog fragment

* ensure connection errors are handled in Acme module

* add fetch_url check to ACME.send_signed_request

* remove module.fail_json

* move _assert_fetch_url_success out of ACMEAccount

* fix ansible-lint errors

* use simplified syntax status checking

(cherry picked from commit 0d905a0496)
6 years ago
Sam Doran f861c284d0 [stable-2.8] lineinfile - use correct index value when inserting at the end (#63696) (#63795)
(cherry picked from commit 92cd13a2cf)

Co-authored-by: Sam Doran <sdoran@redhat.com>
6 years ago