diff --git a/roles/docker_services/tasks/config.yml b/roles/docker_services/tasks/config.yml index de3c4b0..5e347fc 100644 --- a/roles/docker_services/tasks/config.yml +++ b/roles/docker_services/tasks/config.yml @@ -17,12 +17,9 @@ - name: (Re)start Docker daemon ansible.builtin.service: - name: "{{ item }}" + name: docker enabled: true state: "{{ 'restarted' if daemon_config.changed else 'started' }}" - loop: - - docker.socket - - docker.service - name: Create Docker network for services community.docker.docker_network: