Compare commits

..

No commits in common. "8024449e2b4d983bf9f26c8c73a571974837f4ab" and "2b9420afa9a0075c509dd5fd716d3028e04585f0" have entirely different histories.

3 changed files with 4 additions and 14 deletions

View File

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

View File

@ -16,9 +16,4 @@
{%- if user.shell is defined %}
- shell: {{ user.shell }}
{%- endif %}
ssh_auth.manage:
- user: {{ name }}
{%- if user['ssh-keys'] is defined %}
- ssh_keys: {{ user['ssh-keys']|json }}
{%- endif %}
{%- endfor %}

View File

@ -4,9 +4,6 @@
{%- do admin_groups.append('systemd-journal') %}
{%- endif %}
{# FIXME(frebib): manage Docker group instead of blindly adding it #}
{%- do admin_groups.append('docker') %}
frebib:
groups:
{%- for group in admin_groups %}
@ -15,7 +12,6 @@ frebib:
ssh-keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINk+sOUEXKsGqITyMhna9v77ADGagkr3YMpgZFkrvqcd frebib@frebib-PC
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBIGxhZPQM/3Ck+DNNM0CoIZTsvKqQLKq8fqQoO6fXzX frebib@frebib-OnePlus3
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL+T8ChEU9YmpE2BY77oEtKzedB8HWDSM5bErDN9gcvj frebib@frebib-Cf
adam:
groups: