# azure\_rm\_deployment module showing "MODULE FAILURE" with ansible 2.6 version but the same works with ansible 2.8 version

**URL:** <https://forum.ansible.com/t/azure-rm-deployment-module-showing-module-failure-with-ansible-2-6-version-but-the-same-works-with-ansible-2-8-version/30954>\
**Category:** Ansible Developer\
**Tags:** azure\
**Created:** [August 5, 2019, 1:34pm UTC](https://forum.ansible.com/t/azure-rm-deployment-module-showing-module-failure-with-ansible-2-6-version-but-the-same-works-with-ansible-2-8-version/30954 "2019-08-05T13:34:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajini\_kamu](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@rajini\_kamu](https://forum.ansible.com/u/rajini_kamu)\
**Post date:** [August 5, 2019, 1:34pm UTC](https://forum.ansible.com/t/azure-rm-deployment-module-showing-module-failure-with-ansible-2-6-version-but-the-same-works-with-ansible-2-8-version/30954/1 "2019-08-05T13:34:59Z")

</div>

azure\_rm\_deployment module showing “MODULE FAILURE” with ansible 2.6 version but the same modules works with ansible 2.8 version and we can able to deploy resource in azure cloud environment.

As advised by Linux team, We have downgraded the ansible core version 2.8 to 2.6 but after that we are unable to deploy resource in azure cloud environment.

Please help me on this.

- name: Test  
hosts: localhost  
connection: local  
gather\_facts: no  
any\_errors\_fatal: true  
tasks:
  - name: Task Sequence Extension  
azure\_rm\_deployment:  
state: present  
resource\_group\_name: “AZURE\_RSG”  
location: eastus  
template\_link: ‘https://\*\*\*\*\*\*\*\*\*\*/sqltemplate/taskSequence.json’  
#template: “{{ lookup(‘file’, ‘azuredeploy.json’) }}”  
parameters:  
vmNames:  
value: “VMNAME1”  
domaintojoin:  
value: “.net”  
register: taskSequence  
tags: taskSequence

---

<div class="post-metadata">

**Author:** ![rajini\_kamu](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@rajini\_kamu](https://forum.ansible.com/u/rajini_kamu)\
**Post date:** [August 5, 2019, 1:36pm UTC](https://forum.ansible.com/t/azure-rm-deployment-module-showing-module-failure-with-ansible-2-6-version-but-the-same-works-with-ansible-2-8-version/30954/2 "2019-08-05T13:36:40Z")

</div>

> **(attachments)**
>
> [job\_359.txt](https://forum.ansible.com/uploads/short-url/zVXCh6qHxXZvNXapLAp7JOaWzkW.txt) (41.1 KB)
