Fix the warning when reload the docker
use systemd module to reload the docker service, rather than
command
Change-Id: I2e3b2299365701a08de4025d6ad34cb492b33fda
Closes-Bug: #1751690
(cherry picked from commit 37ef38b6a3
)
This commit is contained in:
parent
33e6a4a97d
commit
c1c79f9e08
|
@ -15,7 +15,9 @@
|
|||
|
||||
- name: Reload docker service file
|
||||
become: True
|
||||
command: systemctl daemon-reload
|
||||
systemd:
|
||||
name: docker
|
||||
daemon_reload: yes
|
||||
|
||||
- name: Get stat of libvirtd apparmor profile
|
||||
stat: path=/etc/apparmor.d/usr.sbin.libvirtd
|
||||
|
|
Loading…
Reference in New Issue