I think those variables are documented in the ec2 dynamic inventory
script. I don't now if there's a way to only add a tag, but you could
try using a different group in your hosts line, e.g., try selecting
your hosts based in another tag value besides Name. Or you may be able
to limit this task with a "when" clause using variables defined by the
ec2 script, but I never tested this.
On Wed, Apr 1, 2015 at 8:02 AM, Kegan Holtzhausen
<
kegan.ho...@kegans.com> wrote:
> The tag command works, but it seems to re-tag all my instances who match the
> filter. Is there something I need to do to "add" tags only?
>
> I am trying to tag nodes which I deploy specific hazelcuts applications to
> in order to setup hz cluster detection.
>
> /K
>
> On Tuesday, March 31, 2015 at 6:01:53 PM UTC+2, Ivan Sichmann wrote:
>>
> --
> 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
ansible-proje...@googlegroups.com.
> To post to this group, send email to
ansible...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/ansible-project/ad11a9c6-7cc3-4fae-b0c9-5e306a8cbeaf%40googlegroups.com.
>
> For more options, visit
https://groups.google.com/d/optout.
--
Ivan Sichmann Freitas