Class: Ansible::Ruby::Modules::Ovirt_host
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ovirt_host
- 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
-
#activate ⇒ Boolean?
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).
-
#address ⇒ String?
Host address.
-
#check_upgrade ⇒ Boolean?
If I(true) and C(state) is I(upgraded) run check for upgrade action before executing upgrade action.
-
#cluster ⇒ String?
Name of the cluster, where host should be created.
-
#comment ⇒ Object?
Description of the host.
-
#force ⇒ Boolean?
If True host will be forcibly moved to desired state.
-
#hosted_engine ⇒ :deploy, ...
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.
-
#iscsi ⇒ Hash?
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.
-
#kdump_integration ⇒ :enabled, ...
Specify if host will have enabled Kdump integration.
-
#kernel_params ⇒ Array<String>, ...
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.
-
#name ⇒ String
Name of the host to manage.
-
#override_display ⇒ Object?
Override the display address of all VMs on this host with specified address.
-
#override_iptables ⇒ Boolean?
If True host iptables will be overridden by host deploy script.,Note that C(override_iptables) is I(false) by default in oVirt/RHV.
-
#password ⇒ String?
Password of the root.
-
#power_management_enabled ⇒ Object?
Enable or disable power management of the host.,For more comprehensive setup of PM use C(ovirt_host_pm) module.
-
#public_key ⇒ Boolean?
I(True) if the public key should be used to authenticate to host.,It’s required in case C(password) is not set.
-
#reboot_after_upgrade ⇒ Boolean?
If I(true) and C(state) is I(upgraded) reboot host after successful upgrade.
-
#spm_priority ⇒ Object?
SPM priority of the host.
-
#state ⇒ :present, ...
State which should a host to be in after successful completion.,I(iscsilogin) and I(iscsidiscover) are supported since version 2.4.
-
#timeout ⇒ Integer?
The amount of time in seconds the module should wait for the host to get into desired state.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#activate ⇒ Boolean?
72 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 72 attribute :activate |
#address ⇒ String?
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 31 attribute :address |
#check_upgrade ⇒ Boolean?
80 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 80 attribute :check_upgrade |
#cluster ⇒ String?
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 27 attribute :cluster |
#comment ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 20 attribute :comment |
#force ⇒ Boolean?
54 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 54 attribute :force |
#hosted_engine ⇒ :deploy, ...
65 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 65 attribute :hosted_engine |
#iscsi ⇒ Hash?
76 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 76 attribute :iscsi |
#kdump_integration ⇒ :enabled, ...
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 43 attribute :kdump_integration |
#kernel_params ⇒ Array<String>, ...
61 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 61 attribute :kernel_params |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 12 attribute :name |
#override_display ⇒ Object?
58 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 58 attribute :override_display |
#override_iptables ⇒ Boolean?
50 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 50 attribute :override_iptables |
#password ⇒ String?
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 35 attribute :password |
#power_management_enabled ⇒ Object?
69 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 69 attribute :power_management_enabled |
#public_key ⇒ Boolean?
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 39 attribute :public_key |
#reboot_after_upgrade ⇒ Boolean?
84 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 84 attribute :reboot_after_upgrade |
#spm_priority ⇒ Object?
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 47 attribute :spm_priority |
#state ⇒ :present, ...
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 16 attribute :state |
#timeout ⇒ Integer?
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host.rb', line 23 attribute :timeout |