Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.04 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.04 KB

quadlets

My personal Podman Quadlets

Ansible

Ansible Playbooks are provided to easily bring these quadlets up and down in a manner similar to docker compose. These playbooks place the quadlet files in the rootless podman folder (~/.config/containers/systemd), add and enable firewalld services, and enable the resulting systemd services. The firewalld operations are the reason for the need to become elevated when playing the playbook; the quadlets otherwise run via rootless podman.

Inventory

There should be hosts defined for at least the following:

  • servers
  • workstations

Example:

all:
  children:
    servers:
      hosts:
        # ...
    workstations:
      hosts:
        # ...

Bring up all services

ansible-playbook -K|--ask-become-pass [-C|--check] up.yaml
  • -C, --check - If you want to dry-run everything before executing.

Bring down all services

ansible-playbook -K|--ask-become-pass [-C|--check] down.yaml
  • -C, --check - If you want to dry-run everything before executing.