forked from data.coop/ansible
18 lines
426 B
YAML
18 lines
426 B
YAML
# vim: ft=yaml.ansible
|
|
---
|
|
- name: Create subfolders
|
|
file:
|
|
path: "{{ services.docker_registry.volume_folder }}/{{ volume }}"
|
|
state: directory
|
|
loop:
|
|
- auth
|
|
- registry
|
|
loop_control:
|
|
loop_var: volume
|
|
|
|
- name: Copy docker registry vhost configuration
|
|
copy:
|
|
src: vhost/docker_registry
|
|
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.docker_registry.domain }}"
|
|
mode: "0644"
|