blob: f80d5b545e5c2d78db46b43e947046807cdf1fbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
- import_tasks: roothints.yaml
when: ironic.root_device_hints is defined
- set_fact:
ironic_root_device: /dev/{{ item.key }}
with_dict: "{{ ansible_devices }}"
when:
- ironic_root_device is undefined
- item.value.host
- set_fact:
ironic_image_target: "{{ ironic_root_device }}"
when: ironic_image_target is undefined
|