mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-09 19:57:16 +02:00
Refactored server roles for better readability
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
---
|
||||
- name: "include role for {{ application_id }} to receive certs & do modification routines"
|
||||
include_role:
|
||||
name: srv-composer
|
||||
|
||||
- name: "load docker and db for {{ application_id }}"
|
||||
include_role:
|
||||
name: sys-stk-back-stateful
|
||||
@@ -10,7 +6,7 @@
|
||||
- name: configure {{ domain }}.conf
|
||||
template:
|
||||
src: "templates/proxy.conf.j2"
|
||||
dest: "{{ NGINX.DIRECTORIES.HTTP.SERVERS }}{{ domain }}.conf"
|
||||
dest: "{{ [ NGINX.DIRECTORIES.HTTP.SERVERS, domain ~ '.conf'] | path_join }}"
|
||||
notify: restart openresty
|
||||
|
||||
- name: "create {{ docker_compose.files.env }}"
|
||||
|
Reference in New Issue
Block a user