Merge "Move podman socket activation to podman role"

This commit is contained in:
Zuul 2024-04-29 08:57:12 +00:00 committed by Gerrit Code Review
commit 540cf373b9
3 changed files with 18 additions and 7 deletions

View File

@ -0,0 +1,11 @@
---
upgrade:
- |
Socket activation of podman is now enabled by the ``podman`` role and
not the ``podman_sdk`` role.
fixes:
- |
Fixes an issue where the ``podman`` role did not enable socket activation
for the podman service.
See `LP#2054568 <https://bugs.launchpad.net/ansible-collection-kolla/+bug/2054568>`__
for further details.

View File

@ -21,6 +21,13 @@
# If any packages were updated, and any containers were running, wait for the
# daemon to come up and start all previously running containers.
- name: Start podman.socket
become: true
service:
name: podman.socket
state: started
enabled: yes
- block:
- name: Wait for Podman to start
command: podman info

View File

@ -61,10 +61,3 @@
become: true
become_user: "{{ virtualenv is none | ternary(omit, podman_sdk_virtualenv_owner) }}"
when: not (ansible_facts.distribution_release == "bookworm" and virtualenv is none)
- name: Start podman.socket
become: true
service:
name: podman.socket
state: started
enabled: yes