Use systemd module instead of systemctl command
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
2b3df81154
commit
ae5cbb4fc9
1 changed files with 3 additions and 5 deletions
|
@ -714,13 +714,11 @@
|
|||
- name: buildroot container
|
||||
command: 'docker rmi buildroot; docker build --no-cache --rm -t buildroot /etc/osbs/buildroot/'
|
||||
|
||||
- name: restart docker
|
||||
service:
|
||||
- name: restart and reload docker service
|
||||
systemd:
|
||||
name: docker
|
||||
state: restarted
|
||||
|
||||
- name: systemctl daemon-reload
|
||||
command: 'systemctl daemon-reload'
|
||||
daemon_reload: yes
|
||||
|
||||
roles:
|
||||
- {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue