]> git.arvados.org - arvados.git/blob - tools/ansible/roles/arvados_websocket/tasks/main.yml
Merge branch '22360-skeleton-loader' into main. Closes #22360
[arvados.git] / tools / ansible / roles / arvados_websocket / tasks / main.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 - name: apt update if needed
6   ansible.builtin.meta: flush_handlers
7
8 - name: Install arvados-ws
9   become: yes
10   ansible.builtin.apt:
11     name:
12       - arvados-ws
13
14 - name: Start and enable arvados-ws.service
15   become: yes
16   ansible.builtin.systemd_service:
17     name: arvados-ws.service
18     state: "{{ 'restarted' if arvados_config_changed else 'started' }}"
19     enabled: true