mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
Make admin_users only contain root and toor because admin is used for non-privileged accounts
This fixes one specific instance of failure to chown from a privileged account: https://github.com/ansible/ansible/issues/16052#issuecomment-384976615 Fixes #41160
This commit is contained in:
parent
46eceba395
commit
461a2733e6
2 changed files with 7 additions and 2 deletions
4
changelogs/fragments/admin-users-default-change.yaml
Normal file
4
changelogs/fragments/admin-users-default-change.yaml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
bugfixes:
|
||||||
|
- Changed the admin_users config option to not include "admin" by default as
|
||||||
|
admin is frequently used for a non-privileged account (https://github.com/ansible/ansible/pull/41164)
|
|
@ -47,9 +47,10 @@ options:
|
||||||
- dictionary of environment variables and their values to use when executing commands.
|
- dictionary of environment variables and their values to use when executing commands.
|
||||||
admin_users:
|
admin_users:
|
||||||
type: list
|
type: list
|
||||||
default: ['root', 'toor', 'admin']
|
default: ['root', 'toor']
|
||||||
description:
|
description:
|
||||||
- list of users to be expected to have admin privileges, for BSD you might want to add 'toor' for windows 'Administrator'.
|
- list of users to be expected to have admin privileges. This is used by the controller to
|
||||||
|
determine how to share temporary files between the remote user and the become user.
|
||||||
env:
|
env:
|
||||||
- name: ANSIBLE_ADMIN_USERS
|
- name: ANSIBLE_ADMIN_USERS
|
||||||
ini:
|
ini:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue