mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 08:43:10 +00:00
Fix name and default for become plugin config.
Also add version_added.
This commit is contained in:
@@ -482,14 +482,15 @@ DEFAULT_BECOME_FLAGS:
|
||||
env: [{name: ANSIBLE_BECOME_FLAGS}]
|
||||
ini:
|
||||
- {key: become_flags, section: privilege_escalation}
|
||||
DEFAULT_BECOME_PLUGIN_PATH:
|
||||
BECOME_PLUGIN_PATH:
|
||||
name: Become plugins path
|
||||
default: ~/.ansible/plugins/become:/usr/share/ansible/become
|
||||
default: ~/.ansible/plugins/become:/usr/share/ansible/plugins/become
|
||||
description: Colon separated paths in which Ansible will search for Become Plugins.
|
||||
env: [{name: ANSIBLE_BECOME_PLUGINS}]
|
||||
ini:
|
||||
- {key: become_plugins, section: defaults}
|
||||
type: pathspec
|
||||
version_added: "2.8"
|
||||
DEFAULT_BECOME_USER:
|
||||
# FIXME: should really be blank and make -u passing optional depending on it
|
||||
name: Set the user you 'become' via privilege escalation
|
||||
|
||||
@@ -848,6 +848,6 @@ httpapi_loader = PluginLoader(
|
||||
become_loader = PluginLoader(
|
||||
'BecomeModule',
|
||||
'ansible.plugins.become',
|
||||
C.DEFAULT_BECOME_PLUGIN_PATH,
|
||||
C.BECOME_PLUGIN_PATH,
|
||||
'become_plugins'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user