forked from ePAS-ISTI/ansible-role-epas
Remove the constraint on the worker node
This commit is contained in:
parent
de6cfbfbb4
commit
37cab28696
|
@ -14,12 +14,6 @@
|
|||
|
||||
- name: Manage the installation of the ePAS configuration of the swarm service
|
||||
block:
|
||||
- name: Add the label that will be used as a constraint for the attachments volume
|
||||
docker_node:
|
||||
hostname: '{{ epas_docker_attachments_node }}'
|
||||
labels:
|
||||
epas_storage: 'attachments'
|
||||
labels_state: 'merge'
|
||||
|
||||
- name: Add the label that will be used as a constraint for the postgresql DB
|
||||
docker_node:
|
||||
|
|
|
@ -94,7 +94,6 @@ services:
|
|||
placement:
|
||||
constraints:
|
||||
- node.role == worker
|
||||
- {{ epas_node_constraints }}
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
|
|
Loading…
Reference in New Issue