summaryrefslogtreecommitdiffstats
path: root/roles/docker-storage-setup
diff options
context:
space:
mode:
Diffstat (limited to 'roles/docker-storage-setup')
-rw-r--r--roles/docker-storage-setup/tasks/main.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/docker-storage-setup/tasks/main.yaml b/roles/docker-storage-setup/tasks/main.yaml
index 7202bc46b..06bdd1b11 100644
--- a/roles/docker-storage-setup/tasks/main.yaml
+++ b/roles/docker-storage-setup/tasks/main.yaml
@@ -6,3 +6,12 @@
owner: root
group: root
mode: 0644
+
+- name: stop docker
+ service: name=docker state=stopped
+
+- name: run docker-storage-setup
+ command: docker-storage-setup
+
+- name: start docker
+ service: name=docker state=started