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

124 commits

Author SHA1 Message Date
Sagi Shnaidman
281ec2fb82 Release 1.4.1 2020-12-21 01:03:40 +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
27d5a718e6 Release 1.4.0 version 2020-12-20 21:57:36 +02:00
Sagi Shnaidman
075d35daee Fix idempotency for volume GID and UID
Fix #150
Add special treat for volume GIDs and UIDs options.
2020-12-20 21:10:53 +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
6f8df336bc Add support of network options like MTU, VLAN 2020-12-20 16:50:54 +02:00
Sagi Shnaidman
04c7e18bc3 Add IPv6 to network
Fix CI for podman network.
Make 'subnet' required for ip-range or gateway.
Add IPv6 subnets.
2020-12-20 16:50:54 +02:00
Sergey
2a84642c3f
Add podman_containers module for multiple containers (#141) 2020-12-13 20:59:07 +02:00
Sergey
fecc0739d6
Fix doc defaults for podman_image (#151) 2020-12-08 12:31:57 +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
Eric L
baf459ec23
Correct IP range example for podman_network (#149)
the IP range must be in CIDR notation not IP1-IP2, at least according to man page
of podman-network-create

Co-authored-by: Eric L <ewl+git@lavar.de>
2020-11-23 14:16:32 +02:00
cfelder
95baa8faae
podman_image: reuse existing results in present() (#109)
* podman_image: reuse existing results in present()
2020-11-08 14:04:44 +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
Sergey
90aea8e818
Fix logout test for podman_logout (#138) 2020-11-02 10:36:32 +02:00
Clemens Lange
db7b4ca099
Handle podman logout not logging out when logged in via different tool (#137) 2020-10-27 22:16:16 +02:00
Sergey
e1d35e70c6
Add strict image compare with hashes (#136) 2020-10-26 19:23:46 +02:00
Clemens Lange
92389abff2
Add podman_login_info module (#133)
related to #93
2020-10-26 17:32:39 +02:00
Clemens Lange
05746224e0
Add podman logout module (#134)
* Add podman logout module
* Add more tests
* Fix output string comparison (due to podman inconsistency)
* Fix copy and paste error
* Use full module path and name
Fix #94
2020-10-26 15:22:38 +02:00
Sergey
91073bb443
Prepare pod module to be called from other modules (#130) 2020-10-24 23:43:43 +03:00
Sergey
3dbca6fb91
Fix force restart option for containers (#131) 2020-10-24 18:04:42 +03:00
Sergey
1cf8872345
Add log level for Podman in module (#129) 2020-10-22 22:34:21 +03:00
Sergey
00a2bc9453
Prepare podman container to be called from other module (#128) 2020-10-22 00:43:53 +03:00
Sergey
7288eddc1c
Release 1.3.2 hotfix (#127) 2020-10-20 17:34:14 +03:00
Sergey
2007d84132
Fix signals case for podman_container (#126)
In #113 we made a change to lowercase only keys, but signals in
image info are upper case.

Fix tests - stop signal should be word, not number.
Related to #125.
2020-10-20 16:54:33 +03:00
Sergey
297995540b
Add jobs for Ansible 2.10 and 2.11 releases (#124) 2020-10-18 22:47:41 +03:00
Sébastien CATHERINE
978e328420
Update podman_network.py (#123)
Fix doc
2020-10-12 01:19:57 +03:00
Sergey
03aed3edcc
Add changelog for 1.3.1 (#122) 2020-10-09 02:39:37 +03:00
Sergey
5343cb43ed
Remove pyyaml from requirements (#121)
And remove all skips from ansible-test which were related to
imports and compiles.
2020-10-09 01:10:26 +03:00
Sergey
f7f279a9ce
Add note about containerPort setting (#120)
Fix #116
2020-10-08 21:18:45 +03:00
Sergey
c9479367d9
Set options for a volume as list and fix idempotency (#119)
Options can be set multiple times for a driver, so let's configure
them as a list.
Fix idempotency for options and add tests for them.
Fix #108
2020-10-08 17:40:18 +03:00
Sergey
f03362429b
Check if dnsname plugin installed for CNI (#118)
If dnsname plugins is not in specified set of paths, it's not
installed. If it's not installed, then the default values of
disable-dns will be True (as dns is disabled).
2020-10-07 13:05:50 +03: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
ruatag
9a7b4d7172
Fix init: option it's boolean not string (#111)
* Fix init: option it's boolean not string

* DOCUMENTATION.options.init.type bool
2020-09-28 21:25:37 +03:00
Sergey
c97a56a0a2
Add podman_network module (#107)
And add release 1.3.0
2020-09-03 01:38:25 +03:00
Sergey
cb6934de24
Fix return data from podman_volume module (#106) 2020-09-03 01:21:54 +03:00
Sergey
280af2c268
Add changelog for Ansible 2.10 release (#103) 2020-08-17 15:57:48 +03:00
Sergey
8e45217465
Add setup files for Pip installation (#100) 2020-08-06 15:39:32 +03:00
Sergey
69b034b263
Fix yaml python dep in root tests (#96)
Use different python interpretators for root and rootless tests,
as it's a problem in Ubuntu 18.
2020-08-03 14:49:55 +03:00
Jens Heinrich
a38df046a4
Update README.md (#97)
Fix minor typos
2020-08-03 12:41:31 +03:00
Sergey
2d3689e8c5
Fix issue with idempotency uts, ipc with pod (#95) 2020-07-29 13:25:32 +03:00
Sergey
727d4a361f
Fix idempotency for case with = in env (#92)
Add tests for env settings.
2020-07-27 20:00:04 +03:00
Sergey
0519ab69ab
Chown file for users when copy them to container (#90)
In podman connection when we copy file to container and work as
non-root user, need to set correct ownership for the files.
Since ansible change https://github.com/ansible/ansible/pull/70221
it's broken, because of new permissions ansible set to copied files.
2020-07-26 18:39:18 +03:00
Sergey
e1a81db9ea
Fix publish job (#89)
Add dry run job for testing publishing
2020-07-22 13:06:07 +03:00
Sergey
869c644448
Improve podman volume info tests with new module (#88) 2020-07-22 09:11:26 +03:00
Sergey
4069b600ea
Create podman_volume module for volumes management (#87) 2020-07-22 09:04:00 +03:00