Commit Graph

127 Commits

Author SHA1 Message Date
patchback[bot]
ee48f36269
Fix error formatting bug. (#448) (#449)
(cherry picked from commit f513ba2c59)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-08-12 14:15:36 +02:00
Felix Fontein
b556281b5f Prepare 1.10.11 release. 2022-08-11 21:51:11 +02:00
patchback[bot]
edf1953fd5
Improve API version handling. (#389) (#391)
(cherry picked from commit a44e0736cf)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-06-20 07:58:38 +02:00
Felix Fontein
0c69cf7e64 Release 1.10.10. 2022-05-24 08:20:51 +02:00
patchback[bot]
0466d43d03
docker_container: fail if there are too many parts in a parsed port (#367) (#371)
* Fail if there are too many parts in a parsed port.

* Add tests.

* Prevent bad parsing.

(cherry picked from commit 401a76ff00)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-05-22 17:42:05 +02:00
patchback[bot]
31966e90a4
Avoid breakage with Python 3.13. (#354) (#355)
(cherry picked from commit fb55b1d780)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-05-19 07:07:46 +02:00
Felix Fontein
06626520e5 Prepare 1.10.10 release. 2022-05-16 13:03:32 +02:00
Felix Fontein
ef7c700393 Release 1.10.9. 2022-05-16 12:26:44 +02:00
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
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
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
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
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
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]
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
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
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
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
Felix Fontein
fbce9e7c31 Release 1.10.1. 2021-11-13 14:13:02 +01:00
Felix Fontein
9a5b181290 Prepare 1.10.1 release. 2021-11-13 13:55:34 +01:00
Felix Fontein
260c17ad91 Release 1.10.0. 2021-10-05 07:34:37 +02:00
Felix Fontein
ce25cb907a Prepare 1.10.0 release. 2021-10-05 07:33:23 +02:00
Felix Fontein
f01dacd6cf
Looks like we forgot to add the new modules to the action_group. (#209) 2021-09-18 17:07:35 +02:00
Felix Fontein
5d861004db
docker_config and docker_secret: add data_src option (#203)
* Add data_src options to docker_config and docker_secret.

* Add examples.

* Fix test.

* Another fix.
2021-09-12 09:42:03 +02:00
Felix Fontein
a56cad3a09 Release 1.9.1. 2021-08-29 13:44:07 +02:00
Felix Fontein
50b3e8a2d4 Prepare 1.9.1 release. 2021-08-27 05:44:06 +02:00
Ajpantuso
4dfc3ae5d7
docker_compose - Fix idempotency when services have no enabled profiles (#192)
* Initial Commit

* Adding integration tests

* Fixing integration and adding changelog fragment
2021-08-20 13:33:35 +02:00
Felix Fontein
36a01c164f Release 1.9.0. 2021-08-03 22:25:13 +02:00
Felix Fontein
930f9d1bcd
Improve error message on import errors. (#188) 2021-08-02 21:04:25 +02:00
Felix Fontein
46bffd2f36 Prepare 1.9.0 release. 2021-08-02 19:33:32 +02:00
Felix Fontein
6f52747693
docker_container: fix handling of command and entrypoint in a backwards-compatible way (#186)
* Fix handling of command and entrypoint in a backwards-compatible way.

* Fix copy'n'paste error.

* Fix some more.

* Improve documentation.

* Keep command and entrypoint as lists and not as strings.

* Simplify code, since we're already emitting the deprecation warning in this case during parameter processing.

* Change default only in community.docker 3.0.0.

* Update tests/integration/targets/docker_container/tasks/tests/options.yml

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>

* Apply suggestion to more places.

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
2021-08-02 19:31:46 +02:00
Ajpantuso
03f649f43c
docker_compose - Fix startup errors for docker-compose versions <1.17.0 (#182)
* Initial Commit

* Adding changelog fragment

* Applying review suggestions
2021-07-31 11:37:02 +02:00
Felix Fontein
72fb3a5d1a
Fix check_mode for some _info modules. (#183) 2021-07-28 21:49:15 +02:00