Felix Fontein
93b351f607
Release 2.7.7.
2023-11-12 12:04:32 +01:00
patchback[bot]
35de5b3c37
fix(community.docker.docker_volume): labels can be none ( #702 ) ( #704 )
...
* fix(community.docker.docker_volume): labels can be none
catch case where volume labels can are done (default) eg:
$ docker volume inspect foo
[
{
"CreatedAt": "2023-11-11T12:55:23+01:00",
"Driver": "local",
"Labels": null,
"Mountpoint": "/var/lib/docker/volumes/foo/_data",
"Name": "foo",
"Options": {},
"Scope": "local"
}
]
* Update plugins/modules/docker_volume.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* add(community.docker.docker_volume): changelog fragment
* Update changelogs/fragments/702-docker-volume-label-none.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 4c220c4d74 )
Co-authored-by: Alexander Jähnel <alexanderjaehnel@gmail.com>
2023-11-12 12:03:29 +01:00
Felix Fontein
df37b4142f
Stick to pre-semantic-markup version.
2023-11-12 11:25:55 +01:00
Felix Fontein
5f413ac778
Do not pass data_path_addr for older Docker SDK for Python versions. ( #696 ) ( #697 )
...
(cherry picked from commit fbc2750b6a )
2023-10-14 22:10:49 +00:00
patchback[bot]
8db15e72e8
Fix Galaxy URLs. ( #688 ) ( #689 )
...
(cherry picked from commit e7133f8b1b )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-09-30 21:27:16 +00:00
Felix Fontein
d5dbb437c9
[stable-2] Move ansible-core 2.13 to EOL CI ( #687 )
...
* Move ansible-core 2.13 to EOL CI.
* Replace CentOS 7 by Alpine 3.
2023-09-19 19:32:37 +02:00
patchback[bot]
a9c1d1ce1a
Fix example of docker-compose module ( #674 ) ( #675 )
...
(cherry picked from commit e21d6d380c )
Co-authored-by: bastantoine <bastien.antoine69+github@gmail.com>
2023-07-25 10:23:36 +02:00
Felix Fontein
5c7f9fe33d
[stable-2] devel EE: force PyYAML==5.3.1 ( #671 )
...
* Force PyYAML==5.3.1 in EE requirements.
* Let's try <= instead of ==.
* Revert "Let's try <= instead of ==."
This reverts commit 31ab7521b4 .
* Revert "Force PyYAML==5.3.1 in EE requirements."
This reverts commit 42b770588c .
* Try to pin PyYAML for devel EE.
2023-07-19 22:21:19 +02:00
patchback[bot]
dd9aeac0bd
Force PyYAML to 5.3.1. ( #669 ) ( #670 )
...
(cherry picked from commit 017536953a )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-07-19 16:50:45 +02:00
patchback[bot]
7f385fa268
Install and use Python 3.11 on RHEL UBI 9. ( #666 ) ( #667 )
...
(cherry picked from commit 1d0b6ddef3 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-07-12 22:23:37 +02:00
patchback[bot]
437bface93
Disable EE with ansible-core devel for now until UBI 9 has Python 3.10 support. ( #664 ) ( #665 )
...
(cherry picked from commit 3f6d5a96d9 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-07-12 13:31:50 +02:00
patchback[bot]
119f379ef7
Bump AZP container. ( #655 ) ( #656 )
...
(cherry picked from commit 8da385f39f )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-06-24 12:14:44 +02:00
Felix Fontein
84fc4ca30b
SuSE: install docker-compose v1 from pip instead of system packages. ( #650 ) ( #651 )
...
The system package switched to docker-compose v2.
(cherry picked from commit 3f9f41e5a9 )
2023-06-20 08:26:54 +02:00
Felix Fontein
2433c9e427
Next expected release is 2.7.7.
2023-06-15 13:24:04 +02:00
Felix Fontein
8d9bf780e2
Release 2.7.6.
2023-06-15 13:13:49 +02:00
patchback[bot]
2dad1d46ae
Update docker_container_exec.py documentation ( #642 ) ( #643 )
...
Should be or not and
(cherry picked from commit 861988fd36 )
Co-authored-by: Kendi <37668739+K3ndu@users.noreply.github.com>
2023-06-01 13:18:32 +02:00
Felix Fontein
9edb47ce32
Move ansible-core 2.12 to EOL CI ( #640 ) ( #641 )
...
* https://github.com/ansible/ansible/pull/79734 has been merged and backported for all branches but stable-2.10 and stable-2.11.
* Move ansible-core 2.12 to EOL CI.
(cherry picked from commit cad2ecca3d )
2023-05-29 17:55:04 +02:00
patchback[bot]
c31fb79755
Fix EndpointSpec KeyError. ( #637 ) ( #638 )
...
(cherry picked from commit 748d619fb2 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-05-26 21:20:18 +02:00
Felix Fontein
c68d90de76
Switch to Ansible Galaxy compatible requirements files for tests. ( #633 ) ( #634 )
...
(cherry picked from commit 74b70f81c8 )
2023-05-21 14:55:16 +02:00
patchback[bot]
af93bd1ba5
Rewrite EE test workflow to use ansible-builder 3.0.0. ( #630 ) ( #632 )
...
(cherry picked from commit 2259246f4f )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-05-20 11:33:30 +02:00
patchback[bot]
38a40db26a
Improve examples: use FQCNs and always add name: to tasks ( #624 ) ( #627 )
...
* Improve examples: use FQCNs and always add name: to tasks.
* Improvements.
Co-authored-by: Don Naro <dnaro@redhat.com>
---------
Co-authored-by: Don Naro <dnaro@redhat.com>
(cherry picked from commit 7bdb2127e0 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-05-15 22:20:04 +02:00
patchback[bot]
8eecb6b6a8
Improve time units of docker_swarm documentation. ( #623 ) ( #625 )
...
(cherry picked from commit 6187068ee5 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-05-13 15:36:01 +00:00
Felix Fontein
6292483e98
Arch Linux now uses Python 3.11. ( #618 )
2023-05-04 08:13:04 +02:00
Felix Fontein
4aa9c55dd6
Until Docker SDK for Python is fixed, add constraints on urllib3 and requests.
2023-05-04 07:24:16 +02:00
patchback[bot]
ae0d53811a
Do extra docs validation; explicitly disallow semantic markup in docs ( #607 ) ( #608 )
...
* Do extra docs validation. Explicitly disallow semantic markup in docs.
* Forgot to add new requirement.
* Improve test.
* TEMP - make CI fail.
* Revert "TEMP - make CI fail."
This reverts commit d381f1a431 .
* Remove unnecessary import.
* Make sure ANSIBLE_COLLECTIONS_PATH is set.
* Make sure sanity tests from older Ansible versions don't complain.
(cherry picked from commit 9e1a0a6fb8 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-04-16 19:04:45 +02:00
patchback[bot]
93f3bd62d0
docker_swarm: document docker_node module for manager removal ( #602 ) ( #604 )
...
* docker_swarm: document manager removal
Add note that community.docker.swarm_node needs to
be used to demote a manager before it can be removed.
Fixes #601 .
* docker_swarm: improve wording
* docker_swarm: fix formatting
(cherry picked from commit 634da44f67 )
Co-authored-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2023-04-08 19:42:24 +02:00
patchback[bot]
88fb666d41
More true/false normalization. ( #597 ) ( #598 )
...
(cherry picked from commit d0a3e587a5 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-03-06 22:36:33 +01:00
Felix Fontein
da7ef0e8cc
Next expected release is 2.7.6.
2023-02-25 15:56:04 +01:00
Felix Fontein
08810a66a9
Relesae 2.7.5.
2023-02-25 15:36:56 +01:00
Felix Fontein
a5d00c6f98
Prepare 2.7.5 release.
2023-02-24 21:35:50 +01:00
Felix Fontein
94227e2575
docker_prune: correctly return 'changed' result ( #593 ) ( #594 )
...
* Correctly return 'changed' status.
* Extend tests.
* Fix typo.
(cherry picked from commit 08bfcf7e5f )
2023-02-24 21:24:39 +01:00
Felix Fontein
57e6bb7ca5
Cancel concurrent workflow runs in PRs.
...
(cherry picked from commit d0e61097f1 )
2023-02-23 09:56:41 +01:00
Felix Fontein
d50d6e05ca
[stable-2] Ignore more unnecessary import warnings ( #587 )
...
* Fix imports. (#585 )
(cherry picked from commit a426232523 )
* Add another ignore.
2023-02-12 22:32:02 +01:00
Felix Fontein
8e99d0c4da
Remove unnecessary test imports. ( #583 ) ( #584 )
...
(cherry picked from commit 449b91d489 )
2023-02-12 21:29:50 +01:00
Felix Fontein
808063ddcd
[stable-2] Remove unneccessary imports ( #579 )
...
* Remove unneccessary imports (#575 )
* Remove unneccessary imports.
* Add noqas.
(cherry picked from commit 54a3dc151d )
* Remove additional unnecessary import.
2023-02-09 16:09:00 +01:00
Felix Fontein
1f07bda43a
Restrict regular CI runs on old branches to stable-2.
...
(cherry picked from commit eb186f0098 )
2023-02-06 09:28:27 +01:00
Felix Fontein
ec4c17efef
CI: Make tests work with Docker API version 1.42 ( #576 ) ( #577 )
...
* Make tests work with API version 1.42.
* Make sure anonymous volume is separated from container a bit earlier.
* Another try.
(cherry picked from commit 3a1bfc4be2 )
2023-02-04 22:31:15 +01:00
Felix Fontein
e418fe59d8
Looks like BuilderSize was never documented and eventually got removed. Replace with something that is documented ( https://docs.docker.com/engine/api/v1.42/#tag/System/operation/SystemDataUsage ). ( #569 ) ( #571 )
...
(cherry picked from commit d57b26269a )
2023-02-03 12:48:26 +01:00
patchback[bot]
41b1337d8e
[PR #563/c0d9ca67 backport][stable-2] Fix CI ( #565 )
...
* Restrict to old enough paramiko on RHEL 8 or other systems using Python 3.6. (#563 )
(cherry picked from commit c0d9ca67c4 )
* Make sure paramiko is installed on localhost as well.
* Revert "Make sure paramiko is installed on localhost as well."
This reverts commit f36406c2db .
* Fix check.
* ...
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-01-22 19:06:56 +01:00
patchback[bot]
7485ec0f8b
docs: Fix json path in asserts ( #560 ) ( #562 )
...
##### SUMMARY
The current path to the running state does not include `output.services.` which it should.
##### ISSUE TYPE
- Docs Pull Request
+label: docsite_pr
(cherry picked from commit c24ea78f6e )
Co-authored-by: David Jack Wange Olrik <david@olrik.dk>
2023-01-20 13:29:44 +01:00
Felix Fontein
42bd987d87
Next expected release is 2.7.5.
2023-01-14 11:42:49 +01:00
Felix Fontein
8cb5b6d1bb
Release 2.7.4.
2023-01-14 11:18:28 +01:00
Felix Fontein
5ffba04ef0
Don't uninstall docker.
2023-01-14 11:16:57 +01:00
Felix Fontein
d911760709
Use stable-2.x branches from my work to get the patch from https://github.com/ansible/ansible/pull/79734 .
...
(cherry picked from commit 01429108d3 )
2023-01-13 21:08:34 +01:00
Felix Fontein
e7aa5dcdec
CI: improve Docker setup ( #550 )
...
* Cache has already been updated a few lines before.
* When skipping Docker cleanup, create flag to avoid the expensive part of the setup (including package manager cache update) to be run again.
(cherry picked from commit 134d32cae6 )
2023-01-13 21:05:54 +01:00
Felix Fontein
40bef226c0
Improve envvar fallback handling. ( #554 ) ( #555 )
...
(cherry picked from commit 4e6ac335f3 )
2023-01-13 21:04:00 +01:00
Felix Fontein
ca89e93302
Bump action.
2023-01-13 21:01:32 +01:00
Felix Fontein
0ffa3cc1d2
docker_plugin: do not crash when plugin doesn't exist ( #553 ) ( #556 )
...
* Do not crash when plugin doesn't exist.
* Improve style.
Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
(cherry picked from commit c7cbec0163 )
2023-01-13 21:00:34 +01:00
Felix Fontein
f5c19b1a87
Prepare 2.7.4 release.
2023-01-13 06:44:59 +01:00
patchback[bot]
4928828d22
Fix error handling. ( #546 ) ( #548 )
...
(cherry picked from commit 18091193de )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-01-05 21:15:21 +01:00