Fix requisites for user state
group requisites were wrong. They required {{ group }}_group, while {{ group }} was the actually added group.
This commit is contained in:
parent
28a5bde105
commit
7b7ee3f2f8
@ -39,12 +39,12 @@ include:
|
|||||||
- groups:
|
- groups:
|
||||||
- {{ name }}
|
- {{ name }}
|
||||||
{% for group in user.get('groups', []) %}
|
{% for group in user.get('groups', []) %}
|
||||||
- {{ group }}_group
|
- {{ group }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
- require:
|
- require:
|
||||||
- group: {{ name }}_user
|
- group: {{ name }}
|
||||||
{% for group in user.get('groups', []) %}
|
{% for group in user.get('groups', []) %}
|
||||||
- group: {{ group }}_group
|
- group: {{ group }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
user_keydir_{{ name }}:
|
user_keydir_{{ name }}:
|
||||||
|
Loading…
Reference in New Issue
Block a user