{"action":"opened","issue":{"url":"https://api.github.com/repos/ansible/ansible-examples/issues/199","repository_url":"https://api.github.com/repos/ansible/ansible-examples","labels_url":"https://api.github.com/repos/ansible/ansible-examples/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-examples/issues/199/comments","events_url":"https://api.github.com/repos/ansible/ansible-examples/issues/199/events","html_url":"https://github.com/ansible/ansible-examples/issues/199","id":231063770,"number":199,"title":"AnsibleUndefinedVariable error when using template with watcher groovy scripts","user":{"login":"Jack-Collins","id":13108027,"avatar_url":"https://avatars1.githubusercontent.com/u/13108027?v=3","gravatar_id":"","url":"https://api.github.com/users/Jack-Collins","html_url":"https://github.com/Jack-Collins","followers_url":"https://api.github.com/users/Jack-Collins/followers","following_url":"https://api.github.com/users/Jack-Collins/following{/other_user}","gists_url":"https://api.github.com/users/Jack-Collins/gists{/gist_id}","starred_url":"https://api.github.com/users/Jack-Collins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jack-Collins/subscriptions","organizations_url":"https://api.github.com/users/Jack-Collins/orgs","repos_url":"https://api.github.com/users/Jack-Collins/repos","events_url":"https://api.github.com/users/Jack-Collins/events{/privacy}","received_events_url":"https://api.github.com/users/Jack-Collins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-24T14:40:44Z","updated_at":"2017-05-24T14:40:44Z","closed_at":null,"body":"watcher is an elasticsearch plugin which uses groovy scripts which have their own variables which also happen to use the {{ variable }} format. Thus I am getting an AnsibleUndefinedVariable  error when trying to render the template because it is trying to find variables which are not ansible variables but watcher variables.\r\n\r\nIs there a workaround to cope with this use case?"}}
{"actor":{"display_login":"Jack-Collins"}}