add ghost to stack for phlog

This commit is contained in:
2025-01-04 09:09:47 -07:00
parent 31c11437d0
commit c8f22f83e2
4 changed files with 50 additions and 1 deletions

View File

@ -0,0 +1,19 @@
- name: make ghost-1 directories
ansible.builtin.file:
path: "{{ item}}"
state: directory
loop:
- /opt/stacks/ghost-1
- name: Template out the compose file
ansible.builtin.template:
src: ghost-1-compose.yml.j2
dest: /opt/stacks/ghost-1/compose.yml
owner: root
mode: 644
- name: deploy ghost-1 stack
community.docker.docker_compose_v2:
project_src: /opt/stacks/ghost-1
files:
- compose.yml

View File

@ -136,4 +136,8 @@
- name: Install syncthing
import_tasks: syncthing.yml
tags: syncthing
tags: syncthing
- name: Install ghost-1
import_tasks: ghost-1.yml
tags: ghost-1