mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-10 06:51:04 +01:00
26 lines
658 B
YAML
26 lines
658 B
YAML
---
|
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
|
include_tasks: nginx-docker-proxy-domain.yml
|
|
loop: "{{ domains }}"
|
|
loop_control:
|
|
loop_var: domain
|
|
|
|
- name: "create {{conf_d_server_directory}} and parent directories"
|
|
file:
|
|
path: "{{conf_d_server_directory}}"
|
|
state: directory
|
|
mode: 0755
|
|
recurse: yes
|
|
|
|
- name: "create {{default_conf_server_file}}"
|
|
template:
|
|
src: "default.conf"
|
|
dest: "{{default_conf_server_file}}"
|
|
notify: recreate mybb
|
|
|
|
- name: add docker-compose.yml
|
|
template:
|
|
src: "docker-compose.yml.j2"
|
|
dest: "{{docker_compose_instance_directory}}docker-compose.yml"
|
|
notify: recreate mybb
|