Added handler for installing containers after podman installation
This commit is contained in:
13
roles/bootstrap/handlers/podman.yml
Normal file
13
roles/bootstrap/handlers/podman.yml
Normal 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) }}"
|
||||||
Reference in New Issue
Block a user