mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Make server profile user configurable
This commit is contained in:
@@ -4,6 +4,9 @@ username: fscotto
|
||||
user_group: fscotto
|
||||
user_home: "/home/{{ username }}"
|
||||
user_shell: /bin/bash
|
||||
effective_username: "{{ username }}"
|
||||
effective_user_group: "{{ user_group }}"
|
||||
effective_user_home: "{{ user_home }}"
|
||||
|
||||
xdg_user_directories:
|
||||
- Desktop
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
---
|
||||
server_username: "{{ username }}"
|
||||
server_user_group: "{{ server_username }}"
|
||||
server_user_home: "/home/{{ server_username }}"
|
||||
effective_username: "{{ server_username }}"
|
||||
effective_user_group: "{{ server_user_group }}"
|
||||
effective_user_home: "{{ server_user_home }}"
|
||||
|
||||
profile_packages:
|
||||
- avahi-daemon
|
||||
- dmidecode
|
||||
@@ -35,4 +42,4 @@ server_sshd_settings:
|
||||
PermitRootLogin: "no"
|
||||
|
||||
server_sshd_allow_users:
|
||||
- "{{ username }}"
|
||||
- "{{ server_username }}"
|
||||
|
||||
Reference in New Issue
Block a user