X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Finfra-ansible.git;a=blobdiff_plain;f=roles%2Finitial_poweroff_hosts%2Ftasks%2Fpoweroff_real_nodes.yml;h=ea5f098d67e456b13354d3cc5be5f4de3bf6af15;hp=6a188f42c7c13f389197b3475b8178aa39ae137d;hb=0815b534bebc4f3cd7869efb8872ac11e40d0bc6;hpb=9a1255b5ab8b531cd9aa473050889f41f4ad2694 diff --git a/roles/initial_poweroff_hosts/tasks/poweroff_real_nodes.yml b/roles/initial_poweroff_hosts/tasks/poweroff_real_nodes.yml index 6a188f4..ea5f098 100644 --- a/roles/initial_poweroff_hosts/tasks/poweroff_real_nodes.yml +++ b/roles/initial_poweroff_hosts/tasks/poweroff_real_nodes.yml @@ -15,7 +15,7 @@ # limitations under the License. - name: Ensure all the nodes in the deployment are powered-off. - command: "/usr/bin/ipmitool -I lanplus -H {{item.value['hwmgmt']['address']}} -U {{item.value['hwmgmt']['user']}} -P {{item.value['hwmgmt']['password']}} chassis power off" + command: "/usr/bin/ipmitool -I lanplus -H {{item.value['hwmgmt']['address']}} -U {{item.value['hwmgmt']['user']}} -P {{item.value['hwmgmt']['password']}} -L {{item.value['hwmgmt']['priv_level']}} chassis power off" with_dict: "{{nodes_to_power_off}}" no_log: True when: