mirror of
https://github.com/kasmtech/ansible
synced 2024-12-05 01:29:24 +00:00
16 lines
381 B
YAML
16 lines
381 B
YAML
- hosts:
|
|
- db
|
|
- web
|
|
- agent
|
|
tasks:
|
|
- name: Stop Kasm Services
|
|
shell: /opt/kasm/bin/stop
|
|
register: stop_output
|
|
changed_when: '"done" in stop_output.stderr'
|
|
become: true
|
|
|
|
- name: Start Kasm Services
|
|
shell: /opt/kasm/bin/start
|
|
register: start_output
|
|
changed_when: '"done" in start_output.stderr'
|
|
become: true
|