20.11.rc3 rebase version 20.11

This commit is contained in:
fumingwei
2021-01-31 22:43:40 +08:00
parent bcf5049ecb
commit 6dfaf41870
195 changed files with 2931 additions and 2149 deletions

View File

@@ -0,0 +1,9 @@
- hosts:
- adc_mcn0
- adc_mcn1
- adc_mcn2
- adc_mcn3
remote_user: root
tasks:
- name: "reboot"
reboot:

View File

@@ -0,0 +1,11 @@
- 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

View File

@@ -0,0 +1,13 @@
- hosts: adc_mxn
remote_user: root
tasks:
- name: "reboot adc mcn*"
shell: "{{ item }}"
ignore_errors: true
with_items:
- ssh 192.168.100.1 reboot
- ssh 192.168.100.2 reboot
- ssh 192.168.100.3 reboot
- ssh 192.168.100.4 reboot
- reboot