Class: Ansible::Ruby::Modules::Junos_config

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/network/junos/junos_config.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#commentString?

Returns The C(comment) argument specifies a text string to be used when committing the configuration. If the C(confirm) argument is set to False, this argument is silently ignored.

Returns:

  • (String, nil)

    The C(comment) argument specifies a text string to be used when committing the configuration. If the C(confirm) argument is set to False, this argument is silently ignored.



26
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_config.rb', line 26

attribute :comment

#confirmInteger?

Returns The C(confirm) argument will configure a time out value for the commit to be confirmed before it is automatically rolled back. If the C(confirm) argument is set to False, this argument is silently ignored. If the value for this argument is set to 0, the commit is confirmed immediately.

Returns:

  • (Integer, nil)

    The C(confirm) argument will configure a time out value for the commit to be confirmed before it is automatically rolled back. If the C(confirm) argument is set to False, this argument is silently ignored. If the value for this argument is set to 0, the commit is confirmed immediately.



22
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_config.rb', line 22

attribute :confirm

#linesArray<String>, ...

Returns The path to the config source. The source can be either a file with config or a template that will be merged during runtime. By default the task will search for the source file in role or playbook root folder in templates directory.

Returns:

  • (Array<String>, String, nil)

    The path to the config source. The source can be either a file with config or a template that will be merged during runtime. By default the task will search for the source file in role or playbook root folder in templates directory.



10
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_config.rb', line 10

attribute :lines

#replaceBoolean

Returns The C(replace) argument will instruct the remote device to replace the current configuration hierarchy with the one specified in the corresponding hierarchy of the source configuraiton loaded from this module.

Returns:

  • (Boolean)

    The C(replace) argument will instruct the remote device to replace the current configuration hierarchy with the one specified in the corresponding hierarchy of the source configuraiton loaded from this module.



30
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_config.rb', line 30

attribute :replace

#rollbackInteger?

Returns The C(rollback) argument instructs the module to rollback the current configuration to the identifier specified in the argument. If the specified rollback identifier does not exist on the remote device, the module will fail. To rollback to the most recent commit, set the C(rollback) argument to 0.

Returns:

  • (Integer, nil)

    The C(rollback) argument instructs the module to rollback the current configuration to the identifier specified in the argument. If the specified rollback identifier does not exist on the remote device, the module will fail. To rollback to the most recent commit, set the C(rollback) argument to 0



14
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_config.rb', line 14

attribute :rollback

#zeroizeBoolean?

Returns The C(zeroize) argument is used to completely ssantaize the remote device configuration back to initial defaults. This argument will effectively remove all current configuration statements on the remote device.

Returns:

  • (Boolean, nil)

    The C(zeroize) argument is used to completely ssantaize the remote device configuration back to initial defaults. This argument will effectively remove all current configuration statements on the remote device



18
# File 'lib/ansible/ruby/modules/generated/core/network/junos/junos_config.rb', line 18

attribute :zeroize