From 9df464368dcbae3c585fe6a91db5eb08f9bf5bda Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Fri, 5 Jan 2024 20:35:23 +0100 Subject: [PATCH] now setting oh my fish the root user at last --- ansible/roles/fish/tasks/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ansible/roles/fish/tasks/main.yml b/ansible/roles/fish/tasks/main.yml index 0767ce8..eac6ab1 100644 --- a/ansible/roles/fish/tasks/main.yml +++ b/ansible/roles/fish/tasks/main.yml @@ -24,7 +24,13 @@ delete: true src: fish dest: "/$HOME/.config" -- name: Clone Oh My Fish +- name: Setup Fish for the root user + become: true + synchronize: + delete: true + src: fish + dest: "/root/.config" +- name: Clone Oh My Fish for the unprivileged user git: repo: https://github.com/oh-my-fish/oh-my-fish dest: /$HOME/.local/share/omf