Minor cleanup, centralized inventory
This commit is contained in:
parent
1cd41e4cd9
commit
c718741add
@ -4,7 +4,8 @@ Getting Started
|
|||||||
Requirements:
|
Requirements:
|
||||||
|
|
||||||
- openstack-infra/shade library -> https://review.openstack.org/159609
|
- openstack-infra/shade library -> https://review.openstack.org/159609
|
||||||
- openstack-infra/os-client-config -> https://review.openstack.org/159563
|
- openstack-infra/os-client-config -> https://review.openstack.org/159563
|
||||||
|
- os_baremetal ansible module under development -> https://github.com/juliakreger/ansible-modules-extras/blob/features/new-openstack/cloud/os_baremetal.py
|
||||||
- Information defining your hardware in a CSV file.
|
- Information defining your hardware in a CSV file.
|
||||||
|
|
||||||
CSV File Format
|
CSV File Format
|
||||||
@ -35,4 +36,4 @@ The enroll.yaml playbook, requires a variable be set or passed into the playbook
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
ansible-playbook -i localhost -vvvv enroll.yaml -e baremetal_csv_file=./baremetal.csv
|
ansible-playbook -i ../inventory/localhost -vvvv enroll.yaml -e baremetal_csv_file=./baremetal.csv
|
@ -32,7 +32,7 @@
|
|||||||
os_baremetal:
|
os_baremetal:
|
||||||
auth_plugin: None
|
auth_plugin: None
|
||||||
auth: None
|
auth: None
|
||||||
ironic_url: "http://localhost:6385/"
|
ironic_url: "{{ ironic_url }}"
|
||||||
driver: "pxe_ipmitool"
|
driver: "pxe_ipmitool"
|
||||||
# UUID determination TBD for mass enrollment.
|
# UUID determination TBD for mass enrollment.
|
||||||
uuid: "{{item.split(',')[9]}}"
|
uuid: "{{item.split(',')[9]}}"
|
||||||
|
2
inventory/group_vars/all.yaml
Normal file
2
inventory/group_vars/all.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
ironic_url: "http://localhost:6385/"
|
Loading…
Reference in New Issue
Block a user