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: true
become_user: "{{ user }}" become_user: "{{ user }}"
- name: Create root config directory
file:
path: "/root/.config"
state: directory
mode: 0700
- name: Install config for root user - name: Install config for root user
file: file:
src: "{{ home }}/.config/nvim" src: "{{ home }}/.config/nvim"