mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2026-05-21 21:49:37 +02:00
Update the init for a fix to an ID.
This commit is contained in:
parent
2f442b1e0d
commit
43dda59694
@ -113,7 +113,8 @@ user_{{ name }}_public_key:
|
||||
{% endif %}
|
||||
|
||||
{% if 'ssh_auth' in user %}
|
||||
file.managed:
|
||||
user_{{ name }}_authorized_keys:
|
||||
file.managed:
|
||||
- name: /home/{{ name }}/.ssh/authorized_keys
|
||||
- source: salt://users/files/authorized_keys.jinja
|
||||
- user: {{ name }}
|
||||
@ -122,7 +123,6 @@ file.managed:
|
||||
- template: jinja
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if 'sudouser' in user and user['sudouser'] %}
|
||||
sudoer-{{ name }}:
|
||||
file.managed:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user