Package Version
-------------------------------- ---------
ansible 2.9.6
Babel 0.9.6
backports.ssl-match-hostname 3.5.0.1
certifi 2021.10.8
cffi 1.6.0
chardet 4.0.0
cloud-init 19.4
configobj 4.7.2
cryptography 1.7.2
decorator 3.4.0
enum34 1.0.4
ethtool 0.8
futures 3.1.1
idna 2.10
iniparse 0.4
ipaddr 2.1.11
ipaddress 1.0.16
IPy 0.75
javapackages 1.0.0
Jinja2 2.7.2
jsonpatch 1.2
jsonpointer 1.9
kitchen 1.1.1
lxml 3.2.1
M2Crypto 0.21.1
Magic-file-extensions 0.2
MarkupSafe 0.11
netifaces 0.10.4
paramiko 2.1.1
pciutils 1.7.3
perf 0.1
pexpect 2.3
pip 20.3.4
ply 3.4
policycoreutils-default-encoding 0.1
prettytable 0.7.2
pyasn1 0.1.9
pycparser 2.14
pycurl 7.19.0
pygobject 3.22.0
pygpgme 0.3
pyinotify 0.9.4
pyliblzma 0.5.3
pyOpenSSL 0.13.1
pyserial 2.6
python-dateutil 1.5
python-dmidecode 3.10.13
python-linux-procfs 0.4.9
pyudev 0.15
pyxattr 0.5.1
PyYAML 3.10
requests 2.6.0
rhnlib 2.5.65
schedutils 0.4
seobject 0.1
sepolicy 1.1
setuptools 0.9.8
six 1.9.0
slip 0.4.0
slip.dbus 0.4.0
subscription-manager 1.24.51
syspurpose 1.24.51
urlgrabber 3.10
urllib3 1.26.14
virtualenv 15.1.0
wheel 0.37.1
yum-metadata-parser 1.1.4
# cat /var/lib/rundeck/projects/Windows/resources.xml
<?xml version="1.0" encoding="UTF-8"?>
<project>
<node name="Hostname"
description="Windows Server"
tags="ad"
hostname="Hostname"
osArch="amd64"
osFamily="windows"
osName="Windows Server 2019"
osVersion="6.3"
username="rundeckuser"
winrm-password-storage-path="keys/windows.password"
winrm-authtype="basic"
node-executor="WinRMPython"
file-copier="WinRMcpPython"
/>
</project>
Getting this error now
# pip install requests && pip install urllib3
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 pip 21.0 will remove support for this functionality.
Requirement already satisfied: requests in /usr/lib/python2.7/site-packages (2.6.0)
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 pip 21.0 will remove support for this functionality.
Requirement already satisfied: urllib3 in /usr/lib/python2.7/site-packages (1.26.14)
I am not familiar with python virtual envs?. Please help me. how to resolve to control windows servers from rundeck