Skip to content

[BUG] Can not use Ansible module azure_rm_deployment_module #241

@huytrantda

Description

@huytrantda

To Reproduce

Create test.yaml as below

---
- name: Test playbook
  hosts: localhost
  connection: local
  gather_facts: no
  module_defaults:
   azure_rm_deployment:
    name: "{{ 'ansible-arm-%Y%m%dT%H%M%S' | strftime }}"
  tasks:
    - name: Sample task name
      azure_rm_deployment:
        state: absent
        subscription_id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
        resource_group_name: test

Then on cloudshell run command: ansible-playbook test.yaml then error happen like this:

image

Run with debug mode: ansible-playbook test.yaml -vvv
image

Observed Behavior

N/A

Expected behavior

Should have run as normal 2 weeks ago.

Is this specific to Cloud Shell?

N/A

Interface information

N/A

Additional context

Last two weeks i can run module azure_rm_deployment without any issues.
It seems a recent release cause the above issue: https://github.com/Azure/CloudShell/releases/tag/1.0.20220803.1.base.master.585b6c60

Tested on different azure accounts, same issue.

Metadata

Metadata

Assignees

Labels

Area-imageChanges to the base/tools imageResolution-FixedStatus-CommittedCommitted item by the Cloud Shell teambugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions