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:
2025-11-15 12:59:08 +01:00
parent 132409da05
commit e4dc0f3265
2 changed files with 3 additions and 2 deletions

View File

@@ -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') }}

View File

@@ -5,7 +5,8 @@ packages:
{% endfor %}
{% if dns %}
manage_resolve_conf: true
manage_resolv_conf: true
resolv_conf:
nameservers:
{% for ns in dns %}