diff options
Diffstat (limited to 'plugins/modules/vyos_banner.py')
| -rw-r--r-- | plugins/modules/vyos_banner.py | 39 | 
1 files changed, 19 insertions, 20 deletions
| diff --git a/plugins/modules/vyos_banner.py b/plugins/modules/vyos_banner.py index 81a985d4..b08fb73e 100644 --- a/plugins/modules/vyos_banner.py +++ b/plugins/modules/vyos_banner.py @@ -25,38 +25,37 @@ ANSIBLE_METADATA = {      "supported_by": "network",  } -DOCUMENTATION = """ ---- -module: vyos_banner -version_added: "2.4" -author: "Trishna Guha (@trishnaguha)" +DOCUMENTATION = """module: vyos_banner +author: Trishna Guha (@trishnaguha)  short_description: Manage multiline banners on VyOS devices  description: -  - 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. +- 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.  notes: -  - Tested against VyOS 1.1.8 (helium). -  - This module works with connection C(network_cli). See L(the VyOS OS Platform Options,../network/user_guide/platform_vyos.html). +- Tested against VyOS 1.1.8 (helium). +- This module works with connection C(network_cli). See L(the VyOS OS Platform Options,../network/user_guide/platform_vyos.html).  options:    banner:      description: -      - Specifies which banner that should be -        configured on the remote device. +    - Specifies which banner that should be configured on the remote device.      required: true -    choices: ['pre-login', 'post-login'] +    choices: +    - pre-login +    - post-login    text:      description: -      - The banner text that should be -        present in the remote device running configuration. This argument -        accepts a multiline string, with no empty lines. Requires I(state=present). +    - The banner text that should be present in the remote device running configuration. +      This argument accepts a multiline string, with no empty lines. Requires I(state=present).    state:      description: -      - Specifies whether or not the configuration is present in the current -        devices active running configuration. +    - Specifies whether or not the configuration is present in the current devices +      active running configuration.      default: present -    choices: ['present', 'absent'] -extends_documentation_fragment: vyos +    choices: +    - present +    - absent +extends_documentation_fragment: +- vyos.vyos.vyos  """  EXAMPLES = """ | 
