# Mas installation ansible commands

**URL:** <https://forum.ansible.com/t/mas-installation-ansible-commands/41331>\
**Category:** Get Help\
**Tags:** role, playbook\
**Created:** [March 26, 2025, 12:05pm UTC](https://forum.ansible.com/t/mas-installation-ansible-commands/41331 "2025-03-26T12:05:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Poonam](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@Poonam](https://forum.ansible.com/u/Poonam)\
**Post date:** [March 26, 2025, 12:05pm UTC](https://forum.ansible.com/t/mas-installation-ansible-commands/41331/1 "2025-03-26T12:05:48Z")

</div>

Hi,

I am trying to run playbook cp4d.yml but getting error - "ERROR! Unexpected Exception, this is probably a bug: No module named ‘mas’  
"

Not sure about what this means and how to proceed. Any ideas or thoughts?

---

<div class="post-metadata">

**Author:** ![Lyle\_McKarns](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/lyle_mckarns/32/8142_2.png) [@Lyle\_McKarns](https://forum.ansible.com/u/Lyle_McKarns)\
**Post date:** [March 26, 2025, 12:23pm UTC](https://forum.ansible.com/t/mas-installation-ansible-commands/41331/2 "2025-03-26T12:23:57Z")

</div>

Hi @Poonam, can you share the contents of that playbook, or where you got it from?

As a guess, this error often means you’re missing a python module that the playbook or collection requires. So, whatever provides `mas` is likely missing.

---

<div class="post-metadata">

**Author:** ![Poonam](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@Poonam](https://forum.ansible.com/u/Poonam)\
**Post date:** [March 26, 2025, 12:39pm UTC](https://forum.ansible.com/t/mas-installation-ansible-commands/41331/3 "2025-03-26T12:39:59Z")

</div>

I am running ansible-playbook ibm.mas-devops.cp4d. You may be right about python version as I do have python 3.9 and 3.11 in my system. How can I resolve this error?

---

<div class="post-metadata">

**Author:** ![Lyle\_McKarns](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/lyle_mckarns/32/8142_2.png) [@Lyle\_McKarns](https://forum.ansible.com/u/Lyle_McKarns)\
**Post date:** [March 26, 2025, 12:49pm UTC](https://forum.ansible.com/t/mas-installation-ansible-commands/41331/4 "2025-03-26T12:49:00Z")

</div>

I think this [local install](https://ibm-mas.github.io/ansible-devops/#local-install) information from their documentation might be what you’re looking for.

If this is indeed the product you’re installing, they do recommend python 3.11 (but note that any supported python version _should_ work).

---

<div class="post-metadata">

**Author:** ![Poonam](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@Poonam](https://forum.ansible.com/u/Poonam)\
**Post date:** [March 27, 2025, 12:31pm UTC](https://forum.ansible.com/t/mas-installation-ansible-commands/41331/5 "2025-03-27T12:31:18Z")

</div>

Thanks, I did solved partially. I have seen that link earlier but was missing few things.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [April 26, 2025, 12:31pm UTC](https://forum.ansible.com/t/mas-installation-ansible-commands/41331/6 "2025-04-26T12:31:35Z")

</div>

Closed on April 26, 2025, 12:31pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
