Class: Ansible::Ruby::Modules::Cnos_facts
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cnos_facts
- Defined in:
- lib/ansible/ruby/modules/generated/network/cnos/cnos_facts.rb
Overview
Collects a base set of device facts from a remote Lenovo device running on CNOS. This module prepends all of the base network fact keys with C(ansible_net_<fact>). The facts module will always collect a base set of facts from the device and can enable or disable collection of additional facts.
Instance Method Summary collapse
-
#auth_pass ⇒ Object?
Specifies the password to use if required to enter privileged mode on the remote device.
-
#authorize ⇒ :yes, ...
Instructs the module to enter privileged mode on the remote device before sending any commands.
-
#gather_subset ⇒ String?
When supplied, this argument will restrict the facts collected to a given subset.
-
#provider ⇒ Object?
A dict object containing connection details.
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
#auth_pass ⇒ Object?
Returns Specifies the password to use if required to enter privileged mode on the remote device. If I(authorize) is false, then this argument does nothing. If the value is not specified in the task, the value of environment variable C(ANSIBLE_NET_AUTH_PASS) will be used instead.
16 |
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_facts.rb', line 16 attribute :auth_pass |
#authorize ⇒ :yes, ...
Returns Instructs the module to enter privileged mode on the remote device before sending any commands. If not specified, the device will attempt to execute all commands in non-privileged mode. If the value is not specified in the task, the value of environment variable C(ANSIBLE_NET_AUTHORIZE) will be used instead.
12 |
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_facts.rb', line 12 attribute :authorize |
#gather_subset ⇒ String?
Returns When supplied, this argument will restrict the facts collected to a given subset. Possible values for this argument include all, hardware, config, and interfaces. Can specify a list of values to include a larger subset. Values can also be used with an initial C(M(!)) to specify that a specific subset should not be collected.
22 |
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_facts.rb', line 22 attribute :gather_subset |
#provider ⇒ Object?
Returns A dict object containing connection details.
19 |
# File 'lib/ansible/ruby/modules/generated/network/cnos/cnos_facts.rb', line 19 attribute :provider |