Some of the v2/ refactoring will enable some new API options that may allow
for making this easier - or it may be something we can entertain after
those refactorings are more complete.

At this time though, it's not a great point to get involved, as it's still
too emergent.

We will let you know when this time is.



On Sat, Nov 22, 2014 at 10:29 PM, Marc Abramowitz <[email protected]>
wrote:

> Here's another hacky way to do it:
>
> ```
>     pb = ansible.playbook.PlayBook(
>         playbook=playbook,
>         host_list=host_list,
>         stats=stats,
>         callbacks=playbook_cb,
>         runner_callbacks=runner_cb,
>         extra_vars=extra_vars,
>         private_key_file=private_key_file,
>         subset=host
>     )
>
>     ansible.constants.HOST_KEY_CHECKING = False
>
>     pb.run()  # This runs the playbook
> ```
>
> but it would be cool if I could pass it to the PlayBook constructor.
>
> --
> 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/7f9bae7b-a007-4cfb-add2-5a9138ab355e%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/7f9bae7b-a007-4cfb-add2-5a9138ab355e%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/CA%2BnsWgxq3W%3DKzTZsaA5L_jzOk%3DpjbZt4y_7XfZ6mBCji1dJDZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to