Hagen
16b034b71f
Fix podman_container_copy examples ( #882 )
...
Signed-off-by: hagene <hagene@uio.no>
2025-01-08 16:24:49 +02:00
Sergey
64e4247347
Don't pull image when state is absent or pull=never ( #889 )
...
fix #888
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2025-01-08 15:38:03 +02:00
Sergey
7fa610a416
Convert DNS domain search to a list ( #881 )
...
Fix #880
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-12-13 20:34:17 +02:00
Vinícius Hashimoto
d68ca756de
docs(podman_container): improve comments on network property ( #878 )
...
Signed-off-by: vkhashimoto <me@vkhashimoto.dev>
2024-11-24 20:34:29 +02:00
nishipy
1282fc576a
Rename master branch to main ( #634 )
...
* Rename master branch to main
Signed-off-by: nishipy <goodisonev4@gmail.com>
* Update with new files
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
---------
Signed-off-by: nishipy <goodisonev4@gmail.com>
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
Co-authored-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-11-12 14:11:54 +02:00
Sergey
a77ca6ab85
Fix list tags failure in podman_search ( #875 )
...
Fix #874
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-11-05 14:35:07 +02:00
Sergey
4c84135f5d
Release 1.16.2 version ( #873 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-11-03 22:15:02 +02:00
Sergey
4d3009fda9
Don't check image availability in Quadlet ( #872 )
...
Fix #871
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-10-27 20:35:45 +02:00
Sergey
62348545b8
Add option to specify kube file content in module ( #863 )
...
Fix #463
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-10-23 18:35:25 +03:00
QCU
309893047d
fix: quadlet cmd_args append mistake ( #869 )
...
Signed-off-by: QCU <qcu266@gmail.com>
2024-10-22 15:51:13 +03:00
Guillaume HOUDMON
2deadf069a
Add quadlet file mode option to specify file permission ( #867 )
...
* Add quadlet file mode option
Signed-off-by: ghoudmon <guillaume@houdmon.com>
* Fix file mode only change test
Signed-off-by: ghoudmon <guillaume@houdmon.com>
---------
Signed-off-by: ghoudmon <guillaume@houdmon.com>
2024-10-22 15:20:26 +03:00
InsideTheVoid
84cff745f9
Fix unsupported pull policy in example on podman_container.py ( #865 )
...
Signed-off-by: InsideTheVoid <824767+InsideTheVoid@users.noreply.github.com>
2024-10-15 13:33:19 +03:00
InsideTheVoid
1bdf437d09
Fix typo in quadlet generator ( #868 )
...
This typo prevents the quadlet generator from picking up
--cpus and --platform options.
Signed-off-by: InsideTheVoid <824767+InsideTheVoid@users.noreply.github.com>
2024-10-15 13:33:03 +03:00
Sergey
d4977eae0a
Fix max_size idempotency issue ( #862 )
...
Fix #843
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-10-11 22:28:19 +03:00
Maximilian Stinsky
8aa5708355
podman_login does not support check_mode ( #860 )
...
The podman_login module does not have code to support check runs. Therefore a check run in ansible does the actual login. Set supports_check_mode to False so the login is skipped in a dry-run.
Signed-off-by: Maximilian Stinsky <maximilian@stinsky.com>
2024-10-08 17:40:24 +03:00
Martin Jackson
e46c7eb1a1
Add secret to login module ( #858 )
...
Signed-off-by: Martin Jackson <mhjacks@swbell.net>
Co-authored-by: Sergey <6213510+sshnaidm@users.noreply.github.com>
2024-10-07 23:08:29 +03:00
Thomas Preindl
8daec72a04
Add missing parameters for podman container quadlet ( #847 )
...
* Revert "Add group_add parameter for podman quadlet (#827 )"
This reverts commit 4f24eced99 .
Signed-off-by: Thomas Preindl <tompre@users.noreply.github.com>
* Add 'group_add' to 'GroupAdd' parameter mapping for podman container quadlet
Signed-off-by: Thomas Preindl <tompre@users.noreply.github.com>
* Add 'cgroups' to 'CgroupsMode' parameter mapping for podman container quadlet
Signed-off-by: Thomas Preindl <tompre@users.noreply.github.com>
* Fix 'etc_hosts' to 'AddHost' parameter mapping for podman container quadlet
Signed-off-by: Thomas Preindl <tompre@users.noreply.github.com>
* Fix 'network_aliases' to 'NetworkAlias' parameter mapping for podman container quadlet
Signed-off-by: Thomas Preindl <tompre@users.noreply.github.com>
* Fix 'stop_signal' to 'StopSignal' parameter mapping for podman container quadlet
Signed-off-by: Thomas Preindl <tompre@users.noreply.github.com>
* Add 'cpus' parameter mapping for podman container quadlet
Signed-off-by: Thomas Preindl <tompre@users.noreply.github.com>
* Add 'platform' parameter mapping for podman container quadlet
Signed-off-by: Thomas Preindl <tompre@users.noreply.github.com>
* Add 'log_opt' to 'LogOpt' parameter mapping for podman container quadlet
Signed-off-by: Thomas Preindl <tompre@users.noreply.github.com>
---------
Signed-off-by: Thomas Preindl <tompre@users.noreply.github.com>
2024-10-06 23:29:58 +03:00
Sergey
ca8267c83b
Add new options for podman_network ( #856 )
...
Fix #846
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-09-29 20:44:58 +03:00
Sergey
a2806b87fd
Release 1.16.1 version ( #854 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-09-26 11:29:57 +03:00
Sergey
4f8ab01fbb
Fix podman image permissions issue and runlable test ( #853 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-09-26 09:50:54 +03:00
Evgeni Golov
36c146a633
don't document quadlet_dir as required when setting state=quadlet ( #852 )
...
The underlying code has sane defaults and will figure out the
directory on its own in most cases
0b773e5d61/plugins/module_utils/podman/quadlet.py (L688-L693)
Signed-off-by: Evgeni Golov <evgeni@golov.de>
2024-09-25 17:51:54 +03:00
Sergey
0b773e5d61
Release 1.16.0 version ( #851 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-09-24 14:26:00 +03:00
Sergey
c11b2af89d
CI: add ignore list for Ansible sanity for 2.19 ( #850 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-09-24 12:16:23 +03:00
jakestec
1f16527350
modify error and docs ( #848 )
...
Signed-off-by: Jacob Stec <jacobstec@gmail.com>
2024-09-23 22:38:46 +03:00
SkrrtBacharach
58edc41196
Trigger a new image build when we detect that the Containerfile has changed. ( #811 )
...
* Trigger a new image build when we detect that the Containerfile has
changed.
Signed-off-by: gw <gw@bob.lol>
* Fix return type issues from PR feedback
Signed-off-by: gw <gw@bob.lol>
---------
Signed-off-by: gw <gw@bob.lol>
Co-authored-by: gw <gw@bob.lol>
2024-09-23 22:36:33 +03:00
Sergey
2adc93ffb1
CI: change k8s.gcr.io to registry.k8s.io in tests ( #842 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-09-09 11:25:50 +03:00
Sergey
46d4378426
Fix command idempotency with quotes ( #839 )
...
Fix #838
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-09-05 19:31:28 +03:00
Sergey
f9d33e880b
CI: bump artifacts versions for GHactions ( #837 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-09-04 13:53:47 +03:00
Benjamin MENANT
4973c8639e
fix(podman_image): skip empty volume items ( #833 )
...
Signed-off-by: Benjamin Menant <dev@menant-benjamin.fr>
2024-09-03 22:00:19 +03:00
Sergey
622f82a8d9
Fix logic in Podman images ( #832 )
...
Fix #831
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-09-03 10:30:17 +03:00
Sergey
83d0eefcb5
Disable idempotency for pod_id_file ( #829 )
...
Fix #828
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-09-02 19:54:39 +03:00
Thomas Preindl
4f24eced99
Add group_add parameter for podman quadlet ( #827 )
...
* Add group_add parameter for podman quadlet
* Update plugins/module_utils/podman/quadlet.py
Co-authored-by: Sergey <6213510+sshnaidm@users.noreply.github.com>
---------
Co-authored-by: Sergey <6213510+sshnaidm@users.noreply.github.com>
2024-09-02 19:54:22 +03:00
Nikita Tokarchuk
25a64101f2
Fix quadlet parameters when container uses rootfs ( #835 )
...
Adjust quadlet parameters to set rootfs as image and clear image field when rootfs container is being used.
Signed-off-by: Nikita Tokarchuk <nikita@tokarch.uk>
2024-09-02 19:25:20 +03:00
Benjamin MENANT
ac3a7a5fde
fix(podman_save): always changed when force ( #834 )
...
fixes #826
Signed-off-by: Benjamin Menant <dev@menant-benjamin.fr>
2024-09-02 18:52:14 +03:00
dependabot[bot]
552af3ef7f
Bump actions/checkout from 3 to 4 ( #822 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 16:57:49 +03:00
dependabot[bot]
ebc6f13c07
Bump actions/setup-python from 4 to 5 ( #821 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 16:57:31 +03:00
dependabot[bot]
5bbc06a26c
Bump actions/cache from 3 to 4 ( #823 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 16:57:13 +03:00
Sergey
7a1d668e0e
Update inspection info about objects in modules ( #819 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-08-16 19:26:35 +03:00
Sergey
ba88eda0fc
CI: Add images removal for tests ( #817 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-08-16 15:11:12 +03:00
Sergey
6c2dda7820
Add support for check_mode in Quadlet ( #818 )
...
Fix #808
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-08-16 15:10:55 +03:00
Alessandro Rossi
92fe1464a0
fix for tls_verify being ignored ( #815 )
...
Signed-off-by: kubealex <al.rossi87@gmail.com>
2024-08-15 16:26:09 +03:00
Holger Hees
93c1532b04
Fix health-startup-cmd ( #809 )
...
"--health-startup-command" is a wrong parameter.
the correct syntax is
"--health-startup-cmd"
2024-08-15 13:56:21 +03:00
Alessandro Rossi
eb46429493
Add podman_container_copy module ( #813 )
...
Signed-off-by: kubealex <al.rossi87@gmail.com>
2024-08-13 12:56:47 +03:00
Sergey
202a0fb6da
CI: fix Podman search of invalid image ( #812 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-08-07 14:52:57 +03:00
Sergey
a7b89ba8fc
Add arch to podman build command explicitly ( #805 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-07-15 09:14:28 +03:00
Sergey
3e303c7797
Fix podman CI test container images ( #804 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-07-14 23:24:19 +03:00
Sergey
3087fcc353
Release 1.15.4 ( #801 )
...
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-07-12 11:17:46 +03:00
Sergey
4e65a7bc94
Fix quadlet parameters for restart policy ( #798 )
...
Fix #797
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-07-11 11:13:56 +03:00
Sergey
d25cf57967
Idempotency improvements ( #795 )
...
* Fix integers in Quadlet generation
* Work around quotes in command for idempotency
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2024-07-07 22:55:26 +03:00
Giovanni Baratta
9775178872
Fix missing entries in network quadlet generated file ( #792 ) ( #793 )
...
Signed-off-by: Giovanni Baratta <bargiovi@hotmail.it>
2024-06-25 17:51:52 +03:00