File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed
Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 22# vim: ft=sls
33
44include:
5- - .users.clean
6- - .vhosts.clean
7- - .exchanges.clean
5+ - .parameters.clean
6+ - .policies.clean
87 - .bindings.clean
8+ - .exchanges.clean
99 - .queues.clean
10- - .policies.clean
11- - .plugins.clean
12- - .parameters.clean
10+ - .vhosts.clean
1311 - .clusters.clean
12+ - .users.clean
13+ - .plugins.clean
1414 - .files.clean
Original file line number Diff line number Diff line change 33
44include:
55 - .files
6- - .users
76 - .vhosts
7+ - .users
88 - .queues
99 - .policies
1010 - .plugins
Original file line number Diff line number Diff line change @@ -19,17 +19,17 @@ rabbitmq-config-users-added-{{ name }}-{{ user }}:
1919 cmd.run:
2020 - names:
2121 - {{ cmd }} -- node {{ name }} add_user {{ user }} {{ u.password }} || true
22- {%- if ' force' in u and u.force % }
22+ {%- if ' force' in u and u.force % }
2323 - {{ cmd }} -- node {{ name }} change_password {{ user }} {{ u.password }}
24- {%- endif % }
25- {%- if ' tags' in u and u.tags % }
24+ {%- endif % }
25+ {%- if ' tags' in u and u.tags % }
2626 - {{ cmd }} -- node {{ name }} set_user_tags {{ user }} {{ u.tags| join(' ' ) }} # noqa 204
27- {%- endif % }
28- {%- if ' perms' in u and u.perms % }
29- {%- for vhost, perms in u.perms.items() % }
27+ {%- endif % }
28+ {%- if ' perms' in u and u.perms % }
29+ {%- for vhost, perms in u.perms.items() % }
3030 - {{ cmd }} -- node {{ name }} set_permissions - p {{ vhost }} {{ user }} {{ perms| map (" json" )| join(" " ) }} # noqa 204
31- {%- endfor % }
32- {%- endif % }
31+ {%- endfor % }
32+ {%- endif % }
3333 - onlyif: test - x {{ cmd }}
3434 - runas: rabbitmq
3535 - require:
You can’t perform that action at this time.
0 commit comments