# AWX and AWS\_SSM

**URL:** <https://forum.ansible.com/t/awx-and-aws-ssm/34136>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [November 1, 2020, 1:30pm UTC](https://forum.ansible.com/t/awx-and-aws-ssm/34136 "2020-11-01T13:30:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Siddhartha\_Pillutla](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@Siddhartha\_Pillutla](https://forum.ansible.com/u/Siddhartha_Pillutla)\
**Post date:** [November 1, 2020, 1:30pm UTC](https://forum.ansible.com/t/awx-and-aws-ssm/34136/1 "2020-11-01T13:30:40Z")

</div>

Hi,

I am trying to integrate the aws\_ssm plugin with AWX (15.0.1) that runs on Docker. The ansible version is 2.9.14.

While this works great under ansible on the command line and even Ansible Tower, it fails with the error below on AWX 15.0.1:

TASK [Create a Directory] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
**task path: /tmp/awx\_167\_imgbt\_jb/project/create\_directory.yml:11**  
fatal: [ip-172-28-73-141.eu-west-1.compute.internal]: FAILED! =\> {  
“msg”: “the connection plugin ‘aws\_ssm’ was not found”  
}

I have the aws\_ssm.py under the /usr/share/ansible/plugins/connection/ as well.

bash-4.4# ls -ltr /usr/share/ansible/plugins/connection/aws\_ssm.py  
-rw-r–r-- 1 root root 21073 Oct 29 17:44 /usr/share/ansible/plugins/connection/aws\_ssm.py

I am not sure why this is failing and will appreciate your help.

Best!

Sidd

---

<div class="post-metadata">

**Author:** ![sdmorel](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@sdmorel](https://forum.ansible.com/u/sdmorel)\
**Post date:** [November 3, 2020, 12:26pm UTC](https://forum.ansible.com/t/awx-and-aws-ssm/34136/2 "2020-11-03T12:26:33Z")

</div>

Hello,

You can try installing that module in the **/var/lib/awx/ansible** virtualenv since that’s the one used by default to run Ansible jobs from AWX.

Good luck!

---

<div class="post-metadata">

**Author:** ![Siddhartha\_Pillutla](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@Siddhartha\_Pillutla](https://forum.ansible.com/u/Siddhartha_Pillutla)\
**Post date:** [November 3, 2020, 1:24pm UTC](https://forum.ansible.com/t/awx-and-aws-ssm/34136/3 "2020-11-03T13:24:49Z")

</div>

Thank for replying Sergio!

I tried to install the plugin /var/lib/awx/ansible and even /var/lib/awx/.ansible and /usr/share/ansible as well.  
I also tried modifying the /etc/ansible/ansible.cfg within the Docker environment. It does not work for some reason.

bash-4.4# uname -a  
Linux awxweb 4.18.0-193.28.1.el8\_2.x86\_64 #1 SMP Fri Oct 16 13:38:49 EDT 2020 x86\_64 x86\_64 x86\_64 GNU/Linux  
bash-4.4# ls -ltr /var/lib/awx/ansible/plugins/connection/  
total 24  
-rw-r–r–. 1 root root 21073 Nov 3 13:01 aws\_ssm.py  
bash-4.4# ls -ltr /var/lib/awx/.ansible/plugins/connection/  
total 24  
-rw-r–r–. 1 root root 21073 Nov 3 13:12 aws\_ssm.py  
bash-4.4# ls -ltr /usr/share/ansible/plugins/connection/  
total 24  
-rw-r–r–. 1 root root 21073 Nov 1 12:57 aws\_ssm.py

Just to double check on the overall path to the aws\_ssm.py. Could you confirm this is right?

---

<div class="post-metadata">

**Author:** ![sdmorel](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@sdmorel](https://forum.ansible.com/u/sdmorel)\
**Post date:** [November 6, 2020, 7:45am UTC](https://forum.ansible.com/t/awx-and-aws-ssm/34136/4 "2020-11-06T07:45:59Z")

</div>

Sorry for the delay,

Have you tried installing the AWS collection?  
[https://galaxy.ansible.com/community/aws](https://galaxy.ansible.com/community/aws)

In your project, include a collections/requirements.yml file, it should be installed when you update the project.  
See [https://docs.ansible.com/ansible/devel/user\_guide/collections\_using.html](https://docs.ansible.com/ansible/devel/user_guide/collections_using.html) about how to complete the requirements.yml file

Good luck!
