summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-10-27 16:27:10 -0400
committerThomas Wiest <twiest@users.noreply.github.com>2015-10-27 16:27:10 -0400
commit4405a2b0113a54e8dc0c582c5d68132234744979 (patch)
tree25a64a1bd83f48225456807a9aee8129497ab9fa
parent92c2fef6dc571d6568eb46391d1f9f0c8a1bc8b5 (diff)
parenta6c34115d3e06f502846b271a2fc88eb202f767e (diff)
downloadopenshift-4405a2b0113a54e8dc0c582c5d68132234744979.tar.gz
openshift-4405a2b0113a54e8dc0c582c5d68132234744979.tar.bz2
openshift-4405a2b0113a54e8dc0c582c5d68132234744979.tar.xz
openshift-4405a2b0113a54e8dc0c582c5d68132234744979.zip
Merge pull request #750 from twiest/pr
added docker info to the end of docker loop to direct lvm playbook.
-rwxr-xr-xplaybooks/adhoc/docker_loopback_to_lvm/ops-docker-loopback-to-direct-lvm.yml17
1 files changed, 14 insertions, 3 deletions
diff --git a/playbooks/adhoc/docker_loopback_to_lvm/ops-docker-loopback-to-direct-lvm.yml b/playbooks/adhoc/docker_loopback_to_lvm/ops-docker-loopback-to-direct-lvm.yml
index 614b2537a..72fcd77b3 100755
--- a/playbooks/adhoc/docker_loopback_to_lvm/ops-docker-loopback-to-direct-lvm.yml
+++ b/playbooks/adhoc/docker_loopback_to_lvm/ops-docker-loopback-to-direct-lvm.yml
@@ -97,8 +97,19 @@
- debug: var=setup_output
+ - name: extend the vg
+ command: lvextend -l 90%VG /dev/docker_vg/docker-pool
+ register: extend_output
+
+ - debug: var=extend_output
+
- name: start docker
- command: systemctl start docker.service
- register: dockerstart
+ service:
+ name: docker
+ state: restarted
+
+ - name: docker info
+ command: docker info
+ register: dockerinfo
- - debug: var=dockerstart
+ - debug: var=dockerinfo