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

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"