Fix docker python module installation for sudo

This commit is contained in:
Marty Oehme 2021-07-27 12:35:00 +02:00
parent 89453cd53b
commit 578f8b7dbf
Signed by: Marty
GPG key ID: B7538B8F50A1C800
3 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,7 @@
- name: Handle docker daemon
systemd:
name: docker
state: started
enabled: yes
daemon_reload: yes
become: yes

View file

@ -36,6 +36,7 @@
- download
- packages
become: true
notify: Handle docker daemon
- name: Ensure docker module for python installed
pip: