mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2024-11-28 05:38:20 +01:00
add optional `{{source}} to ssh_config
This commit is contained in:
parent
0913827c82
commit
e298397cc7
@ -73,6 +73,13 @@
|
|||||||
# Do not edit this file manually!
|
# Do not edit this file manually!
|
||||||
# It will be overwritten by salt!
|
# It will be overwritten by salt!
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
{%- set global_src_url = salt ['pillar.get']('__formulas:print_template_url', None) %}
|
||||||
|
{%- set local_src_url = salt ['pillar.get']('openssh-formula:print_template_url', None) %}
|
||||||
|
{%- if (global_src_url and local_src_url is none) or local_src_url %}
|
||||||
|
#
|
||||||
|
# Template used to generate this file:
|
||||||
|
# {{ source }}
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
{%- if 'Hosts' in ssh_config %}
|
{%- if 'Hosts' in ssh_config %}
|
||||||
{%- do processed_options.append('Hosts') %}
|
{%- do processed_options.append('Hosts') %}
|
||||||
|
Loading…
Reference in New Issue
Block a user