New in version 2.3.
Specifies the password to use if required to enter privileged mode on the remote device. If authorize is false, then this argument does nothing. If the value is not specified in the task, the value of environment variable
Instructs the module to enter privileged mode on the remote device before sending any commands. If not specified, the device will attempt to execute all commands in non-privileged mode. If the value is not specified in the task, the value of environment variable
Specifies which banner that should be configured on the remote device.
A dict object containing connection details.
Specifies whether or not the configuration is present in the current devices active running configuration.
The banner text that should be present in the remote device running configuration. This argument accepts a multiline string. Requires state=present.
- name: configure the login banner eos_banner: banner: login text: | this is my login banner that contains a multiline string state: present - name: remove the motd banner banner: motd state: absent
Common return values are documented here Return Values, the following are the fields unique to this module:
|commands||The list of configuration mode commands to send to the device||always||list||['banner login', 'this is my login banner', 'that contains a multiline', 'string', 'EOF']|
|session_name||The EOS config session name used to load the configuration||if changes||str||ansible_1479315771|
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support