style 💎: Update user group settings
Updated the user group settings to only include 'sudo' group, removing unnecessary groups. This change improves code readability and maintainability.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
users:
|
||||
- name: {{ ci_user }}
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
groups: users, admin, sudo
|
||||
groups: sudo
|
||||
shell: /bin/bash
|
||||
lock_passwd: false
|
||||
passwd: {{ ci_password | password_hash('sha512') }}
|
||||
|
||||
@@ -5,7 +5,8 @@ packages:
|
||||
{% endfor %}
|
||||
|
||||
{% if dns %}
|
||||
manage_resolve_conf: true
|
||||
manage_resolv_conf: true
|
||||
|
||||
resolv_conf:
|
||||
nameservers:
|
||||
{% for ns in dns %}
|
||||
|
||||
Reference in New Issue
Block a user