salt.master: configure publisher_acl
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
4f633d8d4e
commit
06a36e62ae
@ -101,3 +101,15 @@ salt_redis_service_start:
|
||||
- pkg: redis
|
||||
- watch:
|
||||
- file: {{ redis_config }}
|
||||
|
||||
{%- if pillar['secret_salt'] is defined %}
|
||||
admin_salt_membership:
|
||||
group.present:
|
||||
- name: salt
|
||||
- addusers:
|
||||
{%- for user in master_pillar['publisher_acl'] %}
|
||||
- {{ user }}
|
||||
{%- endfor %}
|
||||
- require:
|
||||
- pkg: salt-master
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user