Added handler for installing containers after podman installation

This commit is contained in:
2025-11-18 21:45:14 -05:00
parent 73ef748c95
commit 5901f69c29

View File

@@ -0,0 +1,13 @@
# SPDX-License-Identifier: MIT-0
---
# handlers file for bootstrap
- name: Pull podman images
listen: rsync
block:
- name: Pull container images via podman
containers.podman.podman_image:
name: "{{ item.value['name'] }}"
tag: "{{ item.value['tag'] | default('latest') }}"
state: present
notify: "{{ item.key }}"
loop: "{{ lookup('ansible.builtin.dict', software.containers) }}"