This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
solutions-tsg-scripts/tasks/reboot/reboot_adc_mxn_mcn_by_ipmitool.yml
fumingwei c80ec96e6e 1、commit the file privilege that is changed
2、add function that is to reboot and  stop device manager in mxn
2021-03-08 10:54:59 +08:00

13 lines
360 B
YAML

- hosts: adc_mxn
remote_user: root
tasks:
- name: "reboot adc in mxn by ipmitool"
shell: "{{ item }}"
ignore_errors: true
with_items:
- ipmitool -t 0x90 chassis power reset
- ipmitool -t 0x80 chassis power reset
- ipmitool -t 0x98 chassis power reset
- ipmitool -t 0x88 chassis power reset
- reboot