mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-10-02 12:20:06 +02:00
Remove duplicated pillar.get calls to retrieve the sshd_config and ssh_config pillars
This commit is contained in:
1 parent
463ad69d92
commit
3e01ad816a
4 files changed
+14
-16
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{%- import_yaml "openssh/defaults.yaml" as default_settings -%}
|
||||
{%- set ssh_config = salt['pillar.get']('ssh_config', default=default_settings.default.ssh_config, merge=True) -%}
|
||||
{% from "openssh/map.jinja" import ssh_config with context %}
|
||||
|
||||
{#- present in ssh_config and known in actual file options -#}
|
||||
{%- set processed_options = [] -%}
|
||||
{%- set string_or_list_options = ['KexAlgorithms', 'Ciphers', 'MACs'] -%}
|
||||
|
||||
Reference in new issue
Block a user