Change the flag value so that it's intuitive.
This commit is contained in:
parent
955f3ab1ca
commit
9438dc34b4
|
@ -4,7 +4,7 @@
|
|||
node.reverse_merge!({
|
||||
'nginx' => {
|
||||
'version' => '1.23.2',
|
||||
'skip_lego' => 'false',
|
||||
'skip_webadm' => 'false'
|
||||
'skip_lego' => 'true',
|
||||
'skip_webadm' => 'true'
|
||||
}
|
||||
})
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue