ansible/awx

ansible.controller.export should expose "external_account" field for users

Open

#14,917 建立於 2024年2月25日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Python (13,071 star) (3,333 fork)batch import
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') }}"

貢獻者指南