Ensure the root user has a config dir before placing nvim config there

This commit is contained in:
Jake Howard 2023-01-12 20:32:28 +00:00
parent d6d546aba9
commit 4135287c6b
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 6 additions and 0 deletions

View File

@ -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"