mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-27 22:38:34 +01:00
change pub key to use user_group
if you set an alternate prime_group this would break, replaced {{ name }} with {{ user_group }}
This commit is contained in:
parent
c57a2ab0b7
commit
7284ece745
@ -93,7 +93,7 @@ user_{{ name }}_public_key:
|
||||
file.managed:
|
||||
- name: {{ user.get('home', '/home/{0}'.format(name)) }}/.ssh/id_rsa.pub
|
||||
- user: {{ name }}
|
||||
- group: {{ name }}
|
||||
- group: {{ user_group }}
|
||||
- mode: 644
|
||||
- contents: {{ user['ssh_keys']['pubkey'] }}
|
||||
- require:
|
||||
|
Loading…
Reference in New Issue
Block a user