# mso\_schema\_site\_anp\_epg\_domain module issue?

**URL:** <https://forum.ansible.com/t/mso-schema-site-anp-epg-domain-module-issue/33063>\
**Category:** Ansible Project\
**Created:** [June 1, 2020, 3:00pm UTC](https://forum.ansible.com/t/mso-schema-site-anp-epg-domain-module-issue/33063 "2020-06-01T15:00:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Albert\_Short](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@Albert\_Short](https://forum.ansible.com/u/Albert_Short)\
**Post date:** [June 1, 2020, 3:00pm UTC](https://forum.ansible.com/t/mso-schema-site-anp-epg-domain-module-issue/33063/1 "2020-06-01T15:00:25Z")

</div>

Hello all,

I have tried using the **mso\_schema\_site\_anp\_epg\_domai** n module today with the code syntax below but keep getting the following error message.

Any ideas on what the issues? Or has someone else seen this before?

`

# ansible-playbook test\_mso.yml -vvv

ansible-playbook 2.8.6  
config file = /**/ansible.cfg  
configured module search path = [‘/root/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’]  
ansible python module location = /usr/local/lib/python3.6/site-packages/ansible  
executable location = /usr/local/bin/ansible-playbook  
python version = 3.6.8 (default, Aug 7 2019, 17:28:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]  
Using /**/ansible.cfg as config file  
host\_list declined parsing /**/hosts as it did not pass it’s verify\_file() method  
script declined parsing /**/hosts as it did not pass it’s verify\_file() method  
auto declined parsing /**/hosts as it did not pass it’s verify\_file() method  
Parsed /**/hosts inventory source with ini plugin  
**ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.**

The error appears to be in ‘/\*\*\*\*\*\*/test\_mso.yml’: line 146, column 7, but may  
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: Add a new VMM Domain Association to a Schema Site EPG  
^ here

`

`

---

<div class="post-metadata">

**Author:** ![Thomas\_Renzy](https://avatars.discourse-cdn.com/v4/letter/t/a9adbd/32.png) [@Thomas\_Renzy](https://forum.ansible.com/u/Thomas_Renzy)\
**Post date:** [June 1, 2020, 10:18pm UTC](https://forum.ansible.com/t/mso-schema-site-anp-epg-domain-module-issue/33063/2 "2020-06-01T22:18:03Z")

</div>

Hi Albert,

Is this the full playbook?

Is the error that was being reported the first task on the playbook you copied?

Thanks,  
Thomas

---

<div class="post-metadata">

**Author:** ![Albert\_Short](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@Albert\_Short](https://forum.ansible.com/u/Albert_Short)\
**Post date:** [June 2, 2020, 5:44am UTC](https://forum.ansible.com/t/mso-schema-site-anp-epg-domain-module-issue/33063/3 "2020-06-02T05:44:12Z")

</div>

Thomas, yes this is the whole playbook. I have watered it down & tested it as is in the playbooked copied to try & use a process of elimination.

The deploy tasks work, as they are part of the bigger play, which deploys successfully as I have been building.  
I therefore assume it is related to the first task. I have even tested it without the deploy module, but get the same result.

---

<div class="post-metadata">

**Author:** ![Ompragash](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ompragash/32/9070_2.png) [@Ompragash](https://forum.ansible.com/u/Ompragash)\
**Post date:** [June 2, 2020, 5:52am UTC](https://forum.ansible.com/t/mso-schema-site-anp-epg-domain-module-issue/33063/4 "2020-06-02T05:52:22Z")

</div>

Hi Albert,

The module which you’re trying to use was added in Ansible v2.9 and you current Ansible version is V2.8 which is why it’s failing. So you can try upgrading Ansible to the latest version and re-run the playbook.

Regards,  
Ompragash

---

<div class="post-metadata">

**Author:** ![Albert\_Short](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@Albert\_Short](https://forum.ansible.com/u/Albert_Short)\
**Post date:** [June 2, 2020, 5:55am UTC](https://forum.ansible.com/t/mso-schema-site-anp-epg-domain-module-issue/33063/5 "2020-06-02T05:55:00Z")

</div>

FFS, ~@\*\*%%

should have checked that. you go a bit script blind from looking at it too long.

Thanks
