diff --git a/tasks/main.yml b/tasks/main.yml index e2b0371..e902b13 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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: diff --git a/templates/epas-docker-compose.yml.j2 b/templates/epas-docker-compose.yml.j2 index 7c2e7d9..fdd5912 100644 --- a/templates/epas-docker-compose.yml.j2 +++ b/templates/epas-docker-compose.yml.j2 @@ -94,7 +94,6 @@ services: placement: constraints: - node.role == worker - - {{ epas_node_constraints }} restart_policy: condition: on-failure delay: 5s