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_mcn_by_ssh.yml
fumingwei 5b2a048fbb add role adc_exporter_ping
add role switch_rule
2020-12-15 14:54:35 +06:00

14 lines
303 B
YAML

- 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