mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-28 00:48:22 +01:00
Do not echo Public/Private keys to stdout when running the state
This commit is contained in:
parent
cd149fd8e6
commit
e9cc0b29cb
@ -87,6 +87,7 @@ user_{{ name }}_private_key:
|
||||
- user: {{ name }}
|
||||
- group: {{ user_group }}
|
||||
- mode: 600
|
||||
- show_diff: False
|
||||
- contents_pillar: users:{{ name }}:ssh_keys:privkey
|
||||
- require:
|
||||
- user: {{ name }}_user
|
||||
@ -99,6 +100,7 @@ user_{{ name }}_public_key:
|
||||
- user: {{ name }}
|
||||
- group: {{ user_group }}
|
||||
- mode: 644
|
||||
- show_diff: False
|
||||
- contents_pillar: users:{{ name }}:ssh_keys:pubkey
|
||||
- require:
|
||||
- user: {{ name }}_user
|
||||
|
Loading…
Reference in New Issue
Block a user