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