ansible.netcommon.enable become – Switch to elevated permissions on a network device
This become plugin is part of the ansible.netcommon collection (version 5.1.1).
You might already have this collection installed if you are using the
It is not included in
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:
New in ansible.netcommon 1.0.0
This become plugins allows elevated permissions on a remote network device.
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.