jkilpatr c964919a21 Add oooq Ansible Role Support
This adds support for Browbeat to run as a oooq role
none of the playbooks or the roles located in ansible/oooq
are usable if called without oooq, so maybe they should go
in the ci-scripts folder.

Change-Id: Iefcae69af591a790bdeb4acc3c85e75292b6b8ce
2016-11-30 20:34:31 +00:00

16 lines
478 B
YAML

---
#Collect and template Metadata about the deployment
- name: Get Overcloud Image Build date
shell: "curl -s -v -X HEAD {{ undercloud_image_url }} 2>&1 | grep '^< Date:'"
register: build
ignore_errors: true
- name: Make sure the results directory exists
file: "path={{ ansible_env.HOME }}/browbeat/metadata state=directory"
- name: Template Deployment Metadata
template:
"src=version.json.j2 \
dest={{ ansible_env.HOME }}/browbeat/metadata/version.json"