mullvadrc, ensure it is run as the user, not root.
This commit is contained in:
1 parent
6c55ed54cb
commit
8d24fd9da7
1 file changed
+2
@@ -271,5 +271,7 @@
|
|||||||
|
|
||||||
- name: Workstation | Software | VPN | Mullvad | Settings (Run)
|
- name: Workstation | Software | VPN | Mullvad | Settings (Run)
|
||||||
ansible.builtin.shell: "{{ user_user.home }}/.mullvadrc"
|
ansible.builtin.shell: "{{ user_user.home }}/.mullvadrc"
|
||||||
|
become: true
|
||||||
|
become_user: "{{ user }}"
|
||||||
register: shell_check
|
register: shell_check
|
||||||
changed_when: shell_check.rc == 0
|
changed_when: shell_check.rc == 0
|
||||||
Reference in new issue
Block a user