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/stop_disable_device_manager/stop_disable_device_manager.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
314 B
YAML

- hosts: adc_mxn
remote_user: root
tasks:
- name: "oam stop and disable: stop oam_core, oam_snmp service, tsg-monitor"
systemd:
name: "{{ item }}"
state: stopped
enabled: no
with_items:
- oam_core.service
- oam_snmp.service
- tsg-monitor.service