6b7220639a
By running each deployment file through the Ansible template module, we're able to include ansible variables and jinja expressions in the deployment file that will be resolved at config-download runtime. This allows each deployment file to be more generic instead of having to contain the hardcoded data directly out of Heat. Change-Id: Iae9ccdf6fad2fabdce66650ee7b064f1ac9528e4 implements: blueprint reduce-deployment-resources
21 lines
465 B
Plaintext
21 lines
465 B
Plaintext
AnsibleDeployment:
|
|
id: 391263ba-3d06-43b6-a47e-481808aaff20
|
|
creation_time: "None"
|
|
deployment_name: AnsibleDeployment
|
|
name: None
|
|
options: None
|
|
group: ansible
|
|
inputs:
|
|
- name: deploy_server_id
|
|
description: None
|
|
type: None
|
|
value: |-
|
|
169b46f8-1965-4d90-a7de-f36fb4a830fe
|
|
outputs:
|
|
config: |
|
|
tasks:
|
|
- name: An Ansible task
|
|
copy:
|
|
content: "{{ some_hostvar | to_json }}"
|
|
dest: /some/path
|