Class: Ansible::Ruby::Modules::Asa_config
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Asa_config
- Defined in:
- lib/ansible/ruby/modules/generated/network/asa/asa_config.rb
Overview
Cisco ASA configurations use a simple block indent file syntax for segmenting configuration into sections. This module provides an implementation for working with ASA configuration sections in a deterministic way.
Instance Method Summary collapse
-
#after ⇒ Object?
The ordered set of commands to append to the end of the command stack if a change needs to be made.
-
#backup ⇒ :yes, ...
This argument will cause the module to create a full backup of the current C(running-config) from the remote device before any changes are made.
-
#before ⇒ Object?
The ordered set of commands to push on to the command stack if a change needs to be made.
-
#config ⇒ Object?
The C(config) argument allows the playbook designer to supply the base configuration to be used to validate configuration changes necessary.
-
#defaults ⇒ :yes, ...
This argument specifies whether or not to collect all defaults when getting the remote device running config.
-
#lines ⇒ Array<String>, ...
The ordered set of commands that should be configured in the section.
-
#match ⇒ :line, ...
Instructs the module on the way to perform the matching of the set of commands against the current device config.
-
#parents ⇒ Array<String>, ...
The ordered set of parents that uniquely identify the section or hierarchy the commands should be checked against.
-
#passwords ⇒ :yes, ...
This argument specifies to include passwords in the config when retrieving the running-config from the remote device.
-
#replace ⇒ :line, ...
Instructs the module on the way to perform the configuration on the device.
-
#save ⇒ :yes, ...
The C(save) argument instructs the module to save the running- config to the startup-config at the conclusion of the module running.
-
#src ⇒ Object?
Specifies the source path to the file that contains the configuration or configuration template to load.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#after ⇒ Object?
26 |
# File 'lib/ansible/ruby/modules/generated/network/asa/asa_config.rb', line 26 attribute :after |
#backup ⇒ :yes, ...
37 |
# File 'lib/ansible/ruby/modules/generated/network/asa/asa_config.rb', line 37 attribute :backup |
#before ⇒ Object?
23 |
# File 'lib/ansible/ruby/modules/generated/network/asa/asa_config.rb', line 23 attribute :before |
#config ⇒ Object?
41 |
# File 'lib/ansible/ruby/modules/generated/network/asa/asa_config.rb', line 41 attribute :config |
#defaults ⇒ :yes, ...
44 |
# File 'lib/ansible/ruby/modules/generated/network/asa/asa_config.rb', line 44 attribute :defaults |
#lines ⇒ Array<String>, ...
12 |
# File 'lib/ansible/ruby/modules/generated/network/asa/asa_config.rb', line 12 attribute :lines |
#match ⇒ :line, ...
29 |
# File 'lib/ansible/ruby/modules/generated/network/asa/asa_config.rb', line 29 attribute :match |
#parents ⇒ Array<String>, ...
16 |
# File 'lib/ansible/ruby/modules/generated/network/asa/asa_config.rb', line 16 attribute :parents |
#passwords ⇒ :yes, ...
48 |
# File 'lib/ansible/ruby/modules/generated/network/asa/asa_config.rb', line 48 attribute :passwords |
#replace ⇒ :line, ...
33 |
# File 'lib/ansible/ruby/modules/generated/network/asa/asa_config.rb', line 33 attribute :replace |
#save ⇒ :yes, ...
52 |
# File 'lib/ansible/ruby/modules/generated/network/asa/asa_config.rb', line 52 attribute :save |
#src ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/network/asa/asa_config.rb', line 20 attribute :src |