Ensure the root user has a config dir before placing nvim config there
This commit is contained in:
parent
d6d546aba9
commit
4135287c6b
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue