From abd649a1ec6e2c0f29afb45eac7ddda022c03d8d Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Tue, 26 Dec 2023 10:49:19 +0100 Subject: [PATCH] add assimiliation warning --- README.md | 2 ++ ansible/roles/pihole/docker-stack.yml.j2 | 3 +++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 71ff836..ffc8d9c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # shoarma +⚠️ Code in this repository has been assimilated by the [home/nixos-servers](https://git.kun.is/home/nixos-servers/src/branch/master/legacy) repository. + Docker Swarm for our home servers. Includes both Terraform and Ansible code to provision and configure the swarm. diff --git a/ansible/roles/pihole/docker-stack.yml.j2 b/ansible/roles/pihole/docker-stack.yml.j2 index 8bfbd93..9581831 100644 --- a/ansible/roles/pihole/docker-stack.yml.j2 +++ b/ansible/roles/pihole/docker-stack.yml.j2 @@ -52,3 +52,6 @@ services: - traefik.http.routers.pihole.service=pihole - traefik.http.services.pihole.loadbalancer.server.port=80 - traefik.docker.network=traefik + placement: + constraints: + - node.role == manager