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
- Host: GitHub
- URL: https://github.com/stackhpc/ansible-role-os-ironic-state
- Owner: stackhpc
- License: gpl-3.0
- Created: 2017-12-12T14:26:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T08:02:48.000Z (almost 4 years ago)
- Last Synced: 2024-04-14T22:50:17.446Z (about 2 years ago)
- Topics: ansible, baremetal, cloud, ironic, openstack
- Language: Python
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
- Codeowners: .github/CODEOWNERS
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 ()