1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-04-19 15:51:28 +00:00
Commit graph

17 commits

Author SHA1 Message Date
Sergey
1bfa6396a5
Fix pylint issues for CI ansible-test (#550)
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2023-02-14 16:22:36 +02:00
Sergey
a90c040239
Fix expanduser in path for systemd generation (#510)
Use expanduser for path calculation.
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2133207
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-11-11 11:00:47 +02:00
Sergey
5c68ee09fe
Add protection for systemd files deletion (#509)
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-11-10 21:06:55 +02:00
Sergey
5198b726fb
Delete systemd files when container/pod is deleted (#508)
Fix #489

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-11-10 17:13:45 +02:00
dada513
b72a026328
generate_systemd: implement --wants, --after and --requires (GH-431) (#432)
* generate_systemd: implement --wants, --after and --requires (GH-431)

Signed-off-by: dada513 <dada513@protonmail.com>
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
Co-authored-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-09-01 20:28:07 +03:00
Sergey
2577f5b0f5
Remove distutils as deprecated (#437)
Fix #422
The distutils package is deprecated and slated for removal in Python 3.12

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2022-06-12 22:54:03 +03:00
Oliver Walsh
f3e95d0d3f
Hardcode RT signal numbers (#338)
Looking up SIGRTMIN/SIGRTMAX isn't portable.
Hardcode the Linux signal number instead.

Fixes issue #337.
2021-11-20 03:06:07 +02:00
Luca Beltrame
cef7bdbea0
Support --new in generate_systemd (#334)
* Support --new in generate_systemd

Fixes #318.

* Add docs
2021-11-18 14:35:42 +02:00
Oliver Walsh
a0377fbd24
Fix signal diff for truncated and RT signal names (#326)
* Fix signal diff for truncated and RT signal names

This refactors the signal mapping logic to closely resemble the logic in
podman.

Podman tolerates images with truncated STOPSIGNAL names e.g RTMIN+3
is used in the freeipa-container Dockerfiles.

Also avoids hardcoding real-time signals as they vary per
platform or glibc implementation (see man 7 signal).

* Cleanup lint

* More lint cleanup
2021-10-19 17:18:22 +03:00
Sergey
a1aec061f5
Support empty stings in prefixes (#321) 2021-10-11 23:38:58 +03:00
Sergey
3f3cdab506
Add .service extension to systemd files (#310) 2021-09-23 09:50:16 +03:00
Sergey
5d37e1ee22
Add systemd generation for pods (#299) 2021-09-15 02:44:06 +03:00
Sergey
53338e7ec0
Add podman import/export containers modules (#297) 2021-09-12 17:01:38 +03:00
Sergey
b62fb99bae
Fix ansible-test issues for CI (#241) 2021-04-07 10:21:08 +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
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