bifrost/enroll
Julia Kreger 25d63963c1 Rename of os_baremetal module to os_ironic and update deps
Updated os_baremetal library name to os_ironic per discussions
amongst the team working to develop the module.  Updated the
dependency librarys based on updates due to reviews.
2015-02-27 09:18:47 -05:00
..
baremetal.csv.example Enhancement of enrollment into a working state 2015-02-26 16:50:22 -05:00
enroll.yaml Rename of os_baremetal module to os_ironic and update deps 2015-02-27 09:18:47 -05:00
README.rst Minor cleanup, centralized inventory 2015-02-26 17:09:47 -05:00

Getting Started

Requirements:

CSV File Format

The CSV file has the following columns:

  1. MAC Address
  2. Management username
  3. Management password
  4. Management Address
  5. CPU Count
  6. Memory size in MB
  7. Disk Storage in GB
  8. Flavor (Not Used)
  9. Type (Not Used)
  10. Host UUID

Example: 00:11:22:33:44:55,root,undefined,192.168.122.1,1,8192,512,Control,VM

An example file is included called baremetal.csv.example

How this works?

The enroll.yaml playbook, requires a variable be set or passed into the playbook execution of baremetal_csv_file which is the path to the CSV file to be consumed and loaded into ironic.

Example:

ansible-playbook -i ../inventory/localhost -vvvv enroll.yaml -e baremetal_csv_file=./baremetal.csv