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_adc_mcn_by_ssh.yml
fumingwei 3b125413ce 1.add role tsg_env_patch
2.delete role which is unuseful
2020-11-17 17:45:40 +06:00

13 lines
287 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