diff --git a/playbooks/roles/swarm-manage/templates/swarm-agent.service.j2 b/playbooks/roles/swarm-manage/templates/swarm-agent.service.j2 index 8f32ff6..8f6659a 100644 --- a/playbooks/roles/swarm-manage/templates/swarm-agent.service.j2 +++ b/playbooks/roles/swarm-manage/templates/swarm-agent.service.j2 @@ -3,7 +3,6 @@ Description=docker swarm agent After=docker.service [Service] -ExecStartPre=/usr/bin/docker rm -f %n ExecStart=/usr/bin/docker run \ --name %n \ --rm \ diff --git a/playbooks/roles/swarm-manage/templates/swarm-manager.service.j2 b/playbooks/roles/swarm-manage/templates/swarm-manager.service.j2 index e4aab44..4cc98ac 100644 --- a/playbooks/roles/swarm-manage/templates/swarm-manager.service.j2 +++ b/playbooks/roles/swarm-manage/templates/swarm-manager.service.j2 @@ -3,7 +3,6 @@ Description=docker swarm manager After=docker.service [Service] -ExecStartPre=/usr/bin/docker rm -f %n ExecStart=/usr/bin/docker run \ --name %n \ --rm \