windows ansible service (1) 썸네일형 리스트형 Windows Ansible | [Playbook] shutdown, reboot, service winrm 설치는 여기 참조 윈도우 전원 shutdown --- - hosts: all gather_facts: no ignore_unreachable: yes tasks: - name: Run an executable and send data to the stdin for the executable win_command: powershell.exe Stop-Computer -Force 윈도우 전원 reboot --- - hosts: all gather_facts: no ignore_unreachable: yes tasks: - name: Reboot the machine with all defaults win_reboot: 윈도우 서비스 모듈 start_mode : auto | delayed | dis.. 이전 1 다음