Skip to content

azure_rm_managementgroup_info does not resolve #2070

@philskents

Description

@philskents
SUMMARY

azure_rm_managementgroup_info fails with the following error:

[ERROR]: Task failed: Cannot resolve 'azure_rm_managementgroup_info:' to an action or module.

Task failed.
Origin: <adhoc 'azure_rm_managementgroup_info:' task>

{'action': 'azure_rm_managementgroup_info:', 'args': {}, 'timeout': 0, 'async_val': 0, 'poll': 15}

<<< caused by >>>

Cannot resolve 'azure_rm_managementgroup_info:' to an action or module.
Origin: <CLI option '-m'>

azure_rm_managementgroup_info:

localhost | FAILED! => {
    "changed": false,
    "msg": "Task failed: Cannot resolve 'azure_rm_managementgroup_info:' to an action or module."
}

Other actions execute with no issue

ISSUE TYPE
  • Bug Report
COMPONENT NAME

azure_rm_managementgroup_info

ANSIBLE VERSION
  config file = None
  configured module search path = ['\/Users/phil.skentelbery/.ansible/plugins/modules, /usr/share/ansible/plugins/modules]
  ansible python module location = /Users/phil.skentelbery/.pyenv/versions/3.13.7/envs/ansible/lib/python3.13/site-packages/ansible
  ansible collection location = /Users/phil.skentelbery/.ansible/collections:/usr/share/ansible/collections
  executable location = /Users/phil.skentelbery/.pyenv/versions/ansible/bin/ansible
  python version = 3.13.7 (main, Sep 16 2025, 13:52:19) [Clang 17.0.0 (clang-1700.0.13.5)] (/Users/phil.skentelbery/.pyenv/versions/3.13.7/envs/ansible/bin/python)
  jinja version = 3.1.6
  pyyaml version = 6.0.2 (with libyaml v0.2.5)
COLLECTION VERSION
# /Users/phil.skentelbery/.ansible/collections/ansible_collections
Collection         Version
------------------ -------
azure.azcollection 3.9.0  
CONFIGURATION
CONFIG_FILE() = None

GALAXY_SERVERS:
OS / ENVIRONMENT

MacOS 15.6.1

STEPS TO REPRODUCE

Execute the nodule form the cli

ansible localhost -m azure_rm_managementgroup_info
EXPECTED RESULTS

Return management groups

ACTUAL RESULTS
ansible [core 2.19.2]
  config file = None
  configured module search path = ['/Users/phil.skentelbery/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/phil.skentelbery/.pyenv/versions/3.13.7/envs/ansible/lib/python3.13/site-packages/ansible
  ansible collection location = /Users/phil.skentelbery/.ansible/collections:/usr/share/ansible/collections
  executable location = /Users/phil.skentelbery/.pyenv/versions/ansible/bin/ansible
  python version = 3.13.7 (main, Sep 16 2025, 13:52:19) [Clang 17.0.0 (clang-1700.0.13.5)] (/Users/phil.skentelbery/.pyenv/versions/3.13.7/envs/ansible/bin/python)
  jinja version = 3.1.6
  pyyaml version = 6.0.2 (with libyaml v0.2.5)
No config file found; using defaults
setting up inventory plugins
Loading collection ansible.builtin from 
host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
yaml declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
ini declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Skipping due to inventory source not existing or not being readable by the current user
toml declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
[WARNING]: No inventory was parsed, only implicit localhost is available
Loading callback plugin minimal of type stdout, v2.0 from /Users/phil.skentelbery/.pyenv/versions/3.13.7/envs/ansible/lib/python3.13/site-packages/ansible/plugins/callback/minimal.py
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
[ERROR]: Task failed: Cannot resolve 'azure_rm_managementgroup_info' to an action or module.

Task failed.
Origin: <adhoc 'azure_rm_managementgroup_info' task>

{'action': 'azure_rm_managementgroup_info', 'args': {}, 'timeout': 0, 'async_val': 0, 'poll': 15}

<<< caused by >>>

Cannot resolve 'azure_rm_managementgroup_info' to an action or module.
Origin: <CLI option '-m'>

azure_rm_managementgroup_info

localhost | FAILED! => {
    "changed": false,
    "msg": "Task failed: Cannot resolve 'azure_rm_managementgroup_info' to an action or module."
}

Metadata

Metadata

Assignees

Labels

medium_priorityMedium priorityquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions