ansible-edda/playbooks/roles/services/setup/system/tasks/include/podman.yml

27 lines
718 B
YAML
Raw Normal View History

2022-12-18 23:43:40 +01:00
---
2022-12-12 23:49:20 +01:00
- name: "podman : install podman"
ansible.builtin.apt:
name: "podman"
register: services_setup_system_podman_install
2022-12-12 23:49:20 +01:00
- name: "podman : reboot host"
ansible.builtin.reboot:
when:
services_setup_system_podman_install.changed
2023-09-30 23:44:56 +02:00
- block:
- name: "podman : configure podman storage"
ansible.builtin.copy:
src: "./podman/storage.conf"
dest: "/etc/containers/storage.conf"
mode: 0644
register: services_setup_system_containers_storage
- name: "podman : reset podman"
ansible.builtin.shell: "yes | podman system reset"
when:
services_setup_system_containers_storage.changed
when:
services_setup_system_containers_storage_fuse_overlay