Skip to content

Manage Windows Service

Go to Automation

View in GitLab

Description

This Ansible playbook is designed to manage Windows services on a target server. It validates the service_action variable and performs the specified action on the service. This playbook is used to allow other teams to perform actions on services on a select subset of servers.

Credentials

  • sys_ansible_windows

Input

Variable Description
target The target host or group of hosts where the playbook will be executed
service_action The action to perform on the service (started, stopped, restarted or info)
service_name The name of the Windows service to manage

Output

None

Dependencies