From 4135287c6bdb86367679df2601b920047878c2d8 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 12 Jan 2023 20:32:28 +0000 Subject: [PATCH] Ensure the root user has a config dir before placing nvim config there --- tasks/neovim.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/neovim.yml b/tasks/neovim.yml index 6727655..0837d07 100644 --- a/tasks/neovim.yml +++ b/tasks/neovim.yml @@ -15,6 +15,12 @@ become: true become_user: "{{ user }}" +- name: Create root config directory + file: + path: "/root/.config" + state: directory + mode: 0700 + - name: Install config for root user file: src: "{{ home }}/.config/nvim"