Code Review
/
ta
/
infra-ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
FIX: Compliance with Akraino security requirements
[ta/infra-ansible.git]
/
roles
/
initial_poweroff_hosts
/
tasks
/
poweroff_real_nodes.yml
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
(file)
--- 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.
# 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:
with_dict: "{{nodes_to_power_off}}"
no_log: True
when: