From 254138315446a186a14080353eec3ca0748eb9e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 4 Apr 2021 10:59:09 +0000 Subject: Tinker doas and user for musl systems --- roles/_workstation/env/tasks/main.yml | 8 -------- 1 file changed, 8 deletions(-) (limited to 'roles/_workstation/env') 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' }}" -- cgit v1.2.3