stackhpc.os-ironic-state
OpenStack Ironic Node State
This role is used to set the status of ironic nodes.
Requirements
You need to have access to the OpenStack keystone and ironic APIs from the target host.
Role Variables
os_ironic_state_auth_type
: This is the authentication type you use for theos_*
modules.os_ironic_state_auth
: These are the options for authentication used byos_*
modules.os_ironic_state_cacert
: This is the CA certificate used by theos_*
modules.os_ironic_state_interface
: This specifies the type of endpoint URL to use from the service catalog. It can bepublic
,admin
, orinternal
.os_ironic_state_name
: This is the name of the ironic node.os_ironic_state_provision_state
: This is the state you want to set for provisioning.os_ironic_state_delegate_to
: This specifies the host to delegate tasks to.os_ironic_state_wait
: This indicates whether to wait for the state change to finish. The default isTrue
.os_ironic_state_timeout
: This is how long to wait for the state change to complete ifos_ironic_state_wait
isTrue
. The default is 1200 seconds.
Dependencies
The delegated host must have the openstacksdk
Python package installed.
Example Playbook
Author Information
- Mark Goddard (mark@stackhpc.com)
Role to set OpenStack ironic node provision state
ansible-galaxy install stackhpc.os-ironic-state