diff --git a/roles/docker/tasks/configure.yml b/roles/docker/tasks/configure.yml index 23407df..2c28878 100644 --- a/roles/docker/tasks/configure.yml +++ b/roles/docker/tasks/configure.yml @@ -17,6 +17,10 @@ - name: Reset ssh connection to allow user changes to affect current user meta: reset_connection +- name: reload systemd + command: systemctl daemon-reload + when: ansible_distribution == 'Ubuntu' and ansible_lsb.major_release|int >= 20 + - name: Start the docker service systemd: name: docker