summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2015-10-24 10:26:34 -0400
committerThomas Wiest <twiest@redhat.com>2015-10-24 13:31:45 -0400
commita6c34115d3e06f502846b271a2fc88eb202f767e (patch)
tree39f9006b4a7b9184fb8e4df65171a5f4417ecc11 /playbooks
parentab959a27d43b1f3a1ef1bbc6eccdde24be1c89f0 (diff)
downloadopenshift-a6c34115d3e06f502846b271a2fc88eb202f767e.tar.gz
openshift-a6c34115d3e06f502846b271a2fc88eb202f767e.tar.bz2
openshift-a6c34115d3e06f502846b271a2fc88eb202f767e.tar.xz
openshift-a6c34115d3e06f502846b271a2fc88eb202f767e.zip
added docker info to the end of docker loop to direct lvm playbook.
Diffstat (limited to 'playbooks')
-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