# vim: ft=yaml.ansible # code: language=ansible --- - name: Create Docker network for apps community.docker.docker_network: name: "{{ apps_docker_network }}" enable_ipv6: true ipam_config: - subnet: 172.17.2.0/24 - subnet: fd02::/64 state: present - name: Create base directories for Docker volumes ansible.builtin.file: name: "{{ apps_data_root }}" owner: root mode: u=rwx,g=rx,o=rx state: directory - name: Configure apps ansible.builtin.include_tasks: apps/{{ item.key }}.yml loop: "{{ apps_vars | dict2items }}"