Skip to content

Commit 50a2cb0

Browse files
authored
Make nginx role usable outside this collection (#64)
2 parents 4105bc1 + f74a27d commit 50a2cb0

8 files changed

Lines changed: 13 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All changes that impact users of this module are documented in this file, in the [Common Changelog](https://common-changelog.org) format with some additional specifications defined in the CONTRIBUTING file. This codebase adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## Unreleased [minor]
6+
7+
> Development of this release was supported by [Reset Tech](https://www.reset.tech).
8+
9+
### Changed
10+
11+
- Make nginx role usable outside this collection
12+
513
## 3.0.1 - 2026-02-05
614

715
_Full changeset and discussions: [#63](https://github.com/OpenTermsArchive/deployment/pull/63)._

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)