Minor cleanup, centralized inventory

This commit is contained in:
Julia Kreger 2015-02-26 17:09:47 -05:00
parent 1cd41e4cd9
commit c718741add
4 changed files with 6 additions and 3 deletions

View File

@ -5,6 +5,7 @@ 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

View File

@ -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]}}"

View File

@ -0,0 +1,2 @@
---
ironic_url: "http://localhost:6385/"