fix task ordering; ensure docker is running before networks will be created
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
87f2cbdd2e
commit
411b417a08
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user