Compare commits

..

1 Commits

Author SHA1 Message Date
9a97498b7b users: manage ssh authorised keys
Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-19 15:09:18 +01:00
4 changed files with 4 additions and 12 deletions

View File

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

View File

@ -1 +0,0 @@
[]

View File

@ -11,10 +11,10 @@ salt-minion:
restart-salt-minion: restart-salt-minion:
cmd.run: cmd.run:
- name: sleep 10 && systemctl restart salt-minion - name: "sleep 10 && systemctl restart salt-minion --no-block"
- bg: true - bg: true
- order: last - order: last
- onchanges: - watch:
- pkg: salt-minion - pkg: salt-minion
- file: /etc/salt/minion - file: /etc/salt/minion
- require: - require:
@ -34,7 +34,6 @@ restart-salt-minion:
check-minion-config: check-minion-config:
cmd.run: cmd.run:
- name: sudo salt-call --local --skip-grains test.true - name: sudo salt-call --local --skip-grains test.ping
- onchanges: - watch:
- pkg: salt-minion
- file: /etc/salt/minion - file: /etc/salt/minion

View File

@ -4,9 +4,6 @@
{%- do admin_groups.append('systemd-journal') %} {%- do admin_groups.append('systemd-journal') %}
{%- endif %} {%- endif %}
{# FIXME(frebib): manage Docker group instead of blindly adding it #}
{%- do admin_groups.append('docker') %}
frebib: frebib:
groups: groups:
{%- for group in admin_groups %} {%- for group in admin_groups %}