ansible/in-node/playbook.yaml

15 lines
420 B
YAML
Raw Normal View History

- name: Docker
2024-01-07 22:06:11 +05:30
hosts: in
2024-01-06 22:27:58 +05:30
vars_files:
- ./vars.yaml
tasks:
- name: Deploy stack role
ansible.builtin.include_role:
2024-01-07 22:06:11 +05:30
name: gi-yt.docker_compose_declarative
2024-01-06 22:27:58 +05:30
vars:
app: "{{ item.value }}"
app_name: "{{ item.key | lower }}"
configs_dir_local: "./configs/{{ item.key }}"
2024-01-07 22:06:11 +05:30
loop: "{{ apps.groups | default({}) | dict2items }}"
2024-01-06 22:27:58 +05:30
when: item.value.docker_settings