Move static sites from centaurus to fornax/LB

This commit is contained in:
Basti 2022-03-17 14:27:50 -06:00
parent 5e38edb57e
commit 4cd0149f76
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
5 changed files with 13 additions and 8 deletions

View File

@ -77,11 +77,7 @@
}, },
"run_list": [ "run_list": [
"recipe[kosmos-base]", "recipe[kosmos-base]",
"recipe[kosmos_encfs]",
"recipe[kosmos_assets::nginx_site]",
"recipe[kosmos_kvm::host]", "recipe[kosmos_kvm::host]",
"recipe[kosmos-ejabberd::firewall]",
"recipe[kosmos_website::default]",
"recipe[kosmos_zerotier::firewall]" "recipe[kosmos_zerotier::firewall]"
] ]
} }

View File

@ -12,15 +12,18 @@
"hostname": "fornax", "hostname": "fornax",
"ipaddress": "148.251.83.201", "ipaddress": "148.251.83.201",
"roles": [ "roles": [
"nginx_proxy"
], ],
"recipes": [ "recipes": [
"kosmos-base", "kosmos-base",
"kosmos-base::default", "kosmos-base::default",
"kosmos_kvm::host", "kosmos_kvm::host",
"kosmos_assets::nginx_site",
"kosmos_discourse::nginx", "kosmos_discourse::nginx",
"kosmos_gitea::nginx",
"kosmos_drone::nginx", "kosmos_drone::nginx",
"kosmos_gitea::nginx",
"kosmos_website",
"kosmos_website::default",
"apt::default", "apt::default",
"timezone_iii::default", "timezone_iii::default",
"timezone_iii::debian", "timezone_iii::debian",
@ -45,6 +48,8 @@
"nginx::commons_script", "nginx::commons_script",
"nginx::commons_conf", "nginx::commons_conf",
"kosmos-nginx::firewall", "kosmos-nginx::firewall",
"git::default",
"git::package",
"kosmos-base::letsencrypt" "kosmos-base::letsencrypt"
], ],
"platform": "ubuntu", "platform": "ubuntu",
@ -67,4 +72,4 @@
"recipe[kosmos_kvm::host]", "recipe[kosmos_kvm::host]",
"role[nginx_proxy]" "role[nginx_proxy]"
] ]
} }

View File

@ -1,9 +1,11 @@
name "nginx_proxy" name "nginx_proxy"
default_run_list = %w( default_run_list = %w(
kosmos_assets::nginx_site
kosmos_discourse::nginx kosmos_discourse::nginx
kosmos_gitea::nginx
kosmos_drone::nginx kosmos_drone::nginx
kosmos_gitea::nginx
kosmos_website::default
) )
env_run_lists( env_run_lists(

View File

@ -8,3 +8,4 @@ version '1.0.0'
chef_version '>= 15.10' if respond_to?(:chef_version) chef_version '>= 15.10' if respond_to?(:chef_version)
depends "kosmos-nginx" depends "kosmos-nginx"
depends 'git'

View File

@ -4,6 +4,7 @@
# #
include_recipe "kosmos-nginx" include_recipe "kosmos-nginx"
include_recipe "git"
domain = node["kosmos_website"]["domain"] domain = node["kosmos_website"]["domain"]