# Not able to run Azure Playbooks from AWX

**URL:** <https://forum.ansible.com/t/not-able-to-run-azure-playbooks-from-awx/32477>\
**Category:** AWX Project\
**Tags:** azure, awx\
**Created:** [March 16, 2020, 10:07am UTC](https://forum.ansible.com/t/not-able-to-run-azure-playbooks-from-awx/32477 "2020-03-16T10:07:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saket\_saurabh](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@saket\_saurabh](https://forum.ansible.com/u/saket_saurabh)\
**Post date:** [March 16, 2020, 10:07am UTC](https://forum.ansible.com/t/not-able-to-run-azure-playbooks-from-awx/32477/1 "2020-03-16T10:07:05Z")

</div>

I am not able to run Azure Playbooks from AWX. Below is the error i am getting while executing . Please help.

ansible-playbook 2.8.5  
config file = /etc/ansible/ansible.cfg  
configured module search path = [‘/var/lib/awx/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’]  
ansible python module location = /usr/lib/python3.6/site-packages/ansible  
executable location = /usr/bin/ansible-playbook  
python version = 3.6.8 (default, Oct 7 2019, 17:58:22) [GCC 8.2.1 20180905 (Red Hat 8.2.1-3)]  
Using /etc/ansible/ansible.cfg as config file  
[WARNING]: While constructing a mapping from  
/tmp/awx\_19427\_ctyas766/project/azure\_vm\_add\_disk.yml, line 61, column 7, found  
a duplicate dict key (when). Using last defined value only.

ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to be in ‘/tmp/awx\_19427\_ctyas766/project/azure\_vm\_add\_disk.yml’: line 45, column 5, but may  
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: Get facts for one managed disk  
^ here

Thanks,  
Saket

---

<div class="post-metadata">

**Author:** ![Amir\_SBOUI](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@Amir\_SBOUI](https://forum.ansible.com/u/Amir_SBOUI)\
**Post date:** [March 17, 2020, 11:51am UTC](https://forum.ansible.com/t/not-able-to-run-azure-playbooks-from-awx/32477/2 "2020-03-17T11:51:39Z")

</div>

Hi Saket,

Can you share the playbook without sensitive data please?
