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