Commit Graph

946 Commits

Author SHA1 Message Date
Felix Fontein
bed775c4ea
docker_container_exec: improve handling of chdir option (#243)
* 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.
2021-11-30 09:14:34 +01:00
Felix Fontein
abd057f447
Fix collection dependency installation in CI. (#239) 2021-11-18 21:14:54 +01:00
Felix Fontein
31fae211fe
Replace RHEL 8.4 by RHEL 8.5 for devel. (#237) 2021-11-17 07:17:26 +01:00
Felix Fontein
0987b8a328 The next expected release is 2.1.0. 2021-11-13 15:45:32 +01:00
Felix Fontein
b31e7d7d9c Release 2.0.1. 2021-11-13 14:13:44 +01:00
Felix Fontein
772f35c65c Prepare 2.0.1 release. 2021-11-13 13:56:14 +01:00
Felix Fontein
3961ad3763
Replace Bash codecov uploader by new Python codecov uploader. (#235)
ci_coverage
2021-11-13 11:47:33 +01:00
Felix Fontein
5233936262
Fix docs issues. (#232) 2021-11-09 19:59:28 +01:00
Felix Fontein
7baf07e77d
Replace Fedora 33 with Fedora 35 for devel tests. (#230) 2021-11-08 22:08:39 +01:00
Felix Fontein
3c53e763a1
Explicitly install iptables. (#227) 2021-11-03 21:50:10 +01:00
Felix Fontein
bce44c34e9 Next expected release is 2.1.0. 2021-10-21 08:00:54 +02:00
Felix Fontein
5183f84962 Release 2.0.0. 2021-10-21 07:31:39 +02:00
Felix Fontein
8ecebcefbb Prepare 2.0.0 release. 2021-10-20 17:59:15 +02:00
Felix Fontein
ec82806a59
Fix wrong FQCNs. (#225) 2021-10-17 16:04:48 +02:00
Felix Fontein
dbc4675338
Remove centos8 for devel from CI. (#223) 2021-10-16 09:27:38 +02:00
Felix Fontein
9800da148a
Fix shellcheck error. (#220) 2021-10-08 14:14:05 +02:00
Felix Fontein
f4b1d34357
Fix CI (docker_container tests fail because of missing ipaddress) (#218)
* Use stdlib ipaddress, resp. install when needed.

* Make sure facts on controller are available.
2021-10-07 13:15:51 +02:00
Felix Fontein
4070dab9a8
Remove deprecated features, bump version to 2.0.0 (#210)
* Remove docker_login's email option.

* container_default_behavior now has default value no_defaults.

* Disallow 'all' next to other ports. Deprecate 'all' in favor of publish_all_ports.

* Change default for network_mode.

* Add changelog fragment.

* Fix tests.

* Next expected release is 2.0.0.
2021-10-05 17:39:42 +02:00
Ajpantuso
14f15c0aec
docker_compose - Fix timeout defaulting behavior (#163)
* Initial commit

* Adding changelog fragment

* Updating changelog for breaking change
2021-10-05 08:38:24 +02:00
Felix Fontein
26d8aa1c80 Next expected release is 1.10.1. 2021-10-05 08:04:59 +02: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
a9b238ee81
Emphasize that docker_compose requires docker-compose < 2.0.0. (#217) 2021-10-05 07:30:41 +02:00
Felix Fontein
1b4b45628c Add patchback config. 2021-09-30 17:27:51 +02:00
Felix Fontein
a15516b6a5 Run CI on stable branches only once per week. 2021-09-28 17:34:43 +02:00
Felix Fontein
4ecae3e605
Update CI matrix to include ansible-core's stable-2.12 branch (#215)
* Update CI matrix to include ansible-core's stable-2.12 branch.

* Adjust README.

* Fix stage names.

* Make matrix for older Ansible versions a bit thinner.
2021-09-27 19:45:54 +02:00
Felix Fontein
4ca348ea28 Prepare ansible-core devel branch version bump that is planned for later today. 2021-09-24 18:45:54 +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
Ajpantuso
b5263ccbd0
Initial commit (#208) 2021-09-17 17:00:14 -04: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
668f77d7d2
Make sure the nginx config and password files are readable by everyone. (#202) 2021-09-11 12:21:27 +02:00
Felix Fontein
40f61ae8c8
docker_network: improve test failure debugging (#201)
* Show inspection results for all Docker networks before running docker_network tests.

* AZP/Docker seems to prefer networks in 172.0.0.0/8, so we use 10.0.0.0/8 for our tests.

* Fix use of wrong variable.
2021-09-10 22:10:35 +02:00
Felix Fontein
5a3ce51049
Improve CI (#198)
* Use remote temp path, replace remote lookups.

* Copy local files.

* Change docker resource name prefix from ansible-test to ansible-docker-test to avoid collision with ansible-test's containers.

* Fix typos.

* We don't neceessarily have a TTY.

* Use hopefully less collision-likely subnet.

* More collision avoidance.

* More changes.
2021-09-08 09:43:35 +02:00
Felix Fontein
451bc0e94e Next expected release is 1.10.0. 2021-08-29 14:11:58 +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
Felix Fontein
8e1c9f890a
docker_containers inventory: fix wrong default mentioned in docs, add fallback example (#194)
* Fix wrong default mentioned in docs.

* Add fallback example.
2021-08-26 08:32:50 +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
50d3b9c280 Next release is expeted to be 1.10.0. 2021-08-03 23:00:37 +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
Jeff Goldschrafe
2a9bc7f74e
Add nsenter connection plugin (#173)
* Add nsenter connection plugin

* Fixes

* oops

* Pass file I/O through nsenter, removing volume mount

* minor logging cleanup for consistency's sake

* Fix pylint flag

* Update plugins/connection/nsenter.py

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

* Update plugins/connection/nsenter.py

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

* Update plugins/connection/nsenter.py

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

* Update plugins/connection/nsenter.py

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

* Update plugins/connection/nsenter.py

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

* Fix note formatting

* Revert string_types change

* Update tests/integration/targets/connection_nsenter/aliases

* Update tests/integration/targets/connection_nsenter/runme.sh

* Apply suggestions from code review

* Update tests/integration/targets/connection_nsenter/runme.sh

* Update tests/integration/targets/connection_nsenter/runme.sh

* Apply suggestions from code review

* Update tests/integration/targets/connection_nsenter/runme.sh

* Update tests/integration/targets/connection_nsenter/aliases

* Update plugins/connection/nsenter.py

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

* Update plugins/connection/nsenter.py

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

* Update plugins/connection/nsenter.py

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

* Update plugins/connection/nsenter.py

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

* Remove specific pipelining support

* Update plugins/connection/nsenter.py

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

Co-authored-by: Felix Fontein <felix@fontein.de>
2021-08-02 08:17:53 +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
567561ada0
Update AZP config. (#185) 2021-07-30 17:45:56 +02:00
Felix Fontein
72fb3a5d1a
Fix check_mode for some _info modules. (#183) 2021-07-28 21:49:15 +02:00
Ajpantuso
b2430f756f
Allowing anonymous volumes via mounts option (#181)
* Initial Commit

* Adding changelog fragment
2021-07-27 17:35:40 +00:00
Felix Fontein
e2785de840
Make sure that 'container' is returned in more circumstances, and improve documentation when it is actually returned (#178)
* Make sure that 'container' is returned in more circumstances, and improve documentation when it is actually returned.

* Fix typos.
2021-07-24 21:01:14 +02:00
Ajpantuso
9b661a6ac2
docker_compose - add env_file option (#174)
* Initial commit

* Adding changelog and fixing docs

* Fixing integration tests

* Restricting minimum docker-compose versions for tests

* Applying initial review suggestions
2021-07-16 19:01:20 +02:00