We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
infra.aap_configuration.controller_labels shows in the README under Data Structure that organization is not required.
organization
When running this against AWX 24.6.1 with just a list of names, it fails FAILED! => {"msg": "Mandatory variable 'organization' not defined."}
FAILED! => {"msg": "Mandatory variable 'organization' not defined."}
ansible --version ansible [core 2.16.13] config file = /runner/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /runner/collections executable location = /usr/local/bin/ansible python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True ansible-galaxy collection list awx.awx 24.6.1 infra.aap_configuration 3.1.0 Controller version AWX 24.6.1
A datastructure with only a list of names of labels will result in Labels being added to AWX
Task failed because the organization was not set
Please give some details of what is actually happening. Include a [minimum complete verifiable example] with:
TASK [infra.aap_configuration.controller_labels : Managing Labels] ******************************************************************************************************* fatal: [awx.domain.com]: FAILED! => {"msg": "Mandatory variable 'organization' not defined."}
controller_labels: - name: activedirectory - name: awx - name: azure
The text was updated successfully, but these errors were encountered:
it does appear they updated the module to require this now so thanks for making the documentation match
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Summary
infra.aap_configuration.controller_labels shows in the README under Data Structure that
organization
is not required.When running this against AWX 24.6.1 with just a list of names, it fails
FAILED! => {"msg": "Mandatory variable 'organization' not defined."}
Issue Type
Ansible, Collection, Controller details
EE
OS / ENVIRONMENT
Desired Behavior
A datastructure with only a list of names of labels will result in Labels being added to AWX
Actual Behavior
Task failed because the organization was not set
Please give some details of what is actually happening.
Include a [minimum complete verifiable example] with:
STEPS TO REPRODUCE
The text was updated successfully, but these errors were encountered: