Commit Graph

287 Commits

Author SHA1 Message Date
Felix Fontein
7a54431495
[stable-1] Add PSF-license.txt file (#352)
* Add PSF-license.txt file. (#350)

(cherry picked from commit 6adc7bddf3)

* Update with actual CPython 3.9.5 license. (#351)

(cherry picked from commit b6f9d853f9)
2022-05-16 09:15:01 +02:00
Felix Fontein
fa31797677 Prepare 1.10.9 release. 2022-05-16 07:12:29 +02:00
Felix Fontein
c4253b440d Install community.general 4.x.x which still supports Ansible 2.9. 2022-05-08 19:06:18 +02:00
Felix Fontein
df15c05a01 Next expected release is 1.10.9. 2022-04-25 21:31:22 +02:00
Felix Fontein
926a6c5cb9 Release 1.10.8. 2022-04-25 21:15:28 +02:00
Felix Fontein
e050e43ce8
[stable-1] docker connection: handle version and docker_args (#341)
* docker connection: handle version and docker_args (#327)

* handle version and docker_args

* Remove breaking change.

* Add changelog fragment.

* Fix unit tests.

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 6679eee41e)

* Fix tests.

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
2022-04-25 21:01:02 +02:00
Felix Fontein
eed1a71004 Prepare 1.10.8 release. 2022-04-25 20:43:21 +02:00
patchback[bot]
d7b5f571fc
Switch from antsibull to antsibull-docs. (#334) (#335)
(cherry picked from commit ca2e46131f)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-04-10 10:58:57 +02:00
patchback[bot]
a2bb8a2620
Remove 'warn:' that's removed in ansible-core 2.14. (#328) (#329)
(cherry picked from commit b362bdfd88)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-04-01 23:06:06 +02:00
patchback[bot]
9241ecadef
Replace antsibull-lint collection-docs with antsibull-docs lint-collection-docs. (#322) (#323)
(cherry picked from commit 6f0e1149fd)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-03-30 08:13:32 +02:00
Felix Fontein
ef18755fe7
Replace devel by stable-2.13 in stable-1 CI. (#319) 2022-03-29 06:14:16 +02:00
Felix Fontein
d0e953f1e6 Next expected release is 1.10.8. 2022-03-28 21:15:22 +02:00
Felix Fontein
ace02c09ff Release 1.10.7. 2022-03-28 20:55:45 +02:00
Felix Fontein
3c269bbc01 Prepare 1.10.7 release. 2022-03-27 21:48:58 +02:00
patchback[bot]
f36b6ee7fd
Update docker module documentation for log_options (#317) (#318)
* Update docker module documentation for log_options

Add that log_driver must be specified for log_options to take effect

* Update plugins/modules/docker_container.py

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 69399d736d)

Co-authored-by: addisonshelley <102306748+addisonshelley@users.noreply.github.com>
2022-03-27 16:08:29 +02:00
Felix Fontein
6a8ba02b5b
[stable-1] docker_api connection plugin: adjust to ansible-core 2.13 (#315)
* Adjust docker_api plugin to ansible-core 2.13. (#308)

(cherry picked from commit b353a39ada)

* Remove 2.2.0 additions, adjust changelog URL.
2022-03-24 06:32:21 +01:00
Felix Fontein
30c00d4741
[stable-1] docker connection plugin: fix config docs and update to use config system (#313)
* docker connection plugin: fix config docs and update to use config system (#297)

* fix config docs and update to use config system

 wean off play_context which did not have the correct data in all cases

* moar fixes

* Update plugins/connection/docker.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* updated for backwards compat

* badmergeresolution

* makeitworks

* attempt to fix unit test

* mocking it# No more than 50 chars. #### 50 chars is here: #

* Update plugins/connection/docker.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/connection/docker.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/connection/docker.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/connection/docker.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/connection/docker.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/connection/docker.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* nomock

* remove bad paste

* properly load connection to initialize config

* initizlie docker args

* Fix bugs.

* Call _set_conn_data() when needed.

* Cache result of _get_docker_remote_user() now that it is called multiple times per task.

* Fix unit tests.

* list.clear() is Python 3...

* Add changelog.

* Call _set_conn_data() also in _connect().

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 37a3264042)

* Remove 2.2.0 additions.

* Remove unnecessary fragment, adjust URL.

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
2022-03-24 06:32:06 +01:00
Felix Fontein
e9d9924b7a Next expected release is 1.10.7. 2022-03-14 22:04:25 +01:00
Felix Fontein
f6265ee450 Release 1.10.6. 2022-03-14 21:38:47 +01:00
Felix Fontein
9653e4cb68 Prepare 1.10.6 release. 2022-03-14 21:16:01 +01:00
patchback[bot]
d6121fce86
Fix warning/error extraction. (#305) (#306)
(cherry picked from commit ba5e6f89f3)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-03-14 21:13:28 +01:00
Felix Fontein
fbecb247c8 Next expected release is 1.10.6. 2022-02-21 22:14:29 +01:00
Felix Fontein
3b81f59794 Release 1.10.5. 2022-02-21 21:47:54 +01:00
Felix Fontein
7d6e99ccb6 Prepare 1.10.5 release. 2022-02-19 23:29:56 +01:00
patchback[bot]
d7a6ba7fc3
Don't mask return value. (#299) (#300)
(cherry picked from commit 078afc9769)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-02-14 21:10:08 +01:00
patchback[bot]
febdace4ee
Try to make more compatible with podman-docker. (#292) (#298)
(cherry picked from commit 9cd46a7d41)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-02-12 08:29:16 +01:00
patchback[bot]
6d99d16a85
Try to fix CentOS 8 in CI - at least a bit. (#287) (#288)
(cherry picked from commit 946f1a7322)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-01-31 21:54:28 +01:00
patchback[bot]
fd81f1d008
More small docs fixes. (#281) (#282)
(cherry picked from commit fbbc0898ed)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-01-10 08:27:12 +01:00
patchback[bot]
f4d3188199
Improve documentation (#278) (#279)
* Improve documentation.

* More fixes.

(cherry picked from commit 3d20ba1bc2)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-01-09 15:12:51 +01:00
patchback[bot]
a0134c5486
Restrict PyNaCL to 1.4.x on RHEL8 when using Python 3.6 (#275) (#276)
* Restrict PyNaCL to 1.4.x on RHEL8 when using Python 3.6.

* Fix typo.

(cherry picked from commit f94ba4cef3)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-01-08 14:19:21 +00:00
patchback[bot]
3465a8371f
Fix comment. (#272) (#273)
(cherry picked from commit d4b7ec0a9a)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-01-06 15:10:43 +01:00
Felix Fontein
3a624ea045 Next expected release is 1.10.5. 2022-01-05 22:48:47 +01:00
Felix Fontein
661abb9855 Release 1.10.4. 2022-01-05 22:33:19 +01:00
patchback[bot]
6e907dbde5
Fix unintended breaking change by vendoring distutils.version. (#269) (#270)
(cherry picked from commit 264f5238c7)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-01-05 22:04:43 +01:00
Felix Fontein
42fd34ef6e Prepare 1.10.4 release. 2022-01-05 21:17:55 +01:00
patchback[bot]
8ac6ad52a1
Added cap_add to the documentation for capabilities for easier search (#265) (#268)
* added cap_add to the documentation for capabilities for easier search comming from docker

* added equivalent syntax for docker cli and compose to capabilities docs

* added equivalent syntax for docker cli and compose to capabilities docs

(cherry picked from commit 15ab747d86)

Co-authored-by: Richard James Acton <richardjacton@pm.me>
2022-01-05 13:35:27 +01:00
Felix Fontein
aff4757076 Next expected release is 1.10.4. 2022-01-04 06:41:08 +01:00
Felix Fontein
36c846d206 Release 1.10.3. 2022-01-04 06:30:23 +01:00
Felix Fontein
6f66a4514a Prepare 1.10.3 release. 2022-01-04 06:16:11 +01:00
patchback[bot]
b57a73e2bf
Prepare for distutils.version being removed in Python 3.12 (#258) (#260)
* Prepare for distutils.version being removed in Python 2.12.

* Fix copy'n'paste error.

* Fix import.

* Re-add Loose prefix.

* Fix Python version typo.

* Improve formulation.

* Move message into own line.

* Fix casing, now that the object is no longer called Version.

(cherry picked from commit 4b235a2607)

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-12-24 12:15:43 +01:00
patchback[bot]
16934ef269
Get rid of distutils.spawn. (#257) (#259)
(cherry picked from commit 93ea131f30)

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-12-24 11:37:00 +01:00
patchback[bot]
6dba5abdbc
Set minimal Docker API version for chdir to 1.35. (#253) (#256)
(cherry picked from commit 5a23c4d336)

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-12-22 17:32:42 +01:00
Felix Fontein
302d394083 Next expected release is 1.10.3. 2021-12-09 07:37:30 +01:00
Felix Fontein
75a551b335 Release 1.10.2. 2021-12-09 06:03:26 +01:00
patchback[bot]
9e3c50a2b9
Minor fixes to nsenter connection plugin (#249) (#251)
* Minor fixes to nsenter connection plugin

- Ensure the nsoption_pid option is retrieved in _connect instead of
  __init__ to prevent a crasher due to initialization order
- Replace the use of --all-namespaces with specific namespaces to
  support compatibility with Busybox nsenter (for example, Alpine)

* minor tidy

* Fix PEP8 violation

* Changelog fragment

* Update changelogs/fragments/249-nsenter-fixes.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Jeff Goldschrafe <jeff.goldschrafe@flatiron.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit d224752cf1)

Co-authored-by: Jeff Goldschrafe <jgoldschrafe@users.noreply.github.com>
2021-12-09 06:01:43 +01:00
Felix Fontein
6855f91280 Prepare 1.10.2 release. 2021-12-08 20:23:33 +01:00
patchback[bot]
9f36cf139c
docker_container_exec: improve handling of chdir option (#243) (#247)
* Only pass chdir on when it is provided, and prevent this option from being used for Docker SDK for Python < 3.0.0.

* Also fix docker_api connection plugin.

(cherry picked from commit bed775c4ea)

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-11-30 12:20:47 +01:00
patchback[bot]
d23ef4ac31
Fix collection dependency installation in CI. (#239) (#240)
(cherry picked from commit abd057f447)

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-11-19 06:59:35 +01:00
patchback[bot]
8f3284561d
Replace RHEL 8.4 by RHEL 8.5 for devel. (#237) (#238)
(cherry picked from commit 31fae211fe)

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-11-17 07:51:39 +01:00
Felix Fontein
2ce27efcf2 Next expected release is 1.10.2. 2021-11-13 15:03:41 +01:00