ansible/awx
GitHub で見るansible.controller.export should expose "external_account" field for users
Open
#14,917 opened on 2024年2月25日
communitycomponent:apicomponent:awx_collectionhelp wantedtype:enhancement
説明
Please confirm the following
- I agree to follow this project's code of conduct.
- I have checked the current issues for duplicates.
- I understand that AWX is open source software provided for free and that I might not receive a timely response.
Feature type
Enhancement to Existing Feature
Feature Summary
When exporting user configuration ansible.controller.export should show "external_account" field which is required to differentiate locally created accounts from the external ones (LDAP etc.)
Select the relevant components
- UI
- API
- Docs
- Collection
- CLI
- Other
Steps to reproduce
- name: Get users from AAP ansible.controller.export: users: 'all' register: aap_users
Current results
external_account field nowhere to be found
Sugested feature result
external_account should be in the output for each user together with other fields like username, email first-name etc.
Additional information
Workaround is to use controller_api lookup:
- name: Get users from AAP ansible.builtin.set_fact: aap_users: "{{ lookup('ansible.controller.controller_api', 'users') }}"