fix task ordering; ensure docker is running before networks will be created
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Robert Kaussow 2020-06-15 21:37:21 +02:00
parent 87f2cbdd2e
commit 411b417a08
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
1 changed files with 6 additions and 6 deletions

View File

@ -51,6 +51,12 @@
- /etc/subuid
- /etc/subgid
- name: Ensure docker engine is up and running
service:
name: "{{ dockerengine_service }}"
enabled: True
state: started
- name: Create docker networks
docker_network:
name: "{{ item.name }}"
@ -63,11 +69,5 @@
loop_control:
label: "{{ item.name }}"
notify: __docker_restart
- name: Ensure docker engine is up and running
service:
name: "{{ dockerengine_service }}"
enabled: True
state: started
become: True
become_user: root