deploy nextcloud

This commit is contained in:
2026-04-18 00:36:40 -05:00
parent 4db6f0b06f
commit 9961fe1ed4
13 changed files with 592 additions and 256 deletions

View File

@@ -2,3 +2,4 @@
# file: roles/semaphore/defaults/main.yml
semaphore_compose_dir: /opt/docker/semaphore
semaphore_ssh_key_file: "~/.ssh/ansible"

View File

@@ -25,6 +25,14 @@
group: docker
mode: '0600'
- name: Copy SSH key for Ansible authentication
ansible.builtin.copy:
src: "{{ semaphore_ssh_key_file }}"
dest: "{{ semaphore_compose_dir }}/ansible_key"
owner: "1001"
group: "1001"
mode: '0600'
- name: Start Semaphore containers
community.docker.docker_compose_v2:
project_src: "{{ semaphore_compose_dir }}"

View File

@@ -1,2 +1,3 @@
# Managed by Ansible — do not edit manually
CF_DNS_API_TOKEN={{ traefik_cloudflare_api_token }}
CLOUDFLARE_TUNNEL_TOKEN={{ vault_traefik_tunnel_token }}