Class: Ansible::Ruby::Modules::Vyos_banner
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vyos_banner
- Defined in:
- lib/ansible/ruby/modules/generated/network/vyos/vyos_banner.rb
Overview
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.
Instance Method Summary collapse
-
#banner ⇒ :"pre-login", :"post-login"
Specifies which banner that should be configured on the remote device.
-
#state ⇒ :present, ...
Specifies whether or not the configuration is present in the current devices active running configuration.
-
#text ⇒ String?
The banner text that should be present in the remote device running configuration.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#banner ⇒ :"pre-login", :"post-login"
Returns Specifies which banner that should be configured on the remote device.
12 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_banner.rb', line 12 attribute :banner |
#state ⇒ :present, ...
Returns Specifies whether or not the configuration is present in the current devices active running configuration.
20 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_banner.rb', line 20 attribute :state |
#text ⇒ String?
Returns 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).
16 |
# File 'lib/ansible/ruby/modules/generated/network/vyos/vyos_banner.rb', line 16 attribute :text |