all nodes on master for clustered deployment
This commit is contained in:
parent
e69fc35258
commit
33499eb123
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue