--
You received this message because you are subscribed to the Google Groups "Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-deve...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It's fine if you want to modify ec2.py to do something different for your environment -- doesn't mean it's right for core, however.
This part:" The addressing still uses destination_variable, and the default behavior if not defined is to use the destination_variable."I have a hard time parsing this.
Hi Michael, thanks for the reply.
On Tuesday, May 6, 2014 6:45:00 AM UTC+3, michael wrote:It's fine if you want to modify ec2.py to do something different for your environment -- doesn't mean it's right for core, however.Well, of course. But I would prefer to see it in core as I think I'm the only once who needs it, hence my questions about the reasons similar changes were rejected in the past. :)
A lot of what you want can be done with a combination of static (even empty) inventory for defining group/host vars and the ec2 script. Put them both in a directory and use that as your inventory.
As for assigning groups, the ec2 script groups by ec2 tags already. You can use the static inventory to put the generated ec2 groups as child groups of your bare-metal ones.
A lot of what you want can be done with a combination of static (even empty) inventory for defining group/host vars and the ec2 script. Put them both in a directory and use that as your inventory.
As for assigning groups, the ec2 script groups by ec2 tags already. You can use the static inventory to put the generated ec2 groups as child groups of your bare-metal ones.
On Wed, May 14, 2014 at 11:33 PM, Hagai Kariti <hka...@gmail.com> wrote:
A lot of what you want can be done with a combination of static (even empty) inventory for defining group/host vars and the ec2 script. Put them both in a directory and use that as your inventory.
If I am understanding this correctly, I've never heard of this. Is there documentation anywhere for this method of inventory?
That seems sub-optimal and not very easy for new users as well as for troubleshooting. We actually share our roles among many teams in the company where each team has a different ansible-playbooks and AWS account (ops, qa, perf, development, support, etc). Not being able to have this be automagical when another user utilizes a shared role makes things more difficult.
On Wed, May 14, 2014 at 11:33 PM, Hagai Kariti <hka...@gmail.com> wrote:
A lot of what you want can be done with a combination of static (even empty) inventory for defining group/host vars and the ec2 script. Put them both in a directory and use that as your inventory.
If I am understanding this correctly, I've never heard of this. Is there documentation anywhere for this method of inventory?
That seems sub-optimal and not very easy for new users as well as for troubleshooting. We actually share our roles among many teams in the company where each team has a different ansible-playbooks and AWS account (ops, qa, perf, development, support, etc). Not being able to have this be automagical when another user utilizes a shared role makes things more difficult.
Oh, we do assign groups with tags. I am just tired of seeing "tag_" in my group names and not having these map 1:1 to role names like everything else :-)As for assigning groups, the ec2 script groups by ec2 tags already. You can use the static inventory to put the generated ec2 groups as child groups of your bare-metal ones.