An open API service indexing awesome lists of open source software.

https://github.com/stackhpc/ansible-role-os-ironic-state

Ansible role to set the provision state of ironic nodes
https://github.com/stackhpc/ansible-role-os-ironic-state

ansible baremetal cloud ironic openstack

Last synced: 14 days ago
JSON representation

Ansible role to set the provision state of ironic nodes

Awesome Lists containing this project

README

          

OpenStack Ironic Node State
===========================

This role can be used to set the provision state of ironic nodes.

Requirements
------------

The OpenStack keystone and ironic APIs should be accessible from the target
host.

Role Variables
--------------

`os_ironic_state_auth_type`: Authentication type as used by `os_*` modules'
`auth_type` argument.

`os_ironic_state_auth`: Authentication options as used by `os_*` modules'
`auth` argument.

`os_ironic_state_cacert`: CA certificate as used by `os_*` modules' `cacert`
argument.

`os_ironic_state_interface` is the endpoint URL type to fetch from the service
catalog. Maybe be one of `public`, `admin`, or `internal`.

`os_ironic_state_name`: Name of the ironic node.

`os_ironic_state_provision_state`: Desired provision state.

`os_ironic_state_delegate_to`: Host to delegate to.

`os_ironic_state_wait`: Whether to wait for the state transition to complete.
Default is `True`.

`os_ironic_state_timeout`: Time to wait for state transition to complete, if
`os_ironic_state_wait` is `True`. Default is 1200 seconds.

Dependencies
------------

The delegate host should have the `openstacksdk` Python package installed.

Example Playbook
----------------

Author Information
------------------

- Mark Goddard ()