|
|
|
|
|
|
|
|
{{ print_ssh_auth(identifier, key) }} |
|
|
{{ print_ssh_auth(identifier, key) }} |
|
|
{%- if 'sshd_config' in pillar and 'AuthorizedKeysFile' in pillar['sshd_config'] %} |
|
|
{%- if 'sshd_config' in pillar and 'AuthorizedKeysFile' in pillar['sshd_config'] %} |
|
|
- config: '{{ pillar['sshd_config']['AuthorizedKeysFile'] }}' |
|
|
- config: '{{ pillar['sshd_config']['AuthorizedKeysFile'] }}' |
|
|
{% endif -%} |
|
|
|
|
|
|
|
|
{% endif %} |
|
|
- require: |
|
|
- require: |
|
|
- service: {{ openssh.service }} |
|
|
- service: {{ openssh.service }} |
|
|
{%- else %} |
|
|
{%- else %} |
|
|
|
|
|
|
|
|
{% endif -%} |
|
|
{% endif -%} |
|
|
{%- endif -%} |
|
|
{%- endif -%} |
|
|
{%- endfor -%} |
|
|
{%- endfor -%} |
|
|
{%- endfor -%} |
|
|
|
|
|
|
|
|
{%- endfor -%} |