Class: Ansible::Ruby::Modules::Edgeos_config
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Edgeos_config
- Defined in:
- lib/ansible/ruby/modules/generated/network/edgeos/edgeos_config.rb
Overview
This module provides configuration file management of EdgeOS devices. It provides arguments for managing both the configuration file and state of the active configuration. All configuration statements are based on ‘set` and `delete` commands in the device configuration. This is a network module and requires the C(connection: network_cli) in order to work properly. For more information please see the L(Network Guide,../network/getting_started/index.html).
Instance Method Summary collapse
-
#backup ⇒ :yes, ...
The C(backup) argument will backup the current device’s active configuration to the Ansible control host prior to making any changes.
-
#comment ⇒ String?
Allows a commit description to be specified to be included when the configuration is committed.
-
#config ⇒ Object?
The C(config) argument specifies the base configuration to use to compare against the desired configuration.
-
#lines ⇒ Array<String>, ...
The ordered set of configuration lines to be managed and compared with the existing configuration on the remote device.
-
#match ⇒ :line, ...
The C(match) argument controls the method used to match against the current active configuration.
-
#save ⇒ :yes, ...
The C(save) argument controls whether or not changes made to the active configuration are saved to disk.
-
#src ⇒ String?
The C(src) argument specifies the path to the source config file to load.
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
#backup ⇒ :yes, ...
26 |
# File 'lib/ansible/ruby/modules/generated/network/edgeos/edgeos_config.rb', line 26 attribute :backup |
#comment ⇒ String?
30 |
# File 'lib/ansible/ruby/modules/generated/network/edgeos/edgeos_config.rb', line 30 attribute :comment |
#config ⇒ Object?
34 |
# File 'lib/ansible/ruby/modules/generated/network/edgeos/edgeos_config.rb', line 34 attribute :config |
#lines ⇒ Array<String>, ...
14 |
# File 'lib/ansible/ruby/modules/generated/network/edgeos/edgeos_config.rb', line 14 attribute :lines |
#match ⇒ :line, ...
22 |
# File 'lib/ansible/ruby/modules/generated/network/edgeos/edgeos_config.rb', line 22 attribute :match |
#save ⇒ :yes, ...
37 |
# File 'lib/ansible/ruby/modules/generated/network/edgeos/edgeos_config.rb', line 37 attribute :save |
#src ⇒ String?
18 |
# File 'lib/ansible/ruby/modules/generated/network/edgeos/edgeos_config.rb', line 18 attribute :src |