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:
|
users:
|
||||||
- name: {{ ci_user }}
|
- name: {{ ci_user }}
|
||||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||||
groups: users, admin, sudo
|
groups: sudo
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
lock_passwd: false
|
lock_passwd: false
|
||||||
passwd: {{ ci_password | password_hash('sha512') }}
|
passwd: {{ ci_password | password_hash('sha512') }}
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ packages:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% if dns %}
|
{% if dns %}
|
||||||
manage_resolve_conf: true
|
manage_resolv_conf: true
|
||||||
|
|
||||||
resolv_conf:
|
resolv_conf:
|
||||||
nameservers:
|
nameservers:
|
||||||
{% for ns in dns %}
|
{% for ns in dns %}
|
||||||
|
|||||||
Reference in New Issue
Block a user