Skip to content
This repository has been archived by the owner on Jan 15, 2023. It is now read-only.

Commit

Permalink
feat: reload systemd for Ubuntu 20 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
saitho committed Dec 1, 2020
1 parent 8fd2bb4 commit b701a06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/docker/tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b701a06

Please sign in to comment.