Correzione ruoli per configurazioni locali all'utente.
This commit is contained in:
parent
8a06bb83b7
commit
795f2192be
4
roles/kitty-user-cfg/defaults/main.yml
Normal file
4
roles/kitty-user-cfg/defaults/main.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
additional_user: syntaxerrormmm
|
||||||
|
dotfdir: "{{ lookup('ansible.builtin.env', 'HOME') }}/.dotfiles"
|
||||||
|
kitty_configdir: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/kitty"
|
12
roles/kitty-user-cfg/tasks/main.yml
Normal file
12
roles/kitty-user-cfg/tasks/main.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
# Configuring nix.
|
||||||
|
|
||||||
|
- name: Create configuration directory
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ kitty_configdir }}"
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: Linking configuration
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: "{{ dotfdir }}/kitty/kitty.conf"
|
||||||
|
dest: "{{ kitty_configdir }}/kitty.conf"
|
4
roles/nix-user-cfg/defaults/main.yml
Normal file
4
roles/nix-user-cfg/defaults/main.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
additional_user: syntaxerrormmm
|
||||||
|
dotfdir: "{{ lookup('ansible.builtin.env', 'HOME') }}/.dotfiles"
|
||||||
|
nix_configdir: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/nix"
|
12
roles/nix-user-cfg/tasks/main.yml
Normal file
12
roles/nix-user-cfg/tasks/main.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
# Configuring nix.
|
||||||
|
|
||||||
|
- name: Create configuration directory
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ nix_configdir }}"
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
- name: Linking configuration
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: "{{ dotfdir }}/nix/nix.conf"
|
||||||
|
dest: "{{ nix_configdir }}/nix.conf"
|
20
roles/vim-user-cfg/tasks/config/pkgman/installation.yml
Normal file
20
roles/vim-user-cfg/tasks/config/pkgman/installation.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Creating autoload dir
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vim/autoload"
|
||||||
|
state: directory
|
||||||
|
mode: '0755'
|
||||||
|
tags:
|
||||||
|
- vim-plug
|
||||||
|
- vim-plug-install
|
||||||
|
|
||||||
|
- name: Installing vim-plug from git
|
||||||
|
ansible.builtin.get_url:
|
||||||
|
url: "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
|
||||||
|
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vim/autoload/plug.vim"
|
||||||
|
mode: '0644'
|
||||||
|
tags:
|
||||||
|
- vim-plug
|
||||||
|
- vim-plug-install
|
||||||
|
|
Loading…
Reference in New Issue
Block a user