Ask Your Question

Revision history [back]

You can use the str_replace function to do what you want:

etcd_servers:
    str_replace:
        params:
            __coreos001_ip__: { getattr: [coreos001, first_address] }
        template: http://__coreos001_ip__:4001