[ansible-project] How to set `ssh_user` and `ssh_key_file` in Ansible 2 Python API?

2016-08-09 Thread Neil Hooey
How do you set `ssh_user` and `ssh_key_file` when making a connection with the Ansible 2 Python API? Adding `user`, `ssh_user` or `remote_user` to the `options` variable in the code on the Ansible 2 Python API documentation page all fail.

[ansible-project] Please re-open issue #14383, it was reintroduced

2016-05-12 Thread Neil Hooey
Someone was able to reproduce a closed GitHub issue in a recent version of Ansible: https://github.com/ansible/ansible/issues/14383#issuecomment-204991729 Could someone re-open it? Thanks. - Neil -- You received this message because you are subscribed to the Google Groups "Ansible Project" g

Re: [ansible-project] Can Ansible pause on errors, allowing user to intervene, then proceed?

2016-05-06 Thread Neil Hooey
What happens when using `--step` and a task fails, does the whole playbook abort? The debug strategy looks like the ideal solution. when is Ansible 2.1 going to be released to Pip? On Fri, May 6, 2016 at 10:05 AM Brian Coca wrote: > You have a couple of options --step allows you to 'step throug

Re: [ansible-project] Can Ansible pause on errors, allowing user to intervene, then proceed?

2016-05-06 Thread Neil Hooey
Using `--start-at-task` won't work because it won't inherit the state from the beginning of the playbook. So facts that were set earlier will be undefined. On Fri, May 6, 2016 at 3:41 AM Johannes Kastl wrote: > On 05.05.16 23:36 Neil Hooey wrote: > > > When initially tryi

[ansible-project] Can Ansible pause on errors, allowing user to intervene, then proceed?

2016-05-05 Thread Neil Hooey
When initially trying to get an elaborate playbook to work, it's very costly to repeat the process when a single task fails. I'd like the playbook to automatically pause on a task that I haven't set `ignore_errors: True` on, let me manually do what the task intended to do, then let the playbook

[ansible-project] Is there an Ansible task timeout?

2015-09-25 Thread Neil Hooey
Is there any way to set a timeout for how long a task can take? When I run an Ansible playbook on hundreds of nodes with concurrency enabled, tasks get stuck on the slowest node. It's hard to find out which node is going slow because the node's IP address will only get printed when the task suc