)]}'
{"container-images/overcloud_containers.yaml.j2":[{"author":{"_account_id":4571,"name":"Steve Baker","email":"sbaker@redhat.com","username":"steve-stevebaker"},"change_message_id":"e6c328a5af5b3b1b382296dcf9a35ef7986656d7","unresolved":false,"context_lines":[{"line_number":365,"context_line":"# another {{keyword}} to describe where we want and where we do not"},{"line_number":366,"context_line":"#- imagename: \"ceph/daemon:tag-build-master-jewel-centos-7\""},{"line_number":367,"context_line":"#  params:"},{"line_number":368,"context_line":"#  - DockerCephDaemonImage"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"ff346bd7_e075f599","line":368,"updated":"2017-07-23 23:22:01.000000000","message":"fyi I was thinking of something like the following\n\n  {% set ceph_namespace\u003dceph_namespace or \"ceph\" %}\n  {% set ceph_daemon\u003dceph_daemon or \"daemon\" %}\n  {% set ceph_tag\u003dceph_tag or \"tag-build-master-jewel-centos-7\" %}\n  - imagename: \"{{ ceph_namespace }}/{{ ceph_daemon }}:{{ ceph_tag }}\"\n\nThen the prepare command gets an extra option for arbitrary template substitutions, so something like:\n\n  openstack overcloud container image prepare \\\n      --namespace tripleoupstream \\\n      --tag latest \\\n      --images-file overcloud_containers.yaml \\\n      --sub ceph_namespace\u003dmyceph \\\n      --sub ceph_tag\u003dlatest \\\n      --env-file $HOME/docker_registry.yaml","commit_id":"fea9b727fe026a2a81d773cf3249209aa7095e94"},{"author":{"_account_id":8042,"name":"Jiří Stránský","email":"jistr@redhat.com","username":"jistr"},"change_message_id":"5bf3ae3f3e4c8ebe2fef81ea6cf190f8e4368707","unresolved":false,"context_lines":[{"line_number":365,"context_line":"# another {{keyword}} to describe where we want and where we do not"},{"line_number":366,"context_line":"#- imagename: \"ceph/daemon:tag-build-master-jewel-centos-7\""},{"line_number":367,"context_line":"#  params:"},{"line_number":368,"context_line":"#  - DockerCephDaemonImage"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"ff346bd7_2babd21d","line":368,"in_reply_to":"ff346bd7_e075f599","updated":"2017-07-24 13:00:08.000000000","message":"Sounds good, btw instead of writing `set` statements we could use the `default` filter, which should be a bit easier to follow:\n\n    {{ ceph_namespace|default(\u0027ceph\u0027) }}\n\nhttp://jinja.pocoo.org/docs/2.9/templates/#default","commit_id":"fea9b727fe026a2a81d773cf3249209aa7095e94"}]}
