Compare commits

..

7 Commits

Author SHA1 Message Date
tolerryan
800e0d0ef1 removing webhook test line 2026-11-13 08:32:43 -06:00
tolerryan
b1160b8cf1 adding line to trigger webhook 2026-11-13 08:32:19 -06:00
tolerryan
9c4d03f758 remove n8n and openbao 2026-11-13 02:13:56 -06:00
tolerryan
cd35b14d50 restore sudo 2026-11-13 01:47:33 -06:00
tolerryan
595eb146e1 remove hold on containerd.io 2026-11-13 01:43:04 -06:00
tolerryan
92d4ccfb5c testing removing become from main playbook 2026-11-13 01:23:44 -06:00
tolerryan
ec5f006b3d Resolve INJECT_FACTS_AS_VARS warnings 2026-11-13 01:21:13 -06:00
7 changed files with 10 additions and 111 deletions

View File

@@ -68,8 +68,6 @@ all:
ansible_host: 192.168.0.60
gitea:
ansible_host: 192.168.0.63
openbao:
ansible_host: 192.168.0.64
grail:
ansible_host: 192.168.0.65
tor:

View File

@@ -1,24 +0,0 @@
# DOMAIN_NAME and SUBDOMAIN together determine where n8n will be reachable from
# The top level domain to serve from
DOMAIN_NAME=168.0.69
# The subdomain to serve from
SUBDOMAIN=192
# The above example serve n8n at: https://n8n.example.com
# Optional timezone to set which gets used by Cron and other scheduling nodes
# New York is the default value if not set
GENERIC_TIMEZONE=America/Chicago
# The email address to use for the TLS/SSL certificate creation
SSL_EMAIL=n8n@noemail.com
DB_SQLITE_POOL_SIZE=10
OLLAMA_HOST=http://ollama:11434
N8N_BASIC_AUTH_ACTIVE=true
N8N_BASIC_AUTH_USER=admin
N8N_BASIC_AUTH_PASSWORD=secretpassword

View File

@@ -1,61 +0,0 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
services:
traefik:
image: traefik
container_name: traefik
restart: always
environment:
- SSL_EMAIL=n8n@noemail.com
- DOMAIN_NAME=168.0.69
- SUBDOMAIN=192
- GENERIC_TIMEZONE=America/Chicago
command:
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
- "--entrypoints.web-secure.address=:443"
- "--entrypoints.web-secure.http.tls.certresolver=mytlschallenge"
- "--certificatesresolvers.mytlschallenge.acme.email=${SSL_EMAIL}"
- "--certificatesresolvers.mytlschallenge.acme.storage=/acme.json"
- "--certificatesresolvers.mytlschallenge.acme.httpchallenge.entrypoint=web-secure"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- traefik_data:/acme.json
n8n:
image: n8nio/n8n:latest
container_name: n8n
restart: always
depends_on:
- ollama
- traefik
environment:
- SSL_EMAIL=n8n@noemail.com
- DOMAIN_NAME=168.0.69
- SUBDOMAIN=192
- GENERIC_TIMEZONE=America/Chicago
- N8N_BASIC_AUTH_ACTIVE=true
- N8N_BASIC_AUTH_USER=admin
- N8N_BASIC_AUTH_PASSWORD=secretpassword
- OLLAMA_HOST=http://ollama:11434
- N8N_SQLITE_POOL_SIZE=10
- N8N_HOST=https://${SUBDOMAIN}.${DOMAIN_NAME}
volumes:
- ./n8n_data:/home/node/.n8n
- ../data/:/files
ollama:
image: ollama/ollama
container_name: ollama
restart: unless-stopped
environment:
- OLLAMA_HOST=0.0.0.0
volumes:
- ollama_data:/root/.ollama
volumes:
traefik_data:
ollama_data:

View File

@@ -1 +0,0 @@
# Unused

View File

@@ -1,14 +0,0 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
services:
server:
image: quay.io/openbao/openbao:latest
container_name: openbao
restart: always
volumes:
- ./config/openbao.hcl:/bao/config/openbao.hcl
- ../data:/openbao/file
cap_add:
- IPC_LOCK
ports:
- "8200:8200"
entrypoint: ["bao", "server", "-config=/bao/config/openbao.hcl"]

View File

@@ -56,7 +56,7 @@
- name: Hold containerd.io package
ansible.builtin.dpkg_selections:
name: containerd.io
selection: hold
selection: install
- name: Create docker user
user:

View File

@@ -2,8 +2,8 @@
- name: Setup-LXC containers
hosts: lxc
connection: "{{ ansible_connection_type | default('local') }}"
become: true
gather_facts: true
become: true
vars_files:
- ./vault.yaml
@@ -47,11 +47,12 @@
--vault-password-file /root/vault.pass
-e confirm_restore=true
delegate_to: localhost
become: false
when: not apps_docker_dir.stat.exists or not apps_data_dir.stat.exists
- name: Copy docker-compose.yml from repo
ansible.builtin.copy:
src: ./{{ ansible_hostname }}/docker-compose.yml
src: ./{{ ansible_facts["hostname"] }}/docker-compose.yml
dest: /apps/docker/docker-compose.yml
owner: docker
group: docker
@@ -59,7 +60,7 @@
- name: Copy docker-compose.env from repo
ansible.builtin.copy:
src: ./{{ ansible_hostname }}/.env
src: ./{{ ansible_facts['hostname'] }}/.env
dest: /apps/docker/.env
owner: docker
group: docker