all nodes on master for clustered deployment

This commit is contained in:
dcore94 2021-05-20 18:28:57 +02:00
parent e69fc35258
commit 33499eb123
2 changed files with 2 additions and 3 deletions

View File

@ -15,7 +15,7 @@ services:
deploy:
replicas: 1
placement:
constraints: [node.role != worker]
constraints: [node.role == worker]
endpoint_mode: dnsrr
restart_policy:
condition: on-failure

View File

@ -1,6 +1,5 @@
---
#- hosts: dev_infra
- hosts: localhost
- hosts: dev_infra
vars_files:
- roles/workers/defaults/smtp.yaml
- roles/pep/defaults/pep_credentials.yaml