Remove the constraint on the worker node

This commit is contained in:
Andrea Dell'Amico 2023-05-22 20:09:26 +02:00
parent de6cfbfbb4
commit 37cab28696
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 0 additions and 7 deletions

View File

@ -14,12 +14,6 @@
- name: Manage the installation of the ePAS configuration of the swarm service - name: Manage the installation of the ePAS configuration of the swarm service
block: 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 - name: Add the label that will be used as a constraint for the postgresql DB
docker_node: docker_node:

View File

@ -94,7 +94,6 @@ services:
placement: placement:
constraints: constraints:
- node.role == worker - node.role == worker
- {{ epas_node_constraints }}
restart_policy: restart_policy:
condition: on-failure condition: on-failure
delay: 5s delay: 5s