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>'"
|
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
|
when: baremetal_csv_file is not defined
|
||||||
roles:
|
roles:
|
||||||
- role: ironic-deploy
|
- role: bifrost-validate-host-for-deploy
|
||||||
baremetal_csv_file: "{{ baremetal_csv_file }}"
|
baremetal_csv_file: "{{ baremetal_csv_file }}"
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
|
@ -114,5 +114,5 @@ galaxy_info:
|
|||||||
#- system
|
#- system
|
||||||
#- web
|
#- web
|
||||||
dependencies:
|
dependencies:
|
||||||
- ironic-deploy
|
- bifrost-validate-host-for-deploy
|
||||||
- bifrost-configdrives
|
- 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
|
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
|
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
|
testing: true
|
||||||
- role: ironic-enroll
|
- role: ironic-enroll
|
||||||
testing: true
|
testing: true
|
||||||
- role: ironic-deploy
|
- role: bifrost-validate-host-for-deploy
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
name: "Executes install, enrollment, and testing in one playbook"
|
name: "Executes install, enrollment, and testing in one playbook"
|
||||||
|
Loading…
Reference in New Issue
Block a user