Hi guys bit lost with this can anyone help

22 views
Skip to first unread message

Mohamed Rahiman

unread,
Mar 23, 2021, 12:12:08 PM3/23/21
to ansible...@googlegroups.com
[root@sc-centos-1-2-1-build-1 ~]# ansible-playbook delete.yml

PLAY [ECS delete S3 bucket and all objects] ******************************************************************************************************

TASK [Connect to ECS | Delete S3 bucket] *********************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (botocore or boto3) on sc-centos-1-2-1-build-1's Python /usr/bin/python3.6. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}

PLAY RECAP ***************************************************************************************************************************************
localhost                  : ok=0    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0

[root@sc-centos-1-2-1-build-1 ~]#

Abhijeet Kasurde

unread,
Mar 23, 2021, 12:14:26 PM3/23/21
to ansible...@googlegroups.com
Hi Mohamed,

Can you check if boto3 is installed on `sc-centos-1-2-1-build-1` ? if not install it and re-try.

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


--
Thanks,
Abhijeet Kasurde
Reply all
Reply to author
Forward
0 new messages