# Execution of core-modules failes in action-plugins

**URL:** <https://forum.ansible.com/t/execution-of-core-modules-failes-in-action-plugins/21407>\
**Category:** Ansible Project\
**Created:** [May 11, 2016, 12:09pm UTC](https://forum.ansible.com/t/execution-of-core-modules-failes-in-action-plugins/21407 "2016-05-11T12:09:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sirk\_Johannsen](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@Sirk\_Johannsen](https://forum.ansible.com/u/Sirk_Johannsen)\
**Post date:** [May 11, 2016, 12:09pm UTC](https://forum.ansible.com/t/execution-of-core-modules-failes-in-action-plugins/21407/1 "2016-05-11T12:09:17Z")

</div>

Hi,

I am trying to write an action plugin that executes 2 core modules.  
I always get the error message that the plugin I’m trying to execute is missing the interpreter line (#/usr/bin/python)

Certainly someone has done this before. I’d really appreaciate if someone could point me to my mistake:

` `  
#!/usr/bin/python
