bifrost/deploy/setup_nodes.yaml
Julia Kreger 32f10b5a03 Support for deploying nodes
Updated the ironic conductor driver configuration, along with the
enrollment templates to set the driver to "agent_ipmitool".

Engaged setup_nodes.yaml to make use of a new in development
ansible module.

Updated configdrives so they are loaded to HTTP, and as such
minor property updates have occured.
2015-03-03 12:07:16 -05:00

20 lines
776 B
YAML

---
- name: "Enroll Hardware"
# TODO: Conceptual idea of structure, needs image_source corrected and
# disk format clarified
os_ironic_node:
auth_plugin: None
auth: None
ironic_url: "{{ ironic_url }}"
uuid: "{{item.split(',')[9]}}"
state: present
config_drive: "http://{{ hostvars[inventory_hostname]['ansible_' + network_interface]['ipv4']['address'] }}:8080/{{item.split(',')[9]}}-configdrive.iso"
instance_info:
image_source: "http://{{ hostvars[inventory_hostname]['ansible_' + network_interface]['ipv4']['address'] }}:8080/{{deploy_image_filename}}"
image_checksum: "{{ test_deploy_image.stat.md5 }}"
image_disk_format: "qcow"
root_gb: 10
delegate_to: localhost
with_lines:
- cat {{ baremetal_csv_file }}