This commit is contained in:
2019-03-29 21:08:20 -04:00
commit d0059c2308
3 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# Managed by Salt
{% for comment, keydata in pillar['authorized_keys'].items() -%}
{{keydata}} {{comment}}
{% endfor -%}

6
ssh/init.sls Normal file
View File

@@ -0,0 +1,6 @@
/root/.ssh/authorized_keys:
file.managed:
- source: 'salt://ssh/files/authorized_keys.jinja'
- template: jinja
- mode: 400

3
top.sls Normal file
View File

@@ -0,0 +1,3 @@
{{saltenv}}:
'*':
- ssh