ansible.netcommon.enable become – Switch to elevated permissions on a network device
Note
This become plugin is part of the ansible.netcommon collection (version 2.6.1).
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 version 1.0.0: of ansible.netcommon
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.
Authors
Ansible Networking Team (@ansible-network)
Hint
Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.