ansible/in-node/playbook.yaml
2024-01-08 11:58:59 +05:30

15 lines
420 B
YAML

- name: Docker
hosts: in
vars_files:
- ./vars.yaml
tasks:
- name: Deploy stack role
ansible.builtin.include_role:
name: gi-yt.docker_compose_declarative
vars:
app: "{{ item.value }}"
app_name: "{{ item.key | lower }}"
configs_dir_local: "./configs/{{ item.key }}"
loop: "{{ apps.groups | default({}) | dict2items }}"
when: item.value.docker_settings