apigee / henchman

Orchestration and Automation tool
BSD 2-Clause "Simplified" License
109 stars 19 forks source link

Variable not dereferenced with include tasks #104

Closed rajeshjadhav closed 8 years ago

rajeshjadhav commented 8 years ago
  - name: Include Standard playbook
    include: "foo-bar/foo-standard.yaml"
    vars:
      component: {{ zookeeper_profile }}
      version: {{ zookeeper_version }}
jlin21 commented 8 years ago

To use a variable vars should be appended. E.G {{ vars.zookeeper_profile }}. Currently referencing variables within variables is not supported. Support can be added for rendering variables for included task variables

rajeshjadhav commented 8 years ago

Yes I tried with and without the vars. prefix. Same issue

jlin21 commented 8 years ago

Included Vars can now reference plan level variables using {{ variable }} notation. Vars with maps may have some issues for now.