Hi,
How can I override the hosts: definition in any playbook ? I've got some
playbooks that run against remote hosts, which I want to keep in the
playbook, but need to be able to run /test it against "localhost" as well
... I guess adding localhost would be an option, but I dont want it to run
against the other hosts in that case - I found in some forums to use a
--extra-vars "target=host" and use - hosts: "{{ target }}" but that would
mean I have to update all my playbooks and how I'd run them ...
Any suggestions ?
Thanks
Alex
--
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/40b9c305-1c75-4f48-81d1-1578156b5767%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.