Fix the warning when reload the docker
use systemd module to reload the docker service, rather than command Change-Id: I2e3b2299365701a08de4025d6ad34cb492b33fda Closes-Bug: #1751690
This commit is contained in:
parent
0f2d547b2c
commit
37ef38b6a3
@ -25,7 +25,9 @@
|
|||||||
|
|
||||||
- name: Reload docker service file
|
- name: Reload docker service file
|
||||||
become: True
|
become: True
|
||||||
command: systemctl daemon-reload
|
systemd:
|
||||||
|
name: docker
|
||||||
|
daemon_reload: yes
|
||||||
|
|
||||||
- name: Get stat of libvirtd apparmor profile
|
- name: Get stat of libvirtd apparmor profile
|
||||||
stat:
|
stat:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user