ansible.netcommon.enable become – Switch to elevated permissions on a network device
Note
This become plugin is part of the ansible.netcommon collection (version 6.1.3).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install ansible.netcommon
.
To use it in a playbook, specify: ansible.netcommon.enable
.
New in ansible.netcommon 1.0.0
Synopsis
This become plugins allows elevated permissions on a remote network device.
Parameters
Parameter |
Comments |
---|---|
password Configuration:
|
Notes
Note
enable is really implemented in the network connection handler and as such can only be used with network connections.
This plugin ignores the ‘become_exe’ and ‘become_user’ settings as it uses an API and not an executable.