Skip to content

The is_system_auditor boolean in controller_users role does not set is_platform_auditor attribute of user #1184

@mikekuhlmann

Description

@mikekuhlmann

Summary

When trying to use the controller_users role to set the is_system_auditor boolean to true does not cause an error but does not set the is_platform_auditor attribute of the user.

Issue Type

  • Bug Report

Ansible, Collection, Controller details

from yaml file:
  - username: ansible_auditor
    is_superuser: false
    is_system_auditor: true
    password: "xxx"

from api output of users:
            "username": "ansible_auditor",
            "email": "",
            "first_name": "",
            "last_name": "",
            "last_login": null,
            "password": "$encrypted$",
            "is_superuser": false,
            "is_platform_auditor": false,


console (paste below)
ansible --version
[core 2.18.7]

ansible-galaxy collection list
infra.aap_configuration 3.7.0

Controller version
4.6.16

  • ansible installation method: one of source, pip, OS package, EE

OS / ENVIRONMENT

Desired Behavior

Actual Behavior

Please give some details of what is actually happening.
Include a [minimum complete verifiable example] with:

  • playbook / task
  • configuration file / list
  • error

STEPS TO REPRODUCE

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions