- name: Create comfycamp config dir become: true ansible.builtin.file: path: /etc/comfycamp state: directory owner: root mode: "1700" - name: Copy comfycamp config become: true ansible.builtin.template: src: comfycamp.toml.j2 dest: /etc/comfycamp/config.local.toml owner: root mode: "0600" - name: Create comfycamp volume become: true community.docker.docker_volume: name: comfycamp - name: Create comfycamp container become: true community.docker.docker_container: name: comfycamp image: git.comfycamp.space/lumin/comfycamp:v2.3.0 networks: - name: postgresql - name: haproxy volumes: - /etc/comfycamp/config.local.toml:/usr/src/comfycamp/config.local.toml:ro - comfycamp:/var/lib/comfycamp env: RUST_LOG: warn restart_policy: unless-stopped