summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Wilkerson <cwilkers@redhat.com>2017-10-17 07:53:18 -0500
committerPeter Schiffer <pschiffe@redhat.com>2017-10-17 14:53:18 +0200
commit8d14089a84119d4b824bfea991099941122a2c12 (patch)
tree3d813fdd1c748a3c0e10d68f8a8fa9abc7753108
parente5bf2b88760bd90500d3f35a46ae925c47ea49dd (diff)
downloadopenshift-8d14089a84119d4b824bfea991099941122a2c12.tar.gz
openshift-8d14089a84119d4b824bfea991099941122a2c12.tar.bz2
openshift-8d14089a84119d4b824bfea991099941122a2c12.tar.xz
openshift-8d14089a84119d4b824bfea991099941122a2c12.zip
Docker storage fix (#812)
* Added task to stop docker before templating config * Rearranged storage roles in rhv install
-rw-r--r--roles/docker-storage-setup/tasks/main.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/docker-storage-setup/tasks/main.yaml b/roles/docker-storage-setup/tasks/main.yaml
index 209062ca7..dbff85662 100644
--- a/roles/docker-storage-setup/tasks/main.yaml
+++ b/roles/docker-storage-setup/tasks/main.yaml
@@ -1,4 +1,7 @@
---
+- name: stop docker
+ service: name=docker state=stopped
+
- block:
- name: create the docker-storage config file
template:
@@ -7,7 +10,6 @@
owner: root
group: root
mode: 0644
-
when:
- ansible_distribution_version | version_compare('7.4', '>=')
- ansible_distribution == "RedHat"
@@ -20,7 +22,6 @@
owner: root
group: root
mode: 0644
-
when:
- ansible_distribution_version | version_compare('7.4', '<')
- ansible_distribution == "RedHat"