Installazione minimal e full.
This commit is contained in:
parent
353f316c1e
commit
8a06bb83b7
11 changed files with 294 additions and 14 deletions
8
roles/full/meta/main.yml
Normal file
8
roles/full/meta/main.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
dependencies:
|
||||
- tmux-user-cfg
|
||||
- { role: vim-user-cfg, vim_rc_version: "full" }
|
||||
- zsh-user-cfg
|
||||
- nix
|
||||
- nix-user-cfg
|
||||
- kitty-user-cfg
|
5
roles/minimal/meta/main.yml
Normal file
5
roles/minimal/meta/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
dependencies:
|
||||
- tmux-user-cfg
|
||||
- { role: vim-user-cfg, vim_rc_version: "minimal" }
|
||||
- zsh-user-cfg
|
|
@ -1,2 +1,3 @@
|
|||
---
|
||||
additional_user: syntaxerrormmm
|
||||
dotfdir: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.dotfiles"
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
---
|
||||
additional_user: syntaxerrormmm
|
||||
dotfdir: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.dotfiles"
|
||||
vim_rc_version: minimal
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
- name: Linking main file
|
||||
ansible.builtin.file:
|
||||
src: "{{ dotfdir }}/vimrc"
|
||||
src: "{{ dotfdir }}/vimrc-{{ vim_rc_version }}"
|
||||
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vimrc"
|
||||
state: link
|
||||
|
||||
|
@ -12,3 +12,6 @@
|
|||
src: "{{ dotfdir }}/vim"
|
||||
dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vim"
|
||||
state: link
|
||||
|
||||
- name: Installing and configuring package manager - vim-plug
|
||||
ansible.builtin.import_tasks: pkgman/main.yml
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
- vim-install
|
||||
|
||||
- name: Configuration
|
||||
ansible.builtin.import_tasks: configuration.yml
|
||||
ansible.builtin.import_tasks: config/main.yml
|
||||
tags:
|
||||
- vim
|
||||
- vim-config
|
||||
|
|
|
@ -1,17 +1,6 @@
|
|||
---
|
||||
# Setting up zsh
|
||||
|
||||
- name: Installation
|
||||
ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml"
|
||||
args:
|
||||
apply:
|
||||
tags:
|
||||
- zsh
|
||||
- zsh-install
|
||||
tags:
|
||||
- zsh
|
||||
- zsh-install
|
||||
|
||||
- name: Configuration
|
||||
ansible.builtin.import_tasks: config/main.yml
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue