community.network.icx_banner – Manage multiline banners on Ruckus ICX 7000 series switches¶
This plugin is part of the community.network collection (version 3.0.0).
To install it use:
ansible-galaxy collection install community.network.
To use it in a playbook, specify:
This will configure both login and motd banners on remote ruckus ICX 7000 series switches. It allows playbooks to add or remove banner text from the active running configuration.
- name: Configure the motd banner community.network.icx_banner: banner: motd text: | this is my motd banner that contains a multiline string state: present - name: Remove the motd banner community.network.icx_banner: banner: motd state: absent - name: Configure require-enter-key for motd community.network.icx_banner: banner: motd enterkey: True - name: Remove require-enter-key for motd community.network.icx_banner: banner: motd enterkey: False
Common return values are documented here, the following are the fields unique to this module:
list / elements=string
The list of configuration mode commands to send to the device
['banner motd', 'this is my motd banner', 'that contains a multiline', 'string']
Ruckus Wireless (@Commscope)