Re: [ansible-project] ansible kerberos library is not installed

2020-05-26 Thread Werner Flamme
Tony Wong schrieb am 25.05.20 um 17:39:
> maybe I am missing krb?
> 
> 
> tony@ubuntu:~/windows$ sudo apt install -y krb5-user libpam-krb5
> libpam-ccreds auth-client-config
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>  krb5-user : Depends: libkrb5-3 (= 1.16-2ubuntu0.1) but 1.16-2ubuntu1.1 is
> to be installed
> E: Unable to correct problems, you have held broken packages.

At his point, I'd try something like "apt-get -f install" to fix the
installed packages.

Obviously some executable is invoked here, and it depends on another
operating system package. The required package is named libkrb5-3 and
should have version 1.16-2ubuntu0.1, but there seems to be only version
1.16-2ubuntu1.1 available.

Try to fix this, since all the following output should depend on that.

HTH, Werner

-- 


-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f7ee1664-3740-510c-d8b2-b7b098293c36%40ufz.de.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [ansible-project] ansible kerberos library is not installed

2020-05-26 Thread Tony Wong
this is error i keep getting


tony@ubuntu:~$ pip install pykerberos
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020.
Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0
will drop support for Python 2.7 in January 2021. More details about Python
2 support in pip, can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not
writeable
Collecting pykerberos
  Downloading pykerberos-1.2.1.tar.gz (24 kB)
Building wheels for collected packages: pykerberos
  Building wheel for pykerberos (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-e0nO8N/pykerberos/setup.py'"'"';
__file__='"'"'/tmp/pip-install-e0nO8N/pykerberos/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
bdist_wheel -d /tmp/pip-wheel-CFz0Gh
   cwd: /tmp/pip-install-e0nO8N/pykerberos/
  Complete output (14 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'kerberos' extension
  creating build
  creating build/temp.linux-x86_64-2.7
  creating build/temp.linux-x86_64-2.7/src
  x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time
-D_FORTIFY_SOURCE=2 -g
-fdebug-prefix-map=/build/python2.7-UKCoZ3/python2.7-2.7.17=.
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/usr/include/python2.7 -c src/kerberos.c -o
build/temp.linux-x86_64-2.7/src/kerberos.o
  In file included from src/kerberos.c:19:
  src/kerberosbasic.h:17:10: fatal error: gssapi/gssapi.h: No such file or
directory
   #include 
^
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  ERROR: Failed building wheel for pykerberos
  Running setup.py clean for pykerberos
Failed to build pykerberos
Installing collected packages: pykerberos
Running setup.py install for pykerberos ... error
ERROR: Command errored out with exit status 1:
 command: /usr/bin/python -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-e0nO8N/pykerberos/setup.py'"'"';
__file__='"'"'/tmp/pip-install-e0nO8N/pykerberos/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record /tmp/pip-record-vbOicj/install-record.txt
--single-version-externally-managed --user --prefix= --compile
--install-headers /home/tony/.local/include/python2.7/pykerberos
 cwd: /tmp/pip-install-e0nO8N/pykerberos/
Complete output (14 lines):
running install
running build
running build_ext
building 'kerberos' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time
-D_FORTIFY_SOURCE=2 -g
-fdebug-prefix-map=/build/python2.7-UKCoZ3/python2.7-2.7.17=.
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/usr/include/python2.7 -c src/kerberos.c -o
build/temp.linux-x86_64-2.7/src/kerberos.o
In file included from src/kerberos.c:19:
src/kerberosbasic.h:17:10: fatal error: gssapi/gssapi.h: No such file
or directory
 #include 
  ^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

ERROR: Command errored out with exit status 1: /usr/bin/python -u -c
'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'/tmp/pip-install-e0nO8N/pykerberos/setup.py'"'"';
__file__='"'"'/tmp/pip-install-e0nO8N/pykerberos/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record /tmp/pip-record-vbOicj/install-record.txt
--single-version-externally-managed --user --prefix= --compile
--install-headers /home/tony/.local/include/python2.7/pykerberos Check the
logs for full command output.
tony@ubuntu:~$ ^C

On Mon, May 25, 2020 at 6:40 PM Jordan Borean  wrote:

> Please read the docs, there are a few packages that need to be installed
> for pip to compile the pykerberos library
> https://docs.ansible.com/ansible/latest/user_guide/windows_winrm.html#installing-the-kerberos-library
> .
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> 

Re: [ansible-project] ansible kerberos library is not installed

2020-05-25 Thread Jordan Borean
Please read the docs, there are a few packages that need to be installed for 
pip to compile the pykerberos library 
https://docs.ansible.com/ansible/latest/user_guide/windows_winrm.html#installing-the-kerberos-library.

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/81358d82-7c54-4cec-a8ce-f18f0e3f82cc%40googlegroups.com.


Re: [ansible-project] ansible kerberos library is not installed

2020-05-25 Thread Antony Stone
On Tuesday 26 May 2020 at 01:10:53, Tony Wong wrote:

> getting this error
> 
> tony@ubuntu:~$ sudo pip install pykerberos

Why use sudo?

> WARNING: The directory '/home/tony/.cache/pip' or its parent directory is
> not owned or is not writable by the current user. The cache has been
> disabled. Check the permissions and owner of that directory. If executing
> pip with sudo, you may want sudo's -H flag.

Regards,


Antony.

-- 
 yes, but this is #lbw, we don't do normal

   Please reply to the list;
 please *don't* CC me.


Re: [ansible-project] ansible kerberos library is not installed

2020-05-25 Thread Tony Wong
getting this error



tony@ubuntu:~$ sudo pip install pykerberos
[sudo] password for tony:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020.
Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0
will drop support for Python 2.7 in January 2021. More details about Python
2 support in pip, can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: The directory '/home/tony/.cache/pip' or its parent directory is
not owned or is not writable by the current user. The cache has been
disabled. Check the permissions and owner of that directory. If executing
pip with sudo, you may want sudo's -H flag.
Collecting pykerberos
  Downloading pykerberos-1.2.1.tar.gz (24 kB)
Building wheels for collected packages: pykerberos
  Building wheel for pykerberos (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-sZaCg1/pykerberos/setup.py'"'"';
__file__='"'"'/tmp/pip-install-sZaCg1/pykerberos/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
bdist_wheel -d /tmp/pip-wheel-sAbKUA
   cwd: /tmp/pip-install-sZaCg1/pykerberos/
  Complete output (14 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'kerberos' extension
  creating build
  creating build/temp.linux-x86_64-2.7
  creating build/temp.linux-x86_64-2.7/src
  x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time
-D_FORTIFY_SOURCE=2 -g
-fdebug-prefix-map=/build/python2.7-UKCoZ3/python2.7-2.7.17=.
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/usr/include/python2.7 -c src/kerberos.c -o
build/temp.linux-x86_64-2.7/src/kerberos.o
  In file included from src/kerberos.c:19:
  src/kerberosbasic.h:17:10: fatal error: gssapi/gssapi.h: No such file or
directory
   #include 
^
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  ERROR: Failed building wheel for pykerberos
  Running setup.py clean for pykerberos
Failed to build pykerberos
Installing collected packages: pykerberos
Running setup.py install for pykerberos ... error
ERROR: Command errored out with exit status 1:
 command: /usr/bin/python -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-sZaCg1/pykerberos/setup.py'"'"';
__file__='"'"'/tmp/pip-install-sZaCg1/pykerberos/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record /tmp/pip-record-EyqB2F/install-record.txt
--single-version-externally-managed --compile --install-headers
/usr/local/include/python2.7/pykerberos
 cwd: /tmp/pip-install-sZaCg1/pykerberos/
Complete output (14 lines):
running install
running build
running build_ext
building 'kerberos' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time
-D_FORTIFY_SOURCE=2 -g
-fdebug-prefix-map=/build/python2.7-UKCoZ3/python2.7-2.7.17=.
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/usr/include/python2.7 -c src/kerberos.c -o
build/temp.linux-x86_64-2.7/src/kerberos.o
In file included from src/kerberos.c:19:
src/kerberosbasic.h:17:10: fatal error: gssapi/gssapi.h: No such file
or directory
 #include 
  ^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

ERROR: Command errored out with exit status 1: /usr/bin/python -u -c
'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'/tmp/pip-install-sZaCg1/pykerberos/setup.py'"'"';
__file__='"'"'/tmp/pip-install-sZaCg1/pykerberos/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record /tmp/pip-record-EyqB2F/install-record.txt
--single-version-externally-managed --compile --install-headers
/usr/local/include/python2.7/pykerberos Check the logs for full command
output.

On Mon, May 25, 2020 at 3:21 PM Jordan Borean  wrote:

> The error message is saying
>
> The python kerberos library is not installed
>>
>
> Make sure you have installed pykerberos by running 'pip install
> pykerberos' or if you are managing Python packages through your system
> package manager 'apt install python-kerberos'.
>
> You can verify whether it is installed with 'python -c "import kerberos"'.
> Make sure the Python you use to execute this check is the same Python that
> Ansible runs with.
>
> Thanks
>
> 

Re: [ansible-project] ansible kerberos library is not installed

2020-05-25 Thread Jordan Borean
The error message is saying

The python kerberos library is not installed
>

Make sure you have installed pykerberos by running 'pip install pykerberos' 
or if you are managing Python packages through your system package manager 
'apt install python-kerberos'.

You can verify whether it is installed with 'python -c "import kerberos"'. 
Make sure the Python you use to execute this check is the same Python that 
Ansible runs with.

Thanks

Jordan

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/92b6295c-8117-4029-80c2-63a08b532cdc%40googlegroups.com.


Re: [ansible-project] ansible kerberos library is not installed

2020-05-25 Thread David Foley
I would advise speaking to your AD Team or your GPO Administrator, They may 
have updated their GPO Policies to stop communication over the ports used 
for Kerberos:  This Issue doesn't seem to be an Ansible issue but an issue 
with your Environment setup.

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/09a4c5c9-e5ce-4766-93cc-0ef70013cbcd%40googlegroups.com.


Re: [ansible-project] ansible kerberos library is not installed

2020-05-25 Thread Tony Wong
any ieea? I am able to chem ntlm auth is working fine. its just kerberos is
failed

On Mon, May 25, 2020 at 8:39 AM Tony Wong  wrote:

> maybe I am missing krb?
>
>
> tony@ubuntu:~/windows$ sudo apt install -y krb5-user libpam-krb5
> libpam-ccreds auth-client-config
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  krb5-user : Depends: libkrb5-3 (= 1.16-2ubuntu0.1) but 1.16-2ubuntu1.1 is
> to be installed
> E: Unable to correct problems, you have held broken packages.
>
> On Mon, May 25, 2020 at 7:00 AM Tony Wong  wrote:
>
>> any idea? I cant connect to my windows machines now and winrm is setup
>> correctly
>>
>> On Mon, May 25, 2020 at 6:44 AM Tony Wong  wrote:
>>
>>> not sure what happened but this was working last week.
>>>
>>> now I am getting this error
>>>
>>>
>>> tony@ubuntu:~/windows$ ansible windows -i hosts -m win_ping -v
>>> ansible 2.9.0
>>>   config file = /etc/ansible/ansible.cfg
>>>   configured module search path =
>>> [u'/home/tony/.ansible/plugins/modules',
>>> u'/usr/share/ansible/plugins/modules']
>>>   ansible python module location =
>>> /home/tony/.local/lib/python2.7/site-packages/ansible
>>>   executable location = /home/tony/.local/bin/ansible
>>>   python version = 2.7.17 (default, Apr 15 2020, 17:20:14) [GCC 7.5.0]
>>> Using /etc/ansible/ansible.cfg as config file
>>> setting up inventory plugins
>>> host_list declined parsing /home/tony/windows/hosts as it did not pass
>>> its verify_file() method
>>> script declined parsing /home/tony/windows/hosts as it did not pass its
>>> verify_file() method
>>> auto declined parsing /home/tony/windows/hosts as it did not pass its
>>> verify_file() method
>>> Parsed /home/tony/windows/hosts inventory source with ini plugin
>>> Loading callback plugin minimal of type stdout, v2.0 from
>>> /home/tony/.local/lib/python2.7/site-packages/ansible/plugins/callback/minimal.pyc
>>> META: ran handlers
>>> Using module file
>>> /home/tony/.local/lib/python2.7/site-packages/ansible/modules/windows/win_ping.ps1
>>> Using module file
>>> /home/tony/.local/lib/python2.7/site-packages/ansible/modules/windows/win_ping.ps1
>>> Pipelining is enabled.
>>> Pipelining is enabled.
>>>  ESTABLISH WINRM CONNECTION FOR USER: adm-tkw@ on PORT
>>> 5986 TO pa-mgt01
>>>  ESTABLISH WINRM CONNECTION FOR USER: adm-tkw@x on
>>> PORT 5986 TO rw-ctxweb-02
>>> pa-mgt01.wsgr.com | UNREACHABLE! => {
>>> "changed": false,
>>> "msg": "kerberos: the python kerberos library is not installed",
>>> "unreachable": true
>>> }
>>> rw-ctxweb-02.wsgr.com | UNREACHABLE! => {
>>> "changed": false,
>>> "msg": "kerberos: the python kerberos library is not installed",
>>> "unreachable": true
>>>
>>> --
>>> 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 ansible-project+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ansible-project/cec11813-74cd-406b-acf3-1797f2415e25%40googlegroups.com
>>> 
>>> .
>>>
>>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CALmkhkpFU4JwQOqtAmyz%2BsQRDV6CAMRfqgoFrYr4xOrKtyd-vA%40mail.gmail.com.


Re: [ansible-project] ansible kerberos library is not installed

2020-05-25 Thread Tony Wong
maybe I am missing krb?


tony@ubuntu:~/windows$ sudo apt install -y krb5-user libpam-krb5
libpam-ccreds auth-client-config
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 krb5-user : Depends: libkrb5-3 (= 1.16-2ubuntu0.1) but 1.16-2ubuntu1.1 is
to be installed
E: Unable to correct problems, you have held broken packages.

On Mon, May 25, 2020 at 7:00 AM Tony Wong  wrote:

> any idea? I cant connect to my windows machines now and winrm is setup
> correctly
>
> On Mon, May 25, 2020 at 6:44 AM Tony Wong  wrote:
>
>> not sure what happened but this was working last week.
>>
>> now I am getting this error
>>
>>
>> tony@ubuntu:~/windows$ ansible windows -i hosts -m win_ping -v
>> ansible 2.9.0
>>   config file = /etc/ansible/ansible.cfg
>>   configured module search path =
>> [u'/home/tony/.ansible/plugins/modules',
>> u'/usr/share/ansible/plugins/modules']
>>   ansible python module location =
>> /home/tony/.local/lib/python2.7/site-packages/ansible
>>   executable location = /home/tony/.local/bin/ansible
>>   python version = 2.7.17 (default, Apr 15 2020, 17:20:14) [GCC 7.5.0]
>> Using /etc/ansible/ansible.cfg as config file
>> setting up inventory plugins
>> host_list declined parsing /home/tony/windows/hosts as it did not pass
>> its verify_file() method
>> script declined parsing /home/tony/windows/hosts as it did not pass its
>> verify_file() method
>> auto declined parsing /home/tony/windows/hosts as it did not pass its
>> verify_file() method
>> Parsed /home/tony/windows/hosts inventory source with ini plugin
>> Loading callback plugin minimal of type stdout, v2.0 from
>> /home/tony/.local/lib/python2.7/site-packages/ansible/plugins/callback/minimal.pyc
>> META: ran handlers
>> Using module file
>> /home/tony/.local/lib/python2.7/site-packages/ansible/modules/windows/win_ping.ps1
>> Using module file
>> /home/tony/.local/lib/python2.7/site-packages/ansible/modules/windows/win_ping.ps1
>> Pipelining is enabled.
>> Pipelining is enabled.
>>  ESTABLISH WINRM CONNECTION FOR USER: adm-tkw@ on PORT
>> 5986 TO pa-mgt01
>>  ESTABLISH WINRM CONNECTION FOR USER: adm-tkw@x on
>> PORT 5986 TO rw-ctxweb-02
>> pa-mgt01.wsgr.com | UNREACHABLE! => {
>> "changed": false,
>> "msg": "kerberos: the python kerberos library is not installed",
>> "unreachable": true
>> }
>> rw-ctxweb-02.wsgr.com | UNREACHABLE! => {
>> "changed": false,
>> "msg": "kerberos: the python kerberos library is not installed",
>> "unreachable": true
>>
>> --
>> 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 ansible-project+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/cec11813-74cd-406b-acf3-1797f2415e25%40googlegroups.com
>> 
>> .
>>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CALmkhkpat%2BEktozYKRq-eQLA-5sFrHru8rT%3DqXVoqvEsmhfcYQ%40mail.gmail.com.


Re: [ansible-project] ansible kerberos library is not installed

2020-05-25 Thread Tony Wong
any idea? I cant connect to my windows machines now and winrm is setup
correctly

On Mon, May 25, 2020 at 6:44 AM Tony Wong  wrote:

> not sure what happened but this was working last week.
>
> now I am getting this error
>
>
> tony@ubuntu:~/windows$ ansible windows -i hosts -m win_ping -v
> ansible 2.9.0
>   config file = /etc/ansible/ansible.cfg
>   configured module search path = [u'/home/tony/.ansible/plugins/modules',
> u'/usr/share/ansible/plugins/modules']
>   ansible python module location =
> /home/tony/.local/lib/python2.7/site-packages/ansible
>   executable location = /home/tony/.local/bin/ansible
>   python version = 2.7.17 (default, Apr 15 2020, 17:20:14) [GCC 7.5.0]
> Using /etc/ansible/ansible.cfg as config file
> setting up inventory plugins
> host_list declined parsing /home/tony/windows/hosts as it did not pass its
> verify_file() method
> script declined parsing /home/tony/windows/hosts as it did not pass its
> verify_file() method
> auto declined parsing /home/tony/windows/hosts as it did not pass its
> verify_file() method
> Parsed /home/tony/windows/hosts inventory source with ini plugin
> Loading callback plugin minimal of type stdout, v2.0 from
> /home/tony/.local/lib/python2.7/site-packages/ansible/plugins/callback/minimal.pyc
> META: ran handlers
> Using module file
> /home/tony/.local/lib/python2.7/site-packages/ansible/modules/windows/win_ping.ps1
> Using module file
> /home/tony/.local/lib/python2.7/site-packages/ansible/modules/windows/win_ping.ps1
> Pipelining is enabled.
> Pipelining is enabled.
>  ESTABLISH WINRM CONNECTION FOR USER: adm-tkw@ on PORT 5986
> TO pa-mgt01
>  ESTABLISH WINRM CONNECTION FOR USER: adm-tkw@x on
> PORT 5986 TO rw-ctxweb-02
> pa-mgt01.wsgr.com | UNREACHABLE! => {
> "changed": false,
> "msg": "kerberos: the python kerberos library is not installed",
> "unreachable": true
> }
> rw-ctxweb-02.wsgr.com | UNREACHABLE! => {
> "changed": false,
> "msg": "kerberos: the python kerberos library is not installed",
> "unreachable": true
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/cec11813-74cd-406b-acf3-1797f2415e25%40googlegroups.com
> 
> .
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CALmkhkqMJwhR55_r86Ae1t351zSweE2DaA9b-OZVN5zgz72NBA%40mail.gmail.com.


[ansible-project] ansible kerberos library is not installed

2020-05-25 Thread Tony Wong
not sure what happened but this was working last week.

now I am getting this error


tony@ubuntu:~/windows$ ansible windows -i hosts -m win_ping -v
ansible 2.9.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/tony/.ansible/plugins/modules', 
u'/usr/share/ansible/plugins/modules']
  ansible python module location = 
/home/tony/.local/lib/python2.7/site-packages/ansible
  executable location = /home/tony/.local/bin/ansible
  python version = 2.7.17 (default, Apr 15 2020, 17:20:14) [GCC 7.5.0]
Using /etc/ansible/ansible.cfg as config file
setting up inventory plugins
host_list declined parsing /home/tony/windows/hosts as it did not pass its 
verify_file() method
script declined parsing /home/tony/windows/hosts as it did not pass its 
verify_file() method
auto declined parsing /home/tony/windows/hosts as it did not pass its 
verify_file() method
Parsed /home/tony/windows/hosts inventory source with ini plugin
Loading callback plugin minimal of type stdout, v2.0 from 
/home/tony/.local/lib/python2.7/site-packages/ansible/plugins/callback/minimal.pyc
META: ran handlers
Using module file 
/home/tony/.local/lib/python2.7/site-packages/ansible/modules/windows/win_ping.ps1
Using module file 
/home/tony/.local/lib/python2.7/site-packages/ansible/modules/windows/win_ping.ps1
Pipelining is enabled.
Pipelining is enabled.
 ESTABLISH WINRM CONNECTION FOR USER: adm-tkw@ on PORT 5986 
TO pa-mgt01
 ESTABLISH WINRM CONNECTION FOR USER: adm-tkw@x on PORT 
5986 TO rw-ctxweb-02
pa-mgt01.wsgr.com | UNREACHABLE! => {
"changed": false,
"msg": "kerberos: the python kerberos library is not installed",
"unreachable": true
}
rw-ctxweb-02.wsgr.com | UNREACHABLE! => {
"changed": false,
"msg": "kerberos: the python kerberos library is not installed",
"unreachable": true

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/cec11813-74cd-406b-acf3-1797f2415e25%40googlegroups.com.