1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
5 - name: Ensure Keepstore Directory roots exist
13 loop: "{{ arvados_cluster.Volumes.values()|selectattr('Driver', '==', 'Directory')|map(attribute='DriverParameters.Root')|unique }}"
15 - name: apt update if needed
16 ansible.builtin.meta: flush_handlers
18 - name: Install Arvados keepstore
24 - name: Start and enable keepstore.service
26 ansible.builtin.systemd_service:
27 name: keepstore.service
28 state: "{{ 'restarted' if arvados_config_changed else 'started' }}"