Create nginx_proxy role

Used to configure hosts entries in the Gitea and Drone VMs, as well as
the allowed webhooks config for Gitea.
This commit is contained in:
2022-03-12 15:37:38 -06:00
parent b270a2c1fd
commit 0a953070fe
4 changed files with 54 additions and 7 deletions

13
roles/nginx_proxy.rb Normal file
View File

@@ -0,0 +1,13 @@
name "nginx_proxy"
default_run_list = %w(
kosmos_discourse::nginx
kosmos_gitea::nginx
kosmos_drone::nginx
)
env_run_lists(
'_default' => default_run_list,
'development' => [],
'production' => default_run_list
)