You are reading an unmaintained version of the Ansible documentation. Unmaintained Ansible versions can contain unfixed security vulnerabilities (CVE). Please upgrade to a maintained version. See the latest Ansible documentation.
vyos_banner - Manage multiline banners on VyOS devices¶
This will configure both pre-login and post-login banners on remote devices running VyOS. It allows playbooks to add or remote banner text from the active running configuration.
Specifies which banner that should be configured on the remote device.
state
no
present
present
absent
Specifies whether or not the configuration is present in the current devices active running configuration.
text
no
The banner text that should be present in the remote device running configuration. This argument accepts a multiline string, with no empty lines. Requires state=present.
-name:configure the pre-login bannervyos_banner:banner:pre-logintext:|this is my pre-login bannerthat contains a multilinestringstate:present-name:remove the post-login bannervyos_banner:banner:post-loginstate:absent
For more information about Red Hat’s this support of this module, please
refer to this knowledge base article<https://access.redhat.com/articles/rhel-top-support-policies>