Commit Graph

48140 Commits (7e8ecb2e581bc3f980310e80bbcf0fa0a6aa8b07)
 

Author SHA1 Message Date
Jordan Borean 7e8ecb2e58
psrp - fix hang when copying an empty file (#71649) (#71650)
(cherry picked from commit b615789fcc)
5 years ago
Rick Elrod 9d54f13ec1 Prevent templating unused variables for {%include%} (#68749)
Fixes #68699

(cherry picked from commit ff1ba39c8a)
5 years ago
Martin Krizek a63baa3290
Provide more information in AnsibleUndefinedVariable (#71666) (#71877)
Fixes #55152

(cherry picked from commit 00b22ab55e)
5 years ago
Martin Nečas 3072e43909
Backport: ovirt_disk fix upload when direct upload fails (#71802)
ovirt_disk: fix upload when direct upload fails
5 years ago
Felix Fontein f35fed441e
interfaces_file: re.escape() old value
Backport of eb24b5707ee48c3186f771e3d5b1f04c9fba339f from community.general (https://github.com/ansible-collections/community.general/pull/873). (#71766)
5 years ago
Jordan Borean 5066ca696a
runas - create new SYSTEM token on become (#71714) (#71750)
(cherry picked from commit fc08c1f3c5)
5 years ago
Andrew Klychkov 512f658335
postgresql_user: fix false positive warning for no_password_changes option (#71715) 5 years ago
Rick Elrod c117af0df5 [tests] disable hcloud for now
Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Rick Elrod a2548ccb6c [tests] Make setup_docker clean up better
Change:
- pip packages should get removed after, not try to add them again
- Try removing containerd.io package too
- Backport of #71949

Test Plan:
- CI
- ci_complete

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Sandra McCann 34ec492da1
remove github link from plugins (#70951) (#71894)
(cherry picked from commit e28b20d729)
5 years ago
Rick Elrod ace7f247f2 [docker_login] Fix changed status for newer docker
Change:
- Newer docker versions report the same message whether or not a logout
  actually happened.
- Determine change status from looking at the config instead if we can.
- This also allows us to restore check_mode in logout and re-enable that
  test.

Test Plan:
- CI, re-enabled tests

Tickets:
- Refs 6248f2fb6f

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Rick Elrod 39fae9320c [incidental_setup_docker] changes to upstream repo (#71897)
Change:
- The docker-ce.repo file for centos does not work on RHEL since it uses
  $releasever and on RHEL that is, e.g., "7Server".
- Instead, set up the repo manually.
- Additionally, the docker centos8 repo no longer has old versions, so
  we use the (only) version in the repo instead.

Test Plan:
- CI

Signed-off-by: Rick Elrod <rick@elrod.me>
(cherry picked from commit 31ddca4c0d)
5 years ago
Sandra McCann 8b088b46dd
update version switcher for 2.10 release (#71867)
(cherry picked from commit bf4e102d97)
5 years ago
Matt Clay 61d383ef23 [stable-2.9] Fix attribute testing in file integration test. (#71843)
The file test will no longer attempt to test attributes if `lsattr -vd` does not work on the system under test.
(cherry picked from commit 17765cd4e8)

Co-authored-by: Matt Clay <mclay@redhat.com>
5 years ago
Felix Fontein ef5f2c35ee
[2.9] Redirect inventory script links (#71732) 5 years ago
Sam Doran 582cf06501
[stable-2.9] openssl_privatekey test - Add pause for macOS (#71819)
The stat time granularity on macOS is one second. We recently upgrade
to faster macOS hosts, so some tests that run closely together to
see if something changed will have the same timestamp intermittently.
5 years ago
Sam Doran 3e26c56edd
[stable-2.9] incidental_setup_openssl - Pin version of Python packages (#71777)
A recent update to cffi that was yanked is still being installed on our
Mac OS X 10.11 test image since the version of pip there is very old and
does not ignore yanked packages.

Pin the version of pyOpenSSL and its dependencies to fix this and avoid
future spontaneous failures.
(cherry picked from commit 65cdb86c8a)

Co-authored-by: Sam Doran <sdoran@redhat.com>
5 years ago
Timothy Visser ca6b9c4649
Backport documentation correction (#71632)
* Remove "mode: preserve" option from documentation #71486

(cherry picked from commit 7127d37466)
5 years ago
Matt Clay 417e408f59
[stable-2.9] Backport ansible-test CI provider support. (#71614)
* Add encoding.py from devel to support backports.

* Add io.py from devel to support backports.

* Update ansible-test support for CI providers. (#69522)

Refactored CI provider code to simplify multiple provider support and addition of new providers.

(cherry picked from commit d8e0aadc0d)

* Add Shippable request signing to ansible-test. (#69526)

(cherry picked from commit e7c2eb519b)

* ansible-test local change detection: use --base-branch if specified (#69508)

(cherry picked from commit 43acd61901)

* Add Azure Pipelines support to ansible-test.

(cherry picked from commit 8ffaed00f8)

* Update ansible-test remote endpoint handling. (#71413)

* Request ansible-core-ci resources by provider.
* Remove obsolete us-east-2 CI endpoint.
* Add new --remote-endpoint option.
* Add warning for --remote-aws-region option.
* Update service endpoints.
* Allow non-standard remote stages.
* Add changelog fragment.

(cherry picked from commit d099591964)

* Fix ansible-test coverage traceback. (#71446)

* Add integration test for ansible-test coverage.

* Fix ansible-test coverage traceback.

* Fix coverage reporting on Python 2.6.

(cherry picked from commit f5b6df14ab)

* Use new endpoint for Parallels based instances.

(cherry picked from commit 98febab975)

* Add pause to avoid same mtime in test.

(cherry picked from commit 3d769f3a76)

Co-authored-by: Felix Fontein <felix@fontein.de>
5 years ago
Rick Elrod 4685fe5faa
[docs] Fix up porting guides for CVE revert [2.9] (#71582)
Change:
- Fix up wording and do proper backports for porting guide entries.
- Remove original, non-backported version

Signed-off-by: Rick Elrod <rick@elrod.me>
(cherry picked from commit ed48a2dd62)
5 years ago
Rick Elrod 370ad5c7c6 Update Ansible release version to v2.9.13.post0. 5 years ago
Rick Elrod acf1a7ba40 New release v2.9.13 5 years ago
Rick Elrod 15a77b4575
[tests] fix fallout from dnf gpg fix (#71551)
Change:
- Missed needed gpg ignores

Test Plan:
- CI
- ci_complete

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Rick Elrod 7eec8e4d26
Re-add changelogs and add docs for CVE-2020-1736 reverts [2.9] (#71515)
Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Sam Doran dfaadf6f33
Fix inventory_kubevirt_conformance test (#71546) 5 years ago
Rick Elrod 1d043e082b
[dnf] ensure packages are gpg-verified (#71540)
Change:
- By default the dnf API does not gpg-verify packages. This is a feature
  that is executed in its CLI code. It never made it into Ansible's
  usage of the API, so packages were previously not verified.
- This fixes CVE-2020-14365.

Test Plan:
- New integration tests

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Jordan Borean 8e3b754710
powershell - fix nested CLIXML parser (#71412) - 2.9 (#71450)
* powershell - fix nested CLIXML parser (#71412)

(cherry picked from commit 8897d7e2ff)

* Remove test that shouldn't have been backported
5 years ago
Jordan Borean ed57b0c565
psrp - use native copy mechanism - 2.9 (#71433)
* psrp - use native copy mechanism (#71409)

* psrp - use native copy mechanism

* Fix sanity issues

* Split the bugfix and deprecation into separate changelog fragments

(cherry picked from commit 985ba187b2)

* Remove deprecations for backport
5 years ago
Jordan Borean fe72da80a4
powershell - fix quoting values (#71411) (#71448)
* powershell - fix quoting values

* Add ignore for smart quote skip

(cherry picked from commit 72a7cb4a2c)
5 years ago
Ganesh Nalawade 084535470b
Fix netconf validate capability check (#71195) (#71221)
*  Use ``:validate`` string to check if the netconf
   server supports validate capability as per netconf RFC

(cherry picked from commit 7635d23cee)
5 years ago
GomathiselviS cb79d9c80d
Update network integration auth timeout (#71057) (#71239)
* Update network integration auth timeout

* added changelog

Co-authored-by: Ganesh Nalawade <ganesh634@gmail.com>
5 years ago
David Shrewsbury f563365f8e
Fix play stats when rescue block is a child block (#70922) (#71335)
* check run state of current block only

* Add changelog and test

* Add test for issue 29047

(cherry picked from commit f2f6c34632)
5 years ago
Rhys b6c7598a20
[2.9] Fix issue with MongoDB 4.0.20 (#71393)
Co-authored-by: Matt Davis <nitzmahone@users.noreply.github.com>
5 years ago
Dusan Matejka aa698ba9b6
Zabbix: Handle KeyError in zabbix_host module (#65392) (#71288)
Fixes: #65304
(cherry picked from commit 7b2cfdacd0)

Co-authored-by: sky-joker <sky.jokerxx@gmail.com>
5 years ago
Dusan Matejka 36fbd2d9fd
zabbix_proxy fix support for Zabbix 5.0 (#71290) 5 years ago
Joe Nichols f42bd0ecdd
[2.9] update example in known_hosts.py (#71418)
This addresses the issue reported in #71417
5 years ago
Ganesh Nalawade 67fab726b9
Fix commit timeout failure issue for netconf modules (#71291)
Fixes https://github.com/ansible-collections/cisco.iosxr/issues/74

*  ncclient API expects commit timeout value in either unicode
   or bytes format, hence convert the timeout value explicitly
   to string type.
5 years ago
Matt Martz 35d3ed5f10
[stable-2.9] Allow the TOML inventory to dump unsafe. Fixes #71307 (#71309) (#71318)
(cherry picked from commit 9da8801)

Co-authored-by: Matt Martz <matt@sivel.net>
5 years ago
Matt Martz 48d99c0ff1
[stable-2.9] epoch can be a float with strftime filter. Fixes #71257 (#71314). (#71320)
(cherry picked from commit 6289570234)

Co-authored-by: Matt Martz <matt@sivel.net>
5 years ago
Lorenzo Castelli 4a5aac0ac1
systemd - supports new systemctl output message for chroot (#71197) (#71329)
The message generated by systemctl has been updated in 9321e23c40, which requires a corresponding change in the systemd module.

In addition, this fixes the module when the SYSTEMD_OFFLINE environment variable is set.

(cherry picked from commit a1a50bb3cd)
5 years ago
Sandra McCann 8b269dbcce
point all older release pages to devel (#71428) (#71470)
(cherry picked from commit 3be597419d)
5 years ago
Mark Chappell d2d1b44d5c
Partial backport of 60552 to fix ansible-collections/community.aws/198 (#71416) 5 years ago
Sloane Hertel d181bb0c8a
Fix meta tasks used with --flush-cache (#71311) (#71359)
* Remove incorrect code

(cherry picked from commit 88bfc7977d)
5 years ago
Jordan Borean 553f28be01
setup - Add defensive null check in case bios date is null (#71452) 5 years ago
Martin Krizek 15f3426971
_check_failed_state: always use the current/nested state (#71347) (#71456)
Fixes #71306

(cherry picked from commit 9792d631b1)
5 years ago
Rick Elrod 6b4977e3f4
Backport cron module regression fix (#71244)
Change:
- Backport of #71207

Test Plan:
- CI

Tickets:
- Fixes #71213
- Fixes #71217
- Fixes #71216
- Fixes #71226
- Refs #71207

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Sandra McCann c87d3d6291
point all older release pages to devel (#71428) (#71430)
(cherry picked from commit 3be597419d)
5 years ago
Rick Elrod 7d61e47a0e
[stable-2.9] tests: Use `hg serve` instead of bitbucket for hg (#71398)
* tests: Use `hg serve` instead of bitbucket for hg

Change:
- Uses `hg serve` instead of a bitbucket repo for hg tests
- bitbucket no longer serves hg

Test Plan:
- CI, fixed integration tests

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Rick Elrod 7779137b71
[stable-2.9] disable mongodb_* tests, fix setup_mongodb (#71388)
* Disable mongodb_replicaset tests for now

Change:
- 4.0.20 breaks tests, disable for now

Test Plan:
- CI

Tickets:
- https://github.com/ansible-collections/community.mongodb/issues/136

Signed-off-by: Rick Elrod <rick@elrod.me>

* setup_mongodb: Nix RH package installation/removal

Change:
- Our RHEL and CentOS images make these unnecessary and they were
  broken.

Test Plan:
- CI

Signed-off-by: Rick Elrod <rick@elrod.me>

* Disable mongodb_shard tests for now

Change:
- 4.0.20 breaks tests, disable for now

Test Plan:
- CI

Tickets:
- https://github.com/ansible-collections/community.mongodb/issues/136

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Sandra McCann ca0f9b9e0f
Add Fest banner (#71360) (#71362)
Adds Fest banner, with fixes; updates existing banners, adds links.

(cherry picked from commit 9be8d723da)
5 years ago