Class: Ansible::Ruby::Modules::Ovirt_host

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_hosts.rb

Overview

Module to manage hosts in oVirt/RHV

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

#activateBoolean?

Returns If C(state) is I(present) activate the host.,This parameter is good to disable, when you don’t want to change the state of host when using I(present) C(state).

Returns:

  • (Boolean, nil)

    If C(state) is I(present) activate the host.,This parameter is good to disable, when you don’t want to change the state of host when using I(present) C(state).



74
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 74

attribute :activate

#addressString?

Returns Host address. It can be either FQDN (preferred) or IP address.

Returns:

  • (String, nil)

    Host address. It can be either FQDN (preferred) or IP address.



31
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 31

attribute :address

#check_upgradeBoolean?

Returns If I(true) and C(state) is I(upgraded) run check for upgrade action before executing upgrade action.

Returns:

  • (Boolean, nil)

    If I(true) and C(state) is I(upgraded) run check for upgrade action before executing upgrade action.



82
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 82

attribute :check_upgrade

#clusterString?

Returns Name of the cluster, where host should be created.

Returns:

  • (String, nil)

    Name of the cluster, where host should be created.



27
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 27

attribute :cluster

#commentObject?

Returns Description of the host.

Returns:

  • (Object, nil)

    Description of the host.



20
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 20

attribute :comment

#forceSymbol?

Returns If True host will be forcibly moved to desired state.

Returns:

  • (Symbol, nil)

    If True host will be forcibly moved to desired state.



54
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 54

attribute :force

#hosted_engine:deploy, ...

Returns If I(deploy) it means this host should deploy also hosted engine components.,If I(undeploy) it means this host should un-deploy hosted engine components and this host will not function as part of the High Availability cluster.

Returns:

  • (:deploy, :undeploy, nil)

    If I(deploy) it means this host should deploy also hosted engine components.,If I(undeploy) it means this host should un-deploy hosted engine components and this host will not function as part of the High Availability cluster.



66
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 66

attribute :hosted_engine

#iscsiHash?

Returns If C(state) is I(iscsidiscover) it means that the iscsi attribute is being used to discover targets,If C(state) is I(iscsilogin) it means that the iscsi attribute is being used to login to the specified targets passed as part of the iscsi attribute.

Returns:

  • (Hash, nil)

    If C(state) is I(iscsidiscover) it means that the iscsi attribute is being used to discover targets,If C(state) is I(iscsilogin) it means that the iscsi attribute is being used to login to the specified targets passed as part of the iscsi attribute



78
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 78

attribute :iscsi

#kdump_integration:enabled, ...

Returns Specify if host will have enabled Kdump integration.

Returns:

  • (:enabled, :disabled, nil)

    Specify if host will have enabled Kdump integration.



43
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 43

attribute :kdump_integration

#kernel_paramsArray<String>, ...

Returns List of kernel boot parameters.,Following are most common kernel parameters used for host:,Hostdev Passthrough & SR-IOV: intel_iommu=on,Nested Virtualization: kvm-intel.nested=1,Unsafe Interrupts: vfio_iommu_type1.allow_unsafe_interrupts=1,PCI Reallocation: pci=realloc,C(Note:),Modifying kernel boot parameters settings can lead to a host boot failure. Please consult the product documentation before doing any changes.,Kernel boot parameters changes require host deploy and restart. The host needs to be I(reinstalled) successfully and then to be I(rebooted) for kernel boot parameters to be applied.

Returns:

  • (Array<String>, String, nil)

    List of kernel boot parameters.,Following are most common kernel parameters used for host:,Hostdev Passthrough & SR-IOV: intel_iommu=on,Nested Virtualization: kvm-intel.nested=1,Unsafe Interrupts: vfio_iommu_type1.allow_unsafe_interrupts=1,PCI Reallocation: pci=realloc,C(Note:),Modifying kernel boot parameters settings can lead to a host boot failure. Please consult the product documentation before doing any changes.,Kernel boot parameters changes require host deploy and restart. The host needs to be I(reinstalled) successfully and then to be I(rebooted) for kernel boot parameters to be applied.



62
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 62

attribute :kernel_params

#nameString

Returns Name of the host to manage.

Returns:

  • (String)

    Name of the host to manage.



12
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 12

attribute :name

#override_displaySymbol?

Returns Override the display address of all VMs on this host with specified address.

Returns:

  • (Symbol, nil)

    Override the display address of all VMs on this host with specified address.



58
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 58

attribute :override_display

#override_iptablesSymbol?

Returns If True host iptables will be overridden by host deploy script.,Note that C(override_iptables) is I(false) by default in oVirt/RHV.

Returns:

  • (Symbol, nil)

    If True host iptables will be overridden by host deploy script.,Note that C(override_iptables) is I(false) by default in oVirt/RHV.



50
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 50

attribute :override_iptables

#passwordString?

Returns Password of the root. It’s required in case C(public_key) is set to I(False).

Returns:

  • (String, nil)

    Password of the root. It’s required in case C(public_key) is set to I(False).



35
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 35

attribute :password

#power_management_enabledSymbol?

Returns Enable or disable power management of the host.,For more comprehensive setup of PM use C(ovirt_host_pm) module.

Returns:

  • (Symbol, nil)

    Enable or disable power management of the host.,For more comprehensive setup of PM use C(ovirt_host_pm) module.



70
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 70

attribute :power_management_enabled

#public_keySymbol?

Returns I(True) if the public key should be used to authenticate to host.,It’s required in case C(password) is not set.

Returns:

  • (Symbol, nil)

    I(True) if the public key should be used to authenticate to host.,It’s required in case C(password) is not set.



39
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 39

attribute :public_key

#reboot_after_upgradeBoolean?

Returns If I(true) and C(state) is I(upgraded) reboot host after successful upgrade.

Returns:

  • (Boolean, nil)

    If I(true) and C(state) is I(upgraded) reboot host after successful upgrade.



86
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 86

attribute :reboot_after_upgrade

#spm_priorityObject?

Returns SPM priority of the host. Integer value from 1 to 10, where higher number means higher priority.

Returns:

  • (Object, nil)

    SPM priority of the host. Integer value from 1 to 10, where higher number means higher priority.



47
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 47

attribute :spm_priority

#state:present, ...

Returns State which should a host to be in after successful completion.,I(iscsilogin) and I(iscsidiscover) are supported since version 2.4.

Returns:

  • (:present, :absent, :maintenance, :upgraded, :started, :restarted, :stopped, :reinstalled, :iscsidiscover, :iscsilogin, nil)

    State which should a host to be in after successful completion.,I(iscsilogin) and I(iscsidiscover) are supported since version 2.4.



16
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 16

attribute :state

#timeoutInteger?

Returns The amount of time in seconds the module should wait for the host to get into desired state.

Returns:

  • (Integer, nil)

    The amount of time in seconds the module should wait for the host to get into desired state.



23
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 23

attribute :timeout