Class: Ansible::Ruby::Modules::Panos_admpwd

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/panos/panos_admpwd.rb

Overview

Change the admin password of PAN-OS via SSH using a SSH key for authentication. Useful for AWS instances where the first login should be done via SSH.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#ip_addressString

Returns IP address (or hostname) of PAN-OS device.

Returns:

  • (String)

    IP address (or hostname) of PAN-OS device



13
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_admpwd.rb', line 13

attribute :ip_address

#key_filenameString

Returns filename of the SSH Key to use for authentication.

Returns:

  • (String)

    filename of the SSH Key to use for authentication



21
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_admpwd.rb', line 21

attribute :key_filename

#newpasswordString

Returns password to configure for admin on the PAN-OS device.

Returns:

  • (String)

    password to configure for admin on the PAN-OS device



25
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_admpwd.rb', line 25

attribute :newpassword

#usernameString?

Returns username for initial authentication.

Returns:

  • (String, nil)

    username for initial authentication



17
# File 'lib/ansible/ruby/modules/generated/network/panos/panos_admpwd.rb', line 17

attribute :username