-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Hi, I tried upgrading botocore module from version 1.9.23 to 1.12.220 but could not do so, it would be really nice if you could provide me a way as i got permission denied.
And when I check current botocore version it is botocore-1.9.23.dist-info
bash-4.2$ ls -al /var/lib/awx/venv/ansible/lib64/python2.7/site-packages
And because of this dependency my playbook is failing with this error:
"msg": "aws_eks_cluster module requires botocore >= 1.10.32"
I tried adding this task to my playbook but also not working:
tasks:
- name: Ensure botocore and boto3 modules are installed
pip:
name: [ "boto3", "botocore==1.12.220"]
extra_args: "--user"
getting this error:
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["/var/lib/awx/venv/ansible/bin/pip2", "install", "boto3", "botocore==1.12.220"], "msg": "stdout: Requirement already satisfied: boto3 in /var/lib/awx/venv/ansible/lib/python2.7/site-packages\nCollecting botocore==1.12.220\n Using cached https://files.pythonhosted.org/packages/ea/0d/7bd08434788c48f2cd4ab9da937cb7eaaf987a16c8ef4a7f05fc97b84db9/botocore-1.12.220-py2.py3-none-any.whl\nRequirement already satisfied: jmespath<1.0.0,>=0.7.1 in /var/lib/awx/venv/ansible/lib/python2.7/site-packages (from boto3)\nRequirement already satisfied: s3transfer<0.2.0,>=0.1.10 in /var/lib/awx/venv/ansible/lib/python2.7/site-packages (from boto3)\nRequirement already satisfied: docutils<0.16,>=0.10 in /var/lib/awx/venv/ansible/lib/python2.7/site-packages (from botocore==1.12.220)\nRequirement already satisfied: python-dateutil<3.0.0,>=2.1; python_version >= "2.7" in /var/lib/awx/venv/ansible/lib/python2.7/site-packages (from botocore==1.12.220)\nRequirement al…