25d63963c1
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. |
||
---|---|---|
.. | ||
baremetal.csv.example | ||
enroll.yaml | ||
README.rst |
Getting Started
Requirements:
- openstack-infra/shade library -> https://review.openstack.org/159609
- 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.
CSV File Format
The CSV file has the following columns:
- MAC Address
- Management username
- Management password
- Management Address
- CPU Count
- Memory size in MB
- Disk Storage in GB
- Flavor (Not Used)
- Type (Not Used)
- 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