Initial COmmit
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 14s
Ansible Linter / ansible-lint (push) Successful in 1m5s

This commit is contained in:
2025-04-28 11:28:52 +02:00
commit 08cd2799ce
16 changed files with 452 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#
# {{ ansible_managed }}
#
{% for authorized_key in root.ssh.authorized_keys %}
{% if authorized_key.command is defined and authorized_key.command | length > 0 %}
command="{{ authorized_key.command }}" {{ lookup('file', 'ssh/authorized_keys/' + authorized_key.filename ) }}
{% else %}
{{ lookup('file', 'ssh/authorized_keys/' + authorized_key.filename ) }}
{% endif %}
{% endfor %}

View File

@ -0,0 +1,15 @@
#jinja2: lstrip_blocks: True
#
# {{ ansible_managed }}
#
{% for config in root.ssh.config %}
{% for property, value in config.items() %}
{% if property == "Host" %}
{{ property }} {{ value }}
{% else %}
{{ property }} {{ value }}
{% endif %}
{% endfor %}
{% endfor %}