diff options
Diffstat (limited to 'roles/_workstation/sysconf/tasks')
-rw-r--r-- | roles/_workstation/sysconf/tasks/_void.yml | 2 | ||||
-rw-r--r-- | roles/_workstation/sysconf/tasks/main.yml | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/roles/_workstation/sysconf/tasks/_void.yml b/roles/_workstation/sysconf/tasks/_void.yml index e05e2ef..1337cfa 100644 --- a/roles/_workstation/sysconf/tasks/_void.yml +++ b/roles/_workstation/sysconf/tasks/_void.yml @@ -12,7 +12,7 @@ - name: append current user to system groups user: - name: "{{ _workstation_env_user }}" + name: "{{ _ws_user }}" groups: "{{ item }}" append: true loop: diff --git a/roles/_workstation/sysconf/tasks/main.yml b/roles/_workstation/sysconf/tasks/main.yml index 253cacd..e3f14aa 100644 --- a/roles/_workstation/sysconf/tasks/main.yml +++ b/roles/_workstation/sysconf/tasks/main.yml @@ -11,8 +11,8 @@ - name: generate doas configuration lineinfile: path: /etc/doas.conf - regexp: "^permit persist keepenv {{ _workstation_env_user }} as root" - line: "permit persist keepenv {{ _workstation_env_user }} as root" + regexp: "^permit persist keepenv {{ _ws_user }} as root" + line: "permit persist keepenv {{ _ws_user }} as root" owner: root mode: 0644 create: true @@ -20,8 +20,8 @@ - name: allow reboot/shutdown/hibernate with doas lineinfile: path: /etc/doas.conf - regexp: "^permit nopass {{ _workstation_env_user }} as root cmd {{ item }}" - line: "permit nopass {{ _workstation_env_user }} as root cmd {{ item }}" + regexp: "^permit nopass {{ _ws_user }} as root cmd {{ item }}" + line: "permit nopass {{ _ws_user }} as root cmd {{ item }}" loop: - zzz - ZZZ |