Merge pull request 'Add manage_sshd conditional' (#63) from sshd-optional into production
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful

Reviewed-on: #63
This commit is contained in:
Georg Pfuetzenreuter 2023-05-02 19:39:20 +02:00
commit 9f176609a5
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 %}