Introduce a data_dir variable for radon

We've had too many confusions about the actual data directory and
unfortunately there are also inconsistencies. So use the data_dir
variable to mask host specific settings.
This commit is contained in:
Stefan Haun 2022-06-29 00:15:56 +02:00
parent 4f78fa9656
commit 81a261deb0

View file

@ -5,8 +5,10 @@
vars: vars:
ansible_python_interpreter: /usr/bin/python3 ansible_python_interpreter: /usr/bin/python3
data_dir: "/srv/data"
mosquitto_image: eclipse-mosquitto:2.0.14 mosquitto_image: eclipse-mosquitto:2.0.14
mosquitto_data: /srv/data/mosquitto mosquitto_data: "{{ data_dir }}/mosquitto"
roles: roles:
- role: docker_setup - role: docker_setup