Fix compute-node-discovery.yml - missing register

This commit is contained in:
Mark Goddard 2017-12-20 10:22:07 +00:00
parent 48cedc49fe
commit 8b17a75d6c
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@
- name: Ensure baremetal compute nodes are powered off
command: ipmitool -U {{ ipmi_username }} -P {{ ipmi_password }} -H {{ ipmi_address }} -I lanplus chassis power off
delegate_to: "{{ controller_host }}"
register: result
failed_when:
- result | failed
# Some BMCs complain if the node is already powered off.