Add manage_sshd conditional #63

Merged
Georg merged 2 commits from sshd-optional into production 2023-05-02 19:39:20 +02:00
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
manage_sshd: False

View File

@ -1,5 +1,6 @@
include: include:
- openssh.banner - openssh.banner
{%- if salt['pillar.get']('manage_sshd', True) %}
- openssh.config - openssh.config
/etc/ssh/user_ca: /etc/ssh/user_ca:
@ -10,3 +11,4 @@ include:
{%- endfor -%} {%- endfor -%}
- require: - require:
- pkg: openssh - pkg: openssh
{%- endif %}