add check if basics is defined
This commit is contained in:
parent
cc76e51f1f
commit
3fbd45778d
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
{% if pillar.basics is defined %}
|
||||
include:
|
||||
{% if pillar.basics.firewall is defined %}
|
||||
- basics.firewall
|
||||
|
@ -5,6 +6,7 @@ include:
|
|||
{% if pillar.basics.ssh is defined %}
|
||||
- basics.ssh
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
Make sure all packages are up to date:
|
||||
pkg.uptodate:
|
||||
|
|
Loading…
Reference in a new issue