Merge pull request 'Add manage_sshd conditional' (#63) from sshd-optional into production
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
Reviewed-on: #63
This commit is contained in:
commit
9f176609a5
1
pillar/id/philia_rigel_lysergic_dev.sls
Normal file
1
pillar/id/philia_rigel_lysergic_dev.sls
Normal file
@ -0,0 +1 @@
|
|||||||
|
manage_sshd: False
|
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user