add check if basics is defined

This commit is contained in:
Elouin 2024-06-16 15:22:29 +02:00
parent cc76e51f1f
commit 3fbd45778d

View file

@ -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: