1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-04-06 09:27:11 +00:00
Commit graph

20 commits

Author SHA1 Message Date
Sagi Shnaidman
0bdaa4a78f Fix ambigous variable issue for pylint 2021-02-10 20:54:00 +02:00
Sagi Shnaidman
e4f5a8eabe Convert systemd option to a string
And set it to lower to workaround bugs in 3.0.1
2021-02-10 20:14:03 +02:00
Sagi Shnaidman
885af0c7c5 Change default log level for 3+ versions 2021-02-10 18:13:39 +02:00
Georgi Valkov
b911939f07 Fix 'cap_add' and 'cap_drop' idempotency
- Ensure that comparison always happens on lower-case values.

- Take into account that capabilities can be specified with or
  without the 'CAP_' prefix.
2021-02-01 11:24:14 +02:00
Justin Riley
db09d8e778 podman_container_lib: fix command idempotency
preserve case sensitivity by removing the use of lower() and using shlex
to split the command string
2021-01-12 13:38:28 +02:00
Sagi Shnaidman
c60f2c6cae Restart container in a simple manner
Don't require an image when restarting container, only the
container name.
2021-01-08 00:56:42 +02:00
Sagi Shnaidman
33c7fa5842 Add 'created' state for podman_container
Add state 'created' which will ensure container exists in current
configuration. It can either run or not.
2021-01-06 15:20:16 +02:00
Sagi Shnaidman
bae71956b7 Handle slash removals for root volumes mount 2020-12-27 16:00:46 +02:00
Sagi Shnaidman
00d490b95c Convert gidmap to list for podman_container
Fix #152
2020-12-21 00:53:42 +02:00
Sagi Shnaidman
1d5d02cbbb Convert log-opts to dictionary and idempotent 2020-12-21 00:53:42 +02:00
Sagi Shnaidman
62638bac26 Fix no_hosts idempotency for newer version 2020-12-20 18:30:17 +02:00
Sagi Shnaidman
cd652fe2ee Remove 'detach' when creating container 2020-12-20 18:30:17 +02:00
Sagi Shnaidman
a35c9cc8ca Add idempotency for mac_address and tests 2020-11-23 15:53:08 +02:00
Eric L
29a4bfa8e0 Add mac_address field to podman_container module
* extended description of podman_container
* add mac_address field and add_param function in podman_container_lib
* closes #146
2020-11-23 15:53:08 +02:00
Riyad Preukschas
9bc1233a73
Improve compatibility with docker_container by adding aliases (#142) 2020-11-07 19:54:27 +02:00
Sergey
90e6bc33f9
Move pod logic to separate library (#140) 2020-11-04 15:04:48 +02:00
Sergey
bf752e4492
Move containers logic to module utils (#139) 2020-11-03 09:55:23 +02:00
Holger Hees
1bd3b70de6
fix diff calculation for lower/upper cases (#115)
* fix diff calculation

* fix formatting

* fix formatting

* removed unused import statements

* add missing requirement doc
2020-10-07 11:50:43 +03:00
Sergey
8b717f9201
Relicense under GPLv3 and clean up modules (#57)
Clean up modules according to last Ansible changes
Set license for GPLv3 to avoid various possible issues
2020-06-08 17:07:16 +03:00
Sagi Shnaidman
dc13dce52a Migration of Podman modules from Ansible to Containers 2020-03-06 16:29:20 +02:00