mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
remove requirement on groups
This commit is contained in:
@@ -65,10 +65,6 @@ add_user_{{username}}:
|
|||||||
{% for group in userdeets.groups %}
|
{% for group in userdeets.groups %}
|
||||||
- {{ group }}
|
- {{ group }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
- require:
|
|
||||||
{% for group in userdeets.groups %}
|
|
||||||
- group: {{ group }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{username}}_authorized_keys:
|
{{username}}_authorized_keys:
|
||||||
@@ -82,9 +78,6 @@ add_user_{{username}}:
|
|||||||
- makedirs: True
|
- makedirs: True
|
||||||
- require:
|
- require:
|
||||||
- user: add_user_{{username}}
|
- user: add_user_{{username}}
|
||||||
{% for group in userdeets.get('groups', []) %}
|
|
||||||
- group: {{ group }}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user