c964919a21
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
16 lines
478 B
YAML
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"
|