Rename ironic-deploy role
Changed the name of the ironic-deploy role to bifrost-validate-host-for-deploy to be in-line with what the role actually does which is perform basic node validation before the process proceeds.
This commit is contained in:
parent
cc947b67b1
commit
7f9700209c
@ -9,7 +9,7 @@
|
||||
local_action: fail msg="baremetal_csv_file must be defined for this playbook to execute, please pass option '-e baremetal_csv_file=<path/to/file>'"
|
||||
when: baremetal_csv_file is not defined
|
||||
roles:
|
||||
- role: ironic-deploy
|
||||
- role: bifrost-validate-host-for-deploy
|
||||
baremetal_csv_file: "{{ baremetal_csv_file }}"
|
||||
- hosts: localhost
|
||||
connection: local
|
||||
|
@ -114,5 +114,5 @@ galaxy_info:
|
||||
#- system
|
||||
#- web
|
||||
dependencies:
|
||||
- ironic-deploy
|
||||
- bifrost-validate-host-for-deploy
|
||||
- bifrost-configdrives
|
||||
|
@ -1,7 +1,7 @@
|
||||
ironic-deploy
|
||||
=============
|
||||
bifrost-validate-host-for-deploy
|
||||
================================
|
||||
|
||||
Preforms basic sanity checks as part of Bifrost before nodes are provisioned.
|
||||
Preforms basic sanity checks of an Ironic node as part of Bifrost host before nodes are provisioned.
|
||||
|
||||
Requirements
|
||||
------------
|
2
roles/bifrost-validate-host-for-deploy/defaults/main.yml
Normal file
2
roles/bifrost-validate-host-for-deploy/defaults/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
# defaults file for bifrost-validate-host-for-deploy
|
2
roles/bifrost-validate-host-for-deploy/handlers/main.yml
Normal file
2
roles/bifrost-validate-host-for-deploy/handlers/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
# handlers file for ironic-bifrost-validate-host-for-deploy
|
@ -1,13 +1,13 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: Ironic Developers
|
||||
description:
|
||||
description:
|
||||
company: OpenStack
|
||||
license: Apache
|
||||
min_ansible_version: 1.9
|
||||
#
|
||||
# Below are all platforms currently available. Just uncomment
|
||||
# the ones that apply to your role. If you don't see your
|
||||
# the ones that apply to your role. If you don't see your
|
||||
# platform on this list, let us know and we'll get it added!
|
||||
#
|
||||
platforms:
|
2
roles/bifrost-validate-host-for-deploy/vars/main.yml
Normal file
2
roles/bifrost-validate-host-for-deploy/vars/main.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
# vars file for bifrost-validate-host-for-deploy
|
@ -1,2 +0,0 @@
|
||||
---
|
||||
# defaults file for ironic-deploy
|
@ -1,2 +0,0 @@
|
||||
---
|
||||
# handlers file for ironic-deploy
|
@ -1,2 +0,0 @@
|
||||
---
|
||||
# vars file for ironic-deploy
|
@ -14,7 +14,7 @@
|
||||
testing: true
|
||||
- role: ironic-enroll
|
||||
testing: true
|
||||
- role: ironic-deploy
|
||||
- role: bifrost-validate-host-for-deploy
|
||||
- hosts: localhost
|
||||
connection: local
|
||||
name: "Executes install, enrollment, and testing in one playbook"
|
||||
|
Loading…
Reference in New Issue
Block a user