Commit Graph

464 Commits

Author SHA1 Message Date
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
Felix Fontein
3edb7925b2
Move tests with EOL versions of Ansible from AZP to GHA. (#536) 2022-12-19 21:50:19 +01:00
patchback[bot]
c4953e03b6
Fix the collection name (#532) (#534)
(cherry picked from commit cc9191f8cb)

Co-authored-by: Mark Mercado <mamercad@gmail.com>
2022-12-14 08:14:41 +01:00
patchback[bot]
971216ae5f
Bump CentOS Stream 8 Python from 3.8 to 3.9. (#529) (#530)
(cherry picked from commit 970b95e3fa)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-12-09 15:34:07 +01:00
Felix Fontein
6495bebe73 Next expected release is 2.7.4. 2022-12-06 13:42:03 +01:00
Felix Fontein
f776b689d8 Release 2.7.3. 2022-12-06 13:21:04 +01:00
Felix Fontein
8811d9be10
Improve container detection. (#522) (#523)
(cherry picked from commit e87b327764)
2022-12-06 08:39:15 +01:00
Felix Fontein
32838bfc85 Prepare 2.7.3 release. 2022-12-06 08:15:18 +01:00
Felix Fontein
0bf368fab9 Next release will be 2.7.3. 2022-12-03 21:35:18 +01:00
Felix Fontein
cb58b91d8d Release 2.7.2. 2022-12-03 21:14:41 +01:00
patchback[bot]
098a77fe4c
Handle ansible_default_ipv4 not there in tests. (#514) (#515)
(cherry picked from commit 6e04e1f172)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-12-01 00:11:38 +01:00
Felix Fontein
f718cfccd7 Prepare 2.7.2 release. 2022-12-01 00:03:22 +01:00
Felix Fontein
3da9aa3b9c
[stable-2] Make current_container_facts work with newer Docker versions and latest ansible-test container changes (#512)
* Make current_container_facts work with newer Docker versions and latest ansible-test container changes (#510)

* Add more debug output.

* Add basic integration test.

* Split into lines.

* Fix docker detection, add podman detection.

ci_complete

* Improve regular expression.

* Document that this module is trying its best, but might not be perfect.

* Update comment.

(cherry picked from commit c2d84efccb)

* Remove new feature (podman support).
2022-11-30 23:01:30 +01:00
patchback[bot]
bb7f89974a
Add docstring to ImageManager.__init__ and fix docstring for ImageManager.archive_image (#509) (#511)
(cherry picked from commit ee9ddb954f)

Co-authored-by: iamjpotts <8704475+iamjpotts@users.noreply.github.com>
2022-11-30 22:14:34 +01:00
patchback[bot]
6512400b44
Fix non-matching defaults. (#494) (#496)
(cherry picked from commit 1ac3a99e7c)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-11-01 19:20:32 +01:00
patchback[bot]
8db6513298
added documentation to indicate docker_swarm_service does not currently support operating on stack based services. (#491) (#493)
(cherry picked from commit df864221d6)

Co-authored-by: James A. Robinson <jim.robinson@gmail.com>
2022-10-26 13:13:25 +02:00
Felix Fontein
528554fe01
Replace devel with stable-2.14 in CI (#479) 2022-09-21 08:17:03 +02:00
patchback[bot]
29050ffbb8
Improve docker_compose example (#470) (#474)
* Improve compose docs.

* Also adjust inline v1 example.

(cherry picked from commit 3b41e7d6a8)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-09-08 06:49:21 +02:00
patchback[bot]
f901eeb57e
Clarify that BuildKit / buildx cannot be used with docker_image. (#468) (#472)
(cherry picked from commit 9458bc6e62)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-09-08 06:38:24 +02:00
patchback[bot]
89deaf4189
Fix two more booleans. (#464) (#465)
(cherry picked from commit 1e24120014)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-08-24 06:53:31 +02:00
patchback[bot]
ce620cb0ff
Move Fedora 35 from devel to stable-2.13 CI runs. (#458) (#461)
(cherry picked from commit 9b8c10b8cf)

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-08-16 22:12:06 +02:00