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: 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"
|
||||||
|
|
Loading…
Reference in a new issue