[ansible-project] Re: 'No Kerberos credentials available' when executing tasks from a server that is not joined to AD.

2016-06-07 Thread Willem Bos
Just tried pywinrm 0.2rc6. Both ansible_winrm_transport=ntlm and ansible_winrm_transport=kerberos work fine. Thanks! On Tuesday, June 7, 2016 at 7:31:23 PM UTC+2, Matt Davis wrote: > > Depending on what you're doing, NTLM might be a better fit for you > (install pywinrm>=0.2.0, set ansible_winrm

[ansible-project] Re: 'No Kerberos credentials available' when executing tasks from a server that is not joined to AD.

2016-06-07 Thread Matt Davis
Depending on what you're doing, NTLM might be a better fit for you (install pywinrm>=0.2.0, set ansible_winrm_transport=ntlm and specify ansible_user/ansible_password). Automatic ticket management in pywinrm/our connection plugin is definitely on my list of "things I wish we could do", but it'

[ansible-project] Re: 'No Kerberos credentials available' when executing tasks from a server that is not joined to AD.

2016-06-07 Thread Willem Bos
For people running into the same problem, this is (more or less) the playbook I use : - hosts: all tasks: - name: Install prerequisite software (using yum) yum: enablerepo: epel update_cache: yes name: "{{ item }}" state: present with_items:

[ansible-project] Re: 'No Kerberos credentials available' when executing tasks from a server that is not joined to AD.

2016-06-07 Thread Trond Hindenes
Hi, Nope, that's work in progress afaik. On Tuesday, June 7, 2016 at 2:27:06 PM UTC+2, Willem Bos wrote: > > Hi Trond, > > Thanks for the confirmation. So, as it is already planned I take it > there's no need to file a feature request? > > Regards, > Willem. > > On Tuesday, June 7, 2016 at 2:02:

[ansible-project] Re: 'No Kerberos credentials available' when executing tasks from a server that is not joined to AD.

2016-06-07 Thread Willem Bos
Hi Trond, Thanks for the confirmation. So, as it is already planned I take it there's no need to file a feature request? Regards, Willem. On Tuesday, June 7, 2016 at 2:02:58 PM UTC+2, Trond Hindenes wrote: > > Hi Willem, this is (for now) by design. > > Matt is working on (or at least planning

[ansible-project] Re: 'No Kerberos credentials available' when executing tasks from a server that is not joined to AD.

2016-06-07 Thread Trond Hindenes
Hi Willem, this is (for now) by design. Matt is working on (or at least planning to work on) automatically invoking kinit behind the scenes to automatically get a Kerberos ticket if needed, but for now, that has to be present. You could probably use a local_action to make sure one exists on the