If you're just testing that one role, why not make a simple playbook that
calls just that?

- hosts: all
  roles:
  - thisone

That should be all you need, since you're pointing it at different
inventory sources.


On Mon, Jun 2, 2014 at 10:06 PM, <[email protected]> wrote:

> I want to develop/test my new role on a virtual node thence apply just
> that one play, um role, against a host that really matters.
> How do I do that without having to edit any files between getting it
> finished and applying it to production?
>
> # this doesn't work...
>
> % ansible-playbook -i testing roles/thisone?
> % ansible-playbook -i production roles/thisone?
>
>
> --tags thisone
>
> looked promising but it would mean going through everything applying tags,
> and then trying to remember what I called them all.
>
>  --
> 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/eba3fed7-46af-4c80-9d41-573bd34d5711%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/eba3fed7-46af-4c80-9d41-573bd34d5711%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMFyvFgkj0%3D%3D71%2BtB0WA2ArZT_uOu4L%3D2f-CbjWtRh9vaQm1LA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to