Class: Ansible::Ruby::Modules::Proxmox_template

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb

Overview

allows you to upload/delete templates in Proxmox VE cluster

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

#api_hostString

Returns the host of the Proxmox VE cluster.

Returns:

  • (String)

    the host of the Proxmox VE cluster



12
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 12

attribute :api_host

#api_passwordString?

Returns the password to authenticate with,you can use PROXMOX_PASSWORD environment variable.

Returns:

  • (String, nil)

    the password to authenticate with,you can use PROXMOX_PASSWORD environment variable



20
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 20

attribute :api_password

#api_userString

Returns the user to authenticate with.

Returns:

  • (String)

    the user to authenticate with



16
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 16

attribute :api_user

#content_type:vztmpl, ...

Returns content type,required only for C(state=present).

Returns:

  • (:vztmpl, :iso, nil)

    content type,required only for C(state=present)



40
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 40

attribute :content_type

#force:yes, ...

Returns can be used only with C(state=present), exists template will be overwritten.

Returns:

  • (:yes, :no, nil)

    can be used only with C(state=present), exists template will be overwritten



52
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 52

attribute :force

#nodeString

Returns Proxmox VE node, when you will operate with template.

Returns:

  • (String)

    Proxmox VE node, when you will operate with template



28
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 28

attribute :node

#srcString?

Returns path to uploaded file,required only for C(state=present).

Returns:

  • (String, nil)

    path to uploaded file,required only for C(state=present)



32
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 32

attribute :src

#state:present, ...

Returns Indicate desired state of the template.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the template



56
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 56

attribute :state

#storageString?

Returns target storage.

Returns:

  • (String, nil)

    target storage



44
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 44

attribute :storage

#templateString?

Returns the template name,required only for states C(absent), C(info).

Returns:

  • (String, nil)

    the template name,required only for states C(absent), C(info)



36
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 36

attribute :template

#timeoutInteger?

Returns timeout for operations.

Returns:

  • (Integer, nil)

    timeout for operations



48
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 48

attribute :timeout

#validate_certs:yes, ...

Returns enable / disable https certificate verification.

Returns:

  • (:yes, :no, nil)

    enable / disable https certificate verification



24
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 24

attribute :validate_certs