Skip to content

Commit 2a5c293

Browse files
committed
Make nginx role usable outside this collection
1 parent 4105bc1 commit 2a5c293

7 files changed

Lines changed: 5 additions & 4 deletions

File tree

playbooks/deploy.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,3 @@
237237
vars:
238238
ota_nginx_app_id: "{{ ota_app_collection_id }}"
239239
ota_nginx_endpoints: "{{ ota_app_endpoints }}"
240-
ota_nginx_config_template: ./templates/nginx.conf.j2
241-
ota_nginx_reverse_proxy_config_template: ./templates/nginx-reverse-proxy-conf.j2
242-
ota_nginx_server_config_template: ./templates/nginx-server.conf.j2
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
ota_nginx_config_template: nginx.conf.j2
3+
ota_nginx_reverse_proxy_config_template: nginx-reverse-proxy-conf.j2
4+
ota_nginx_server_config_template: nginx-server.conf.j2

roles/nginx/configure/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
- name: Add global OTA config
1616
ansible.builtin.template:
17-
src: ./templates/nginx-global.conf.j2
17+
src: nginx-global.conf.j2
1818
dest: /etc/nginx/conf.d/ota-global.conf
1919
owner: root
2020
group: root
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)