mirror of
https://github.com/kasmtech/ansible
synced 2024-11-14 15:57:09 +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
|