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:
|
include:
|
||||||
{% if pillar.basics.firewall is defined %}
|
{% if pillar.basics.firewall is defined %}
|
||||||
- basics.firewall
|
- basics.firewall
|
||||||
|
@ -5,6 +6,7 @@ include:
|
||||||
{% if pillar.basics.ssh is defined %}
|
{% if pillar.basics.ssh is defined %}
|
||||||
- basics.ssh
|
- basics.ssh
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
Make sure all packages are up to date:
|
Make sure all packages are up to date:
|
||||||
pkg.uptodate:
|
pkg.uptodate:
|
||||||
|
|
Loading…
Reference in a new issue