From 4db6382ab3cca41a28f92d08834a5867b482c2a3 Mon Sep 17 00:00:00 2001 From: tolerryan <105945216+tolerryan@users.noreply.github.com> Date: Tue, 30 Sep 2025 00:11:23 -0500 Subject: [PATCH] Adding netbird to all relivant vms --- roles/ind/authelia/authelia-install.yml | 9 +- roles/ind/debcache/debcache-install.yml | 3 + roles/ind/grail/grail-install.yml | 9 +- roles/ind/healthcheck/docker-compose.env | 7 -- roles/ind/healthcheck/healthcheck-install.yml | 94 ------------------- roles/ind/navidrome/navidrome-install.yml | 9 +- roles/ind/semaphore/semaphore-install.yml | 3 + roles/ind/wikmd/wikmd-install.yml | 9 +- 8 files changed, 30 insertions(+), 113 deletions(-) delete mode 100644 roles/ind/healthcheck/docker-compose.env delete mode 100644 roles/ind/healthcheck/healthcheck-install.yml diff --git a/roles/ind/authelia/authelia-install.yml b/roles/ind/authelia/authelia-install.yml index 1bab0ac..225cf09 100644 --- a/roles/ind/authelia/authelia-install.yml +++ b/roles/ind/authelia/authelia-install.yml @@ -8,13 +8,16 @@ tasks: - name: set-debcache.yml - Setup apt proxy debcache - include: ../../lib/set-debcache.yml + import_tasks: ../../lib/set-debcache.yml - name: Upgrade-packages.yml - update packages - include: ../../lib/upgrade-packages.yml + import_tasks: ../../lib/upgrade-packages.yml - name: Install-docker.yml - setting up docker - include: ../../lib/install-docker.yml + import_tasks: ../../lib/install-docker.yml + + - name: Setup-netbird.yml - setting up netbird mesh vpn + import_tasks: ../../lib/setup-netbird.yml - name: Create grail user user: diff --git a/roles/ind/debcache/debcache-install.yml b/roles/ind/debcache/debcache-install.yml index 36d7d3b..0fc4b85 100644 --- a/roles/ind/debcache/debcache-install.yml +++ b/roles/ind/debcache/debcache-install.yml @@ -7,6 +7,9 @@ vars: tasks: + - name: Setup-netbird.yml - setting up netbird mesh vpn + import_tasks: ../../lib/setup-netbird.yml + - name: Set apt-cacher-ng cache directory permissions file: diff --git a/roles/ind/grail/grail-install.yml b/roles/ind/grail/grail-install.yml index 1c44580..3266ecd 100644 --- a/roles/ind/grail/grail-install.yml +++ b/roles/ind/grail/grail-install.yml @@ -11,13 +11,16 @@ # ansible.builtin.command: /usr/bin/ansible-playbook ./roles/ind/grail/set-pvenode.yml -k # delegate_to: 127.0.0.1 - name: set-debcache.yml - Setup apt proxy debcache - include: ../../lib/set-debcache.yml + import_tasks: ../../lib/set-debcache.yml - name: Upgrade-packages.yml - update packages - include: ../../lib/upgrade-packages.yml + import_tasks: ../../lib/upgrade-packages.yml - name: Install-docker.yml - setting up docker - include: ../../lib/install-docker.yml + import_tasks: ../../lib/install-docker.yml + + - name: Setup-netbird.yml - setting up netbird mesh vpn + import_tasks: ../../lib/setup-netbird.yml - name: Create grail user user: diff --git a/roles/ind/healthcheck/docker-compose.env b/roles/ind/healthcheck/docker-compose.env deleted file mode 100644 index a792f93..0000000 --- a/roles/ind/healthcheck/docker-compose.env +++ /dev/null @@ -1,7 +0,0 @@ -ALLOWED_HOSTS=healthcheck.local -DEFAULT_FROM_EMAIL=healthcheck@homelab.com -EMAIL_HOST=stmp@healthcheck.local -EMAIL_HOST_PASSWORD=password -EMAIL_HOST_USER=user -SECRET_KEY=jnweqcrun2409vn8q9p34nf2iunskjdncv -SITE_ROOT=http://192.168.0.60 diff --git a/roles/ind/healthcheck/healthcheck-install.yml b/roles/ind/healthcheck/healthcheck-install.yml deleted file mode 100644 index bee5778..0000000 --- a/roles/ind/healthcheck/healthcheck-install.yml +++ /dev/null @@ -1,94 +0,0 @@ ---- -- hosts: all - become: yes - remote_user: ansible - gather_facts: false - - vars: - docker_compose_definition: | - volumes: - db-data: - - services: - db: - image: postgres:16 - volumes: - - db-data:/var/lib/postgresql/data - environment: - - POSTGRES_DB=$DB_NAME - - POSTGRES_PASSWORD=$DB_PASSWORD - web: - image: healthchecks/healthchecks:latest - env_file: - - docker-compose.env - ports: - - "8000:8000" - # To enable SMTP on port 2525, set SMTPD_PORT=2525 in .env - # and uncomment the following line: - # - "2525:2525" - depends_on: - - db - command: bash -c 'while !