Change the flag value so that it's intuitive.

This commit is contained in:
Kazuhiro MUSASHI 2023-02-05 10:57:45 +09:00
parent 955f3ab1ca
commit 9438dc34b4
2 changed files with 6 additions and 4 deletions

View File

@ -4,7 +4,7 @@
node.reverse_merge!({
'nginx' => {
'version' => '1.23.2',
'skip_lego' => 'false',
'skip_webadm' => 'false'
'skip_lego' => 'true',
'skip_webadm' => 'true'
}
})

View File

@ -33,12 +33,14 @@ end
end
# Prerequisites for Building nginx:
if node['nginx']['skip_webadm']
if !node['nginx']['skip_webadm']
include_recipe './webadm.rb'
include_recipe '../blog/default.rb'
include_recipe '../everun/default.rb'
end
# Install Let's Encrypt:
if node['nginx']['skip_lego']
if !node['nginx']['skip_lego']
include_recipe './lego.rb'
end