Files
ansible-podman/tasks/main.yml
Daniel Akulenok 17fea0e02b podman
2026-01-10 23:21:34 +01:00

69 lines
1.4 KiB
YAML

---
# tasks file for podman
- name: Install Podman packages
ansible.builtin.include_tasks: install.yml
tags:
- podman
- podman-install
- name: Configure Podman
ansible.builtin.include_tasks: configure.yml
tags:
- podman
- podman-configure
- name: Manage Podman services
ansible.builtin.include_tasks: services.yml
tags:
- podman
- podman-services
- name: Manage Podman networks
ansible.builtin.include_tasks: networks.yml
when: podman_networks | length > 0
tags:
- podman
- podman-networks
- name: Create volume directories
ansible.builtin.include_tasks: host_directories.yml
when: podman_create_volumes | bool
tags:
- podman
- podman-volumes
- name: Manage Podman volumes
ansible.builtin.include_tasks: volumes.yml
when: podman_volumes | length > 0
tags:
- podman
- podman-volumes
- name: Manage Podman pods
ansible.builtin.include_tasks: pods.yml
when: podman_pods | length > 0
tags:
- podman
- podman-pods
- name: Manage Podman containers
ansible.builtin.include_tasks: containers.yml
when: podman_containers | length > 0
tags:
- podman
- podman-containers
- name: Generate systemd services
ansible.builtin.include_tasks: systemd.yml
when: podman_generate_systemd | bool
tags:
- podman
- podman-systemd
- name: Prune unused resources
ansible.builtin.include_tasks: prune.yml
tags:
- podman
- podman-prune