Tasks hook for preparing BM host for deploying containerized services
authorJiri Stransky <jistr@redhat.com>
Thu, 9 Mar 2017 13:47:12 +0000 (14:47 +0100)
committerJiri Stransky <jistr@redhat.com>
Mon, 13 Mar 2017 10:01:06 +0000 (11:01 +0100)
commit6050809e5741842714167276bd4d3b6b3414609e
treeb1e6cdf394f9332f5d3293b726f6d398cb47d702
parent5fb25c2c4a633638731f5725ddf5b6a397aabbf8
Tasks hook for preparing BM host for deploying containerized services

This implements a host_prep_tasks hook where we can specify Ansible
tasks to perform on the host before deploying containerized
services. The hook runs in a single step, the assumption is that we will
mostly use the hook for creating per-service directories on the host to
ensure we are able to mount them into the containers. (We cannot do this
operation via Puppet because all containerized services run their Puppet
within a config container, so Puppet doesn't have access to host's
filesystem.)

Change-Id: I7d8bac39e0cd422fd651eefe29f7d10941ab4a1a
docker/docker-steps.j2
docker/services/services.yaml
tools/yaml-validate.py