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:
caoyuan 2018-02-04 21:12:21 +08:00
parent 0f2d547b2c
commit 37ef38b6a3

View File

@ -25,7 +25,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: