From 7526fed30e37a08c7b591aa373e9a8a96ff7adf9 Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sat, 11 Sep 2021 11:29:53 -0400 Subject: [PATCH] become nitter user in nim/tasks/main.yml --- nim/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nim/tasks/main.yml b/nim/tasks/main.yml index f53bbbf..de67830 100644 --- a/nim/tasks/main.yml +++ b/nim/tasks/main.yml @@ -5,5 +5,9 @@ url: https://nim-lang.org/choosenim/init.sh dest: "/home/{{ NITTER_USER }}/init.sh" mode: '0755' + become: true + become_user: "{{ NITTER_USER }}" - name: Run choosenim install script ansible.builtin.shell: "/home/{{ NITTER_USER }}/init.sh -y" + become: true + become_user: "{{ NITTER_USER }}"