Hi guys

I've already posted this to the Tower support channel but was told to post 
it here as well since this is part of Ansible Core rather than Ansible 
Tower.


I have an older version of ec2.py and ec2.ini checked into my repo from a 
while ago. Today I decided to update it. After that none of my playbooks 
matched my EC2 instances and I got empty host lists from pretty much 
everything. So I started looking around. What I found out is that the new 
one changes all "-" in my tag names to "_". Just wanted to know if Tower 
uses the same ec2.py script because in that case everything will break for 
me when this is released to Tower.

For instance I have an autoscaling group called "prd-gamma-api". With the 
old script, I can find its members using 
"tag_aws_autoscaling_groupName_prd-gamma-api" but in the new one it's 
"tag_aws_autoscaling_groupName_prd_gamma_api". You can see the result is 
this gist:

https://gist.github.com/navidpaya/0b6f7c349a84a0041356

And if this is going to be the behavior, I think it's a very bad one. Why 
would the script tamper with the tags that AWS accepts? It would cause a 
lot of confusion.

Cheers

Navid

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/8760cc51-1971-420c-ad89-e91f666d6ea7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to