all nodes on master for clustered deployment
This commit is contained in:
parent
e69fc35258
commit
33499eb123
|
@ -15,7 +15,7 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.role != worker]
|
constraints: [node.role == worker]
|
||||||
endpoint_mode: dnsrr
|
endpoint_mode: dnsrr
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
#- hosts: dev_infra
|
- hosts: dev_infra
|
||||||
- hosts: localhost
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- roles/workers/defaults/smtp.yaml
|
- roles/workers/defaults/smtp.yaml
|
||||||
- roles/pep/defaults/pep_credentials.yaml
|
- roles/pep/defaults/pep_credentials.yaml
|
||||||
|
|
Loading…
Reference in New Issue