aboutsummaryrefslogtreecommitdiffstats
path: root/roles/_workstation/env
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-04-04 10:59:09 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-04-04 10:59:09 +0000
commit254138315446a186a14080353eec3ca0748eb9e4 (patch)
treee9a357394771d85a9615761a58b9775f692a0b97 /roles/_workstation/env
parent1ba9c51c8c8e349ebe5e7b6dd7b48e7d1a2aa396 (diff)
downloadinfrastructure-254138315446a186a14080353eec3ca0748eb9e4.tar.gz
Tinker doas and user for musl systems
Diffstat (limited to 'roles/_workstation/env')
-rw-r--r--roles/_workstation/env/tasks/main.yml8
1 files changed, 0 insertions, 8 deletions
diff --git a/roles/_workstation/env/tasks/main.yml b/roles/_workstation/env/tasks/main.yml
index 35342df..3c54210 100644
--- a/roles/_workstation/env/tasks/main.yml
+++ b/roles/_workstation/env/tasks/main.yml
@@ -8,14 +8,6 @@
stat: path=/usr/bin/doas
register: _workstation_env_become
-- name: retrieve original user
- shell: logname
- register: _workstation_env_user
-
-- name: register username original user
- set_fact:
- _workstation_env_user: "{{ _workstation_env_user.stdout }}"
-
- name: retrieve host facts
set_fact:
#ansible_become_method: "{{ 'doas' if _workstation_env_become.stat.exists else 'sudo' }}"
remember that computers suck.