Class: Ansible::Ruby::Modules::Junos_facts
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Junos_facts
- Defined in:
- lib/ansible/ruby/modules/generated/core/network/junos/junos_facts.rb
Instance Method Summary collapse
-
#config ⇒ Boolean?
The C(config) argument instructs the fact module to collect the configuration from the remote device.
-
#config_format ⇒ :xml, ...
The C(config_format) argument is used to specify the desired format of the configuration file.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#config ⇒ Boolean?
Returns The C(config) argument instructs the fact module to collect the configuration from the remote device. The configuration is then included in return facts. By default, the configuration is returned as text. The C(config_format) can be used to return different Junos configuration formats.
10 |
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_facts.rb', line 10 attribute :config |
#config_format ⇒ :xml, ...
Returns The C(config_format) argument is used to specify the desired format of the configuration file. Devices support three configuration file formats. By default, the configuration from the device is returned as text. The other options include set and xml. If the xml option is choosen, the configuration file is returned as both xml and json.
14 |
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_facts.rb', line 14 attribute :config_format |