You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Hi,
I have a problem provisionning my /etc/hosts files : it seems to me that variables are not expanded, and it used to work previously. I am using ansible 1.7.2.
My host.j2 looks like this: 127.0.0.1 localhost 127.0.1.1 {{ inventory_hostname }} {% if "frontservers" in group_names or "lbservers" in group_names %} {% for host in ["{{ site_one }}", "{{ site_two }}", "{{ site_three }}"]%} 127.0.1.1 {{ host }} {% endfor %} {% endif %}
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
I'm not sure how it worked in the first place, this is pure jinja2
--
Brian Coca
Jean-Philippe Caruana
unread,
Nov 21, 2014, 12:08:29 PM11/21/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
> I'm not sure how it worked in the first place, this is pure jinja2
It worked very fine until recently, and I have been using this playbook
like this for almost a year on my production servers.
It doesn't matter anyway, since we have a working (and lighter) solution.