From 4e28898c24f58710484dda165f5610e6639a00e9 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Sun, 11 Oct 2020 20:32:35 +0200 Subject: [PATCH] Install shell tools and update user as root Signed-off-by: Matej Focko --- playbooks/roles/shell/tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/shell/tasks/main.yml b/playbooks/roles/shell/tasks/main.yml index eefec81..8741d3f 100644 --- a/playbooks/roles/shell/tasks/main.yml +++ b/playbooks/roles/shell/tasks/main.yml @@ -1,5 +1,7 @@ --- - name: Install all packages for shell + become: yes + become_method: sudo dnf: name: - zsh @@ -9,6 +11,8 @@ state: present - name: Set default shell and generate SSH key + become: yes + become_method: sudo user: name: mfocko shell: /bin/zsh @@ -16,4 +20,4 @@ - include: nvim.yml - include: emacs.yml - include: zsh.yml -- include: tmux.yml \ No newline at end of file +- include: tmux.yml