Merge pull request 'Toggle `nginx` setup behavior.' (#87) from toggle-nginx-setup-behavior into master

Reviewed-on: #87
This commit is contained in:
Kazuhiro MUSASHI 2021-09-23 19:17:57 +09:00
commit 20e0cf73ca
1 changed files with 6 additions and 2 deletions

View File

@ -33,10 +33,14 @@ end
end
# Prerequisites for Building nginx:
include_recipe './webadm.rb'
if node['nginx']['skip_webadm']
include_recipe './webadm.rb'
end
# Install Let's Encrypt:
include_recipe './lego.rb'
if node['nginx']['skip_lego']
include_recipe './lego.rb'
end
# Build nginx:
include_recipe './build.rb'