From 353f316c1ec8798851bf1e0f9d61bb6c9b4f0aa5 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Thu, 26 Dec 2024 00:11:15 +0100 Subject: [PATCH] Pulizia generale dei ruoli: le installazioni systemwide sono nel deploy di ansible_mgmt. --- roles/alacritty/files/alacritty.terminfo | 55 ------ roles/alacritty/tasks/main.yml | 26 --- roles/dotfiles/meta/main.yml | 12 -- roles/fzf/tasks/install/alpine.yml | 9 - roles/fzf/tasks/install/archlinux.yml | 9 - roles/fzf/tasks/install/debian.yml | 9 - roles/fzf/tasks/install/redhat.yml | 21 --- roles/fzf/tasks/install/void.yml | 9 - roles/fzf/tasks/main.yml | 13 -- roles/git/defaults/main.yml | 3 - roles/git/tasks/configuration.yml | 14 -- roles/git/tasks/main.yml | 18 -- roles/kitty/files/xterm-kitty.terminfo | 52 ------ roles/kitty/tasks/main.yml | 26 --- roles/nix/defaults/main.yml | 3 - roles/nix/tasks/configuration.yml | 58 ------ roles/nix/tasks/install/archlinux.yml | 7 - roles/nix/tasks/install/debian.yml | 9 - roles/nix/tasks/install/generic.yml | 18 -- roles/nix/tasks/main.yml | 21 --- roles/pip/tasks/install/alpine.yml | 11 -- roles/pip/tasks/install/archlinux.yml | 11 -- roles/pip/tasks/install/debian.yml | 11 -- roles/pip/tasks/install/redhat.yml | 11 -- roles/pip/tasks/install/void.yml | 11 -- roles/pip/tasks/main.yml | 11 -- roles/rclone/tasks/install/alpine.yml | 7 - roles/rclone/tasks/install/archlinux.yml | 7 - roles/rclone/tasks/install/debian.yml | 7 - roles/rclone/tasks/install/redhat.yml | 28 --- roles/rclone/tasks/install/void.yml | 7 - roles/rclone/tasks/main.yml | 13 -- roles/rsync/tasks/main.yml | 12 -- .../defaults/main.yml | 0 .../tasks/configuration.yml | 0 roles/{tmux => tmux-user-cfg}/tasks/main.yml | 0 roles/vim-plug/handlers/main.yml | 5 - roles/vim-plug/tasks/depend/alpine.yml | 10 -- roles/vim-plug/tasks/depend/archlinux.yml | 10 -- roles/vim-plug/tasks/depend/debian.yml | 10 -- roles/vim-plug/tasks/depend/redhat.yml | 34 ---- roles/vim-plug/tasks/depend/void.yml | 9 - roles/vim-plug/tasks/installation.yml | 17 -- .../{tmux => vim-user-cfg}/defaults/main.yml | 0 .../tasks/config/main.yml} | 0 .../tasks/config/pkgman}/main.yml | 0 .../tasks/install/alpine.yml | 0 .../tasks/install/archlinux.yml | 0 .../tasks/install/debian.yml | 0 .../tasks/install/redhat.yml | 0 .../tasks/install/void.yml | 0 roles/{vim => vim-user-cfg}/tasks/main.yml | 0 roles/vim/defaults/main.yml | 2 - roles/{zsh => zsh-user-cfg}/defaults/main.yml | 0 .../tasks/config/alpine.yml | 0 .../tasks/config/archlinux.yml | 0 .../tasks/config/debian.yml | 0 .../tasks/config/main.yml | 5 + .../tasks/config/pkgman}/configuration.yml | 0 .../tasks/config/pkgman}/installation.yml | 0 .../tasks/config/pkgman}/main.yml | 0 .../tasks/config/redhat.yml | 0 .../tasks/config/void.yml | 0 roles/{zsh => zsh-user-cfg}/tasks/main.yml | 0 roles/zsh/tasks/install/alpine.yml | 14 -- roles/zsh/tasks/install/archlinux.yml | 13 -- roles/zsh/tasks/install/debian.yml | 25 --- roles/zsh/tasks/install/redhat.yml | 10 -- roles/zsh/tasks/install/void.yml | 14 -- terminals.yml | 5 - vimrc | 168 ------------------ 71 files changed, 5 insertions(+), 885 deletions(-) delete mode 100644 roles/alacritty/files/alacritty.terminfo delete mode 100644 roles/alacritty/tasks/main.yml delete mode 100644 roles/dotfiles/meta/main.yml delete mode 100644 roles/fzf/tasks/install/alpine.yml delete mode 100644 roles/fzf/tasks/install/archlinux.yml delete mode 100644 roles/fzf/tasks/install/debian.yml delete mode 100644 roles/fzf/tasks/install/redhat.yml delete mode 100644 roles/fzf/tasks/install/void.yml delete mode 100644 roles/fzf/tasks/main.yml delete mode 100644 roles/git/defaults/main.yml delete mode 100644 roles/git/tasks/configuration.yml delete mode 100644 roles/git/tasks/main.yml delete mode 100644 roles/kitty/files/xterm-kitty.terminfo delete mode 100644 roles/kitty/tasks/main.yml delete mode 100644 roles/nix/defaults/main.yml delete mode 100644 roles/nix/tasks/configuration.yml delete mode 100644 roles/nix/tasks/install/archlinux.yml delete mode 100644 roles/nix/tasks/install/debian.yml delete mode 100644 roles/nix/tasks/install/generic.yml delete mode 100644 roles/nix/tasks/main.yml delete mode 100644 roles/pip/tasks/install/alpine.yml delete mode 100644 roles/pip/tasks/install/archlinux.yml delete mode 100644 roles/pip/tasks/install/debian.yml delete mode 100644 roles/pip/tasks/install/redhat.yml delete mode 100644 roles/pip/tasks/install/void.yml delete mode 100644 roles/pip/tasks/main.yml delete mode 100644 roles/rclone/tasks/install/alpine.yml delete mode 100644 roles/rclone/tasks/install/archlinux.yml delete mode 100644 roles/rclone/tasks/install/debian.yml delete mode 100644 roles/rclone/tasks/install/redhat.yml delete mode 100644 roles/rclone/tasks/install/void.yml delete mode 100644 roles/rclone/tasks/main.yml delete mode 100644 roles/rsync/tasks/main.yml rename roles/{antidote => tmux-user-cfg}/defaults/main.yml (100%) rename roles/{tmux => tmux-user-cfg}/tasks/configuration.yml (100%) rename roles/{tmux => tmux-user-cfg}/tasks/main.yml (100%) delete mode 100644 roles/vim-plug/handlers/main.yml delete mode 100644 roles/vim-plug/tasks/depend/alpine.yml delete mode 100644 roles/vim-plug/tasks/depend/archlinux.yml delete mode 100644 roles/vim-plug/tasks/depend/debian.yml delete mode 100644 roles/vim-plug/tasks/depend/redhat.yml delete mode 100644 roles/vim-plug/tasks/depend/void.yml delete mode 100644 roles/vim-plug/tasks/installation.yml rename roles/{tmux => vim-user-cfg}/defaults/main.yml (100%) rename roles/{vim/tasks/configuration.yml => vim-user-cfg/tasks/config/main.yml} (100%) rename roles/{vim-plug/tasks => vim-user-cfg/tasks/config/pkgman}/main.yml (100%) rename roles/{vim => vim-user-cfg}/tasks/install/alpine.yml (100%) rename roles/{vim => vim-user-cfg}/tasks/install/archlinux.yml (100%) rename roles/{vim => vim-user-cfg}/tasks/install/debian.yml (100%) rename roles/{vim => vim-user-cfg}/tasks/install/redhat.yml (100%) rename roles/{vim => vim-user-cfg}/tasks/install/void.yml (100%) rename roles/{vim => vim-user-cfg}/tasks/main.yml (100%) delete mode 100644 roles/vim/defaults/main.yml rename roles/{zsh => zsh-user-cfg}/defaults/main.yml (100%) rename roles/{zsh => zsh-user-cfg}/tasks/config/alpine.yml (100%) rename roles/{zsh => zsh-user-cfg}/tasks/config/archlinux.yml (100%) rename roles/{zsh => zsh-user-cfg}/tasks/config/debian.yml (100%) rename roles/{zsh => zsh-user-cfg}/tasks/config/main.yml (86%) rename roles/{antidote/tasks => zsh-user-cfg/tasks/config/pkgman}/configuration.yml (100%) rename roles/{antidote/tasks => zsh-user-cfg/tasks/config/pkgman}/installation.yml (100%) rename roles/{antidote/tasks => zsh-user-cfg/tasks/config/pkgman}/main.yml (100%) rename roles/{zsh => zsh-user-cfg}/tasks/config/redhat.yml (100%) rename roles/{zsh => zsh-user-cfg}/tasks/config/void.yml (100%) rename roles/{zsh => zsh-user-cfg}/tasks/main.yml (100%) delete mode 100644 roles/zsh/tasks/install/alpine.yml delete mode 100644 roles/zsh/tasks/install/archlinux.yml delete mode 100644 roles/zsh/tasks/install/debian.yml delete mode 100644 roles/zsh/tasks/install/redhat.yml delete mode 100644 roles/zsh/tasks/install/void.yml delete mode 100644 terminals.yml delete mode 100644 vimrc diff --git a/roles/alacritty/files/alacritty.terminfo b/roles/alacritty/files/alacritty.terminfo deleted file mode 100644 index 92f0db1..0000000 --- a/roles/alacritty/files/alacritty.terminfo +++ /dev/null @@ -1,55 +0,0 @@ -# Reconstructed via infocmp from file: /usr/share/terminfo/a/alacritty -alacritty|alacritty terminal emulator, - am, bce, ccc, hs, mc5i, mir, msgr, npc, xenl, - colors#0x100, cols#80, it#8, lines#24, pairs#0x10000, - acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, - bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, - clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=\r, - csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, - cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C, - cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, - cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, - dl=\E[%p1%dM, dl1=\E[M, dsl=\E]2;\007, ech=\E[%p1%dX, - ed=\E[J, el=\E[K, el1=\E[1K, flash=\E[?5h$<100/>\E[?5l, - fsl=^G, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, - ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\n, - indn=\E[%p1%dS, - initc=\E]4;%p1%d;rgb:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, - invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, kDC=\E[3;2~, - kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~, kLFT=\E[1;2D, - kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C, kb2=\EOE, kbs=^?, - kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, - kdch1=\E[3~, kend=\EOF, kent=\EOM, kf1=\EOP, kf10=\E[21~, - kf11=\E[23~, kf12=\E[24~, kf13=\E[1;2P, kf14=\E[1;2Q, - kf15=\E[1;2R, kf16=\E[1;2S, kf17=\E[15;2~, kf18=\E[17;2~, - kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~, - kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~, - kf25=\E[1;5P, kf26=\E[1;5Q, kf27=\E[1;5R, kf28=\E[1;5S, - kf29=\E[15;5~, kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~, - kf32=\E[19;5~, kf33=\E[20;5~, kf34=\E[21;5~, - kf35=\E[23;5~, kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q, - kf39=\E[1;6R, kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~, - kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~, - kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~, - kf48=\E[24;6~, kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q, - kf51=\E[1;3R, kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~, - kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~, - kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~, - kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~, - kf8=\E[19~, kf9=\E[20~, khome=\EOH, kich1=\E[2~, - kind=\E[1;2B, kmous=\E[<, knp=\E[6~, kpp=\E[5~, - kri=\E[1;2A, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El, - memu=\Em, oc=\E]104\007, op=\E[39;49m, rc=\E8, - rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, - rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E(B, rmam=\E[?7l, - rmcup=\E[?1049l\E[23;0;0t, rmir=\E[4l, rmkx=\E[?1l\E>, - rmm=\E[?1034l, rmso=\E[27m, rmul=\E[24m, - rs1=\Ec\E]104\007, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7, - setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, - setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, - sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m, - sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h, - smcup=\E[?1049h\E[22;0;0t, smir=\E[4h, smkx=\E[?1h\E=, - smm=\E[?1034h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, - tsl=\E]2;, u6=\E[%i%d;%dR, u7=\E[6n, - u8=\E[?%[;0123456789]c, u9=\E[c, vpa=\E[%i%p1%dd, diff --git a/roles/alacritty/tasks/main.yml b/roles/alacritty/tasks/main.yml deleted file mode 100644 index a4645ae..0000000 --- a/roles/alacritty/tasks/main.yml +++ /dev/null @@ -1,26 +0,0 @@ ---- -# installing compatibility with alacritty - -- name: Copying terminfo settings - ansible.builtin.copy: - src: alacritty.terminfo - dest: /tmp/alacritty.terminfo - tags: - - alacritty - - alacritty-config - -- name: Setting up terminfo for alacritty - ansible.builtin.shell: >- - tic -xe alacritty,alacritty-direct /tmp/alacritty.terminfo - become: true - tags: - - alacritty - - alacritty-config - -- name: Removing now useless terminfo - ansible.builtin.file: - path: /tmp/alacritty.terminfo - state: absent - tags: - - alacritty - - alacritty-config diff --git a/roles/dotfiles/meta/main.yml b/roles/dotfiles/meta/main.yml deleted file mode 100644 index 874aef6..0000000 --- a/roles/dotfiles/meta/main.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -dependencies: - - git - - fzf - - pip - - rsync - - rclone - - zsh - - antidote - - tmux - - vim - - vim-plug diff --git a/roles/fzf/tasks/install/alpine.yml b/roles/fzf/tasks/install/alpine.yml deleted file mode 100644 index da5d29d..0000000 --- a/roles/fzf/tasks/install/alpine.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# FZF on alpine - -- name: (alp) FZF installation - community.general.apk: - name: fzf - state: present - update_cache: true - become: true diff --git a/roles/fzf/tasks/install/archlinux.yml b/roles/fzf/tasks/install/archlinux.yml deleted file mode 100644 index 4400a01..0000000 --- a/roles/fzf/tasks/install/archlinux.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# FZF on Arch - -- name: (arch) FZF install - community.general.pacman: - name: fzf - state: present - update_cache: true - become: true diff --git a/roles/fzf/tasks/install/debian.yml b/roles/fzf/tasks/install/debian.yml deleted file mode 100644 index a5a222f..0000000 --- a/roles/fzf/tasks/install/debian.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# FZF on Debian - -- name: (deb) FZF install - ansible.builtin.apt: - name: fzf - state: present - update_cache: true - become: true diff --git a/roles/fzf/tasks/install/redhat.yml b/roles/fzf/tasks/install/redhat.yml deleted file mode 100644 index c292742..0000000 --- a/roles/fzf/tasks/install/redhat.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -# FZF on RedHat -# reverting to installation from git repo - -- name: (rHa) FZF - Build directory - ansible.builtin.file: - dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.fzf" - state: directory - mode: '0755' - -- name: (rHa) FZF - clone from git - ansible.builtin.git: - # noqa: latest[git] - repo: https://github.com/junegunn/fzf.git - depth: 1 - dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.fzf" - -- name: (rHa) FZF - Installing - ansible.builtin.command: >- - {{ lookup('ansible.builtin.env', 'HOME') }}/.fzf/install - changed_when: true diff --git a/roles/fzf/tasks/install/void.yml b/roles/fzf/tasks/install/void.yml deleted file mode 100644 index 78dbb0d..0000000 --- a/roles/fzf/tasks/install/void.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# FZF - install on Void - -- name: (void) FZF - install - community.general.xbps: - name: fzf - state: present - update_cache: true - become: true diff --git a/roles/fzf/tasks/main.yml b/roles/fzf/tasks/main.yml deleted file mode 100644 index deb6a7e..0000000 --- a/roles/fzf/tasks/main.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -# Installation of fzf - -- name: Installation - ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml" - args: - apply: - tags: - - fzf - - fzf-install - tags: - - fzf - - fzf-install diff --git a/roles/git/defaults/main.yml b/roles/git/defaults/main.yml deleted file mode 100644 index 3039ed4..0000000 --- a/roles/git/defaults/main.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -git_username: Emiliano Vavassori -git_email: syntaxerrormmm@gmail.com diff --git a/roles/git/tasks/configuration.yml b/roles/git/tasks/configuration.yml deleted file mode 100644 index e553cb0..0000000 --- a/roles/git/tasks/configuration.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -# Configuring git - -- name: Configuring git username - community.general.git_config: - name: user.name - scope: global - value: "{{ git_username }}" - -- name: Configuring git email - community.general.git_config: - name: user.email - scope: global - value: "{{ git_email }}" diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml deleted file mode 100644 index 2b8fd0b..0000000 --- a/roles/git/tasks/main.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -# Installing and configuring git - -- name: Installation - ansible.builtin.package: - name: git - state: present - update_cache: true - become: true - tags: - - git - - git-install - -- name: Configuring git - ansible.builtin.import_tasks: configuration.yml - tags: - - git - - git-config diff --git a/roles/kitty/files/xterm-kitty.terminfo b/roles/kitty/files/xterm-kitty.terminfo deleted file mode 100644 index f50df43..0000000 --- a/roles/kitty/files/xterm-kitty.terminfo +++ /dev/null @@ -1,52 +0,0 @@ -# Reconstructed via infocmp from file: /usr/lib/kitty/terminfo/x/xterm-kitty -xterm-kitty|KovIdTTY, - am, ccc, hs, km, mc5i, mir, msgr, npc, xenl, - colors#0x100, cols#80, it#8, lines#24, pairs#0x7fff, - acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, - bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, - clear=\E[H\E[2J, cnorm=\E[?12h\E[?25h, cr=\r, - csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, - cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C, - cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, - cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, - dl=\E[%p1%dM, dl1=\E[M, dsl=\E]2;\E\\, ech=\E[%p1%dX, - ed=\E[J, el=\E[K, el1=\E[1K, flash=\E[?5h$<100/>\E[?5l, - fsl=^G, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, - ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\n, - indn=\E[%p1%dS, - initc=\E]4;%p1%d;rgb:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, - kBEG=\E[1;2E, kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H, - kIC=\E[2;2~, kLFT=\E[1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, - kRIT=\E[1;2C, ka1=, ka3=, kbeg=\EOE, kbs=^?, kc1=, kc3=, - kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, - kdch1=\E[3~, kend=\EOF, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, - kf12=\E[24~, kf13=\E[1;2P, kf14=\E[1;2Q, kf15=\E[13;2~, - kf16=\E[1;2S, kf17=\E[15;2~, kf18=\E[17;2~, - kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~, - kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~, - kf25=\E[1;5P, kf26=\E[1;5Q, kf27=\E[13;5~, kf28=\E[1;5S, - kf29=\E[15;5~, kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~, - kf32=\E[19;5~, kf33=\E[20;5~, kf34=\E[21;5~, - kf35=\E[23;5~, kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q, - kf39=\E[13;6~, kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~, - kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~, - kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~, - kf48=\E[24;6~, kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q, - kf51=\E[13;3~, kf52=\E[1;3S, kf53=\E[15;3~, - kf54=\E[17;3~, kf55=\E[18;3~, kf56=\E[19;3~, - kf57=\E[20;3~, kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, - kf60=\E[24;3~, kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[13;4~, - kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khlp=, khome=\EOH, - kich1=\E[2~, kind=\E[1;2B, kmous=\E[M, knp=\E[6~, - kpp=\E[5~, kri=\E[1;2A, kund=, oc=\E]104\007, op=\E[39;49m, - rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, - rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E(B, rmam=\E[?7l, - rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l, rmso=\E[27m, - rmul=\E[24m, rs1=\E]\E\\\Ec, sc=\E7, - setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, - setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, - sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m, - sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h, - smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h, smso=\E[7m, - smul=\E[4m, tbc=\E[3g, tsl=\E]2;, u6=\E[%i%d;%dR, u7=\E[6n, - u8=\E[?%[;0123456789]c, u9=\E[c, vpa=\E[%i%p1%dd, diff --git a/roles/kitty/tasks/main.yml b/roles/kitty/tasks/main.yml deleted file mode 100644 index 79a2de6..0000000 --- a/roles/kitty/tasks/main.yml +++ /dev/null @@ -1,26 +0,0 @@ ---- -# installing compatibility with kitty - -- name: Copying terminfo settings - ansible.builtin.copy: - src: xterm-kitty.terminfo - dest: /tmp/xterm-kitty.terminfo - tags: - - kitty - - kitty-config - -- name: Setting up terminfo for kitty - ansible.builtin.shell: >- - tic -xe xterm-kitty /tmp/xterm-kitty.terminfo - become: true - tags: - - kitty - - kitty-config - -- name: Removing now useless terminfo - ansible.builtin.file: - path: /tmp/xterm-kitty.terminfo - state: absent - tags: - - kitty - - kitty-config diff --git a/roles/nix/defaults/main.yml b/roles/nix/defaults/main.yml deleted file mode 100644 index 169b22c..0000000 --- a/roles/nix/defaults/main.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -additional_user: syntaxerrormmm -dotfdir: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.dotfiles" diff --git a/roles/nix/tasks/configuration.yml b/roles/nix/tasks/configuration.yml deleted file mode 100644 index 0a56f64..0000000 --- a/roles/nix/tasks/configuration.yml +++ /dev/null @@ -1,58 +0,0 @@ ---- -# Configuring the nix installation. - -- name: Manipulation over {{ additional_user }} - when: ansible_user_id == 'root' - tags: - - nix - - nix-config - block: - - - name: Adding user to nix-users - ansible.builtin.user: - name: "{{ additional_user }}" - groups: nix-users - append: true - become_user: root - become: true - - - name: Assure configuration folder exists - ansible.builtin.file: - path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config" - state: directory - owner: "{{ additional_user }}" - become: true - become_user: "{{ additional_user }}" - - - name: Adding configuration to local user - ansible.builtin.file: - src: "{{ dotfdir }}/nix" - dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/nix" - state: link - become_user: "{{ additional_user }}" - become: true - -- name: Manipulation over {{ ansible_user_id }} - when: ansible_user_id != 'root' - tags: - - nix - - nix-config - block: - - - name: Adding user to nix-users - ansible.builtin.user: - name: "{{ ansible_user_id }}" - groups: nix-users - append: true - become: true - - - name: Assure configuration folder exists - ansible.builtin.file: - path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config" - state: directory - - - name: Adding configuration to local user - ansible.builtin.file: - src: "{{ dotfdir }}/nix" - dest: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/nix" - state: link diff --git a/roles/nix/tasks/install/archlinux.yml b/roles/nix/tasks/install/archlinux.yml deleted file mode 100644 index 704d6a4..0000000 --- a/roles/nix/tasks/install/archlinux.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (arch) Installing nix from package management - community.general.pacman: - name: nix - state: present - update_cache: true - become: true diff --git a/roles/nix/tasks/install/debian.yml b/roles/nix/tasks/install/debian.yml deleted file mode 100644 index 67003ae..0000000 --- a/roles/nix/tasks/install/debian.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -- name: (deb) installing nix from package manager - ansible.builtin.apt: - name: - - nix-bin - - nix-setup-systemd - state: present - update_cache: true - become: true diff --git a/roles/nix/tasks/install/generic.yml b/roles/nix/tasks/install/generic.yml deleted file mode 100644 index 171b6b4..0000000 --- a/roles/nix/tasks/install/generic.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -# Generic installation, multiuser -# Needs systemd, no SELinux and sudo - -- name: Download nix installation script - ansible.builtin.get_url: - url: https://nixos.org/nix/install - dest: /tmp/nixinstall - mode: "0755" - -- name: Running installer - ansible.builtin.shell: /tmp/nixinstall --daemon - become: true - -- name: Removing install script - ansible.builtin.file: - path: /tmp/nixinstall - state: absent diff --git a/roles/nix/tasks/main.yml b/roles/nix/tasks/main.yml deleted file mode 100644 index 68192cb..0000000 --- a/roles/nix/tasks/main.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -# Installing and configuring nix. - -- name: Installation - ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml" - when: ansible_os_family == 'Archlinux' or ansible_os_family == 'Debian' - args: - apply: - tags: - - nix - - nix-install - tags: - - nix - - nix-install - -- name: Configuration - ansible.builtin.import_tasks: configuration.yml - when: ansible_os_family == 'Archlinux' or ansible_os_family == 'Debian' - tags: - - nix - - nix-config diff --git a/roles/pip/tasks/install/alpine.yml b/roles/pip/tasks/install/alpine.yml deleted file mode 100644 index 0552d0c..0000000 --- a/roles/pip/tasks/install/alpine.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# pip on alpine - -- name: (alp) installing pip - community.general.apk: - name: - - py3-pip - - py3-virtualenv - state: present - update_cache: true - become: true diff --git a/roles/pip/tasks/install/archlinux.yml b/roles/pip/tasks/install/archlinux.yml deleted file mode 100644 index c21f876..0000000 --- a/roles/pip/tasks/install/archlinux.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# pip on Archlinux - -- name: (arch) installing pip - community.general.pacman: - name: - - python-pip - - python-virtualenv - state: present - update_cache: true - become: true diff --git a/roles/pip/tasks/install/debian.yml b/roles/pip/tasks/install/debian.yml deleted file mode 100644 index f9dd2e8..0000000 --- a/roles/pip/tasks/install/debian.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# Pip on debian - -- name: (deb) installing pip - ansible.builtin.apt: - name: - - python3-pip - - python3-virtualenv - state: present - update_cache: true - become: true diff --git a/roles/pip/tasks/install/redhat.yml b/roles/pip/tasks/install/redhat.yml deleted file mode 100644 index af3eb73..0000000 --- a/roles/pip/tasks/install/redhat.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# pip on redhat - -- name: (rHa) installing pip - ansible.builtin.yum: - name: - - python3-pip - - python-virtualenv - state: present - update_cache: true - become: true diff --git a/roles/pip/tasks/install/void.yml b/roles/pip/tasks/install/void.yml deleted file mode 100644 index 78f0ce6..0000000 --- a/roles/pip/tasks/install/void.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# pip on void - -- name: (void) installing pip - community.general.xbps: - name: - - python-pip - - python3-virtualenv - state: present - update_cache: true - become: true diff --git a/roles/pip/tasks/main.yml b/roles/pip/tasks/main.yml deleted file mode 100644 index 8e8f726..0000000 --- a/roles/pip/tasks/main.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# Verifying pip is installed. - -- name: Installing pip - ansible.builtin.package: - name: python3-pip - state: present - become: true - tags: - - pip - - pip-install diff --git a/roles/rclone/tasks/install/alpine.yml b/roles/rclone/tasks/install/alpine.yml deleted file mode 100644 index e13d291..0000000 --- a/roles/rclone/tasks/install/alpine.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (alp) installing rclone - community.general.apk: - name: rclone - state: present - update_cache: true - become: true diff --git a/roles/rclone/tasks/install/archlinux.yml b/roles/rclone/tasks/install/archlinux.yml deleted file mode 100644 index 30b8b42..0000000 --- a/roles/rclone/tasks/install/archlinux.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (arch) installing rclone - community.general.pacman: - name: rclone - state: present - update_cache: true - become: true diff --git a/roles/rclone/tasks/install/debian.yml b/roles/rclone/tasks/install/debian.yml deleted file mode 100644 index 0e47d19..0000000 --- a/roles/rclone/tasks/install/debian.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (deb) installing rclone - ansible.builtin.apt: - name: rclone - state: present - update_cache: true - become: true diff --git a/roles/rclone/tasks/install/redhat.yml b/roles/rclone/tasks/install/redhat.yml deleted file mode 100644 index ca3fb9f..0000000 --- a/roles/rclone/tasks/install/redhat.yml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: (rHa) installing rclone from repositories - ansible.builtin.package: - name: rclone - state: present - update_cache: true - become: true - register: rclone_repos - ignore_errors: true - -- name: Revert to installing from upstream package - when: rclone_repos is failed - block: - - - name: Downloading rclone rpm package - ansible.builtin.get_url: - url: https://downloads.rclone.org/v1.68.2/rclone-v1.68.2-linux-amd64.rpm - dest: /tmp/rclone.rpm - - - name: Install rclone from upstream package. - ansible.builtin.command: - cmd: rpm -i /tmp/rclone.rpm - become: true - - - name: Cleanup - ansible.builtin.file: - path: /tmp/rclone.rpm - state: absent diff --git a/roles/rclone/tasks/install/void.yml b/roles/rclone/tasks/install/void.yml deleted file mode 100644 index 3cfaca3..0000000 --- a/roles/rclone/tasks/install/void.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -- name: (void) installing rclone - community.general.xbps: - name: rclone - state: present - update_cache: true - become: true diff --git a/roles/rclone/tasks/main.yml b/roles/rclone/tasks/main.yml deleted file mode 100644 index bdbbd33..0000000 --- a/roles/rclone/tasks/main.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -# Rclone - -- name: Installation - ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml" - args: - apply: - tags: - - rclone - - rclone-install - tags: - - rclone - - rclone-install diff --git a/roles/rsync/tasks/main.yml b/roles/rsync/tasks/main.yml deleted file mode 100644 index a979925..0000000 --- a/roles/rsync/tasks/main.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -# Rsync - -- name: Installation - ansible.builtin.package: - name: rsync - state: present - update_cache: true - become: true - tags: - - rsync - - rsync-install diff --git a/roles/antidote/defaults/main.yml b/roles/tmux-user-cfg/defaults/main.yml similarity index 100% rename from roles/antidote/defaults/main.yml rename to roles/tmux-user-cfg/defaults/main.yml diff --git a/roles/tmux/tasks/configuration.yml b/roles/tmux-user-cfg/tasks/configuration.yml similarity index 100% rename from roles/tmux/tasks/configuration.yml rename to roles/tmux-user-cfg/tasks/configuration.yml diff --git a/roles/tmux/tasks/main.yml b/roles/tmux-user-cfg/tasks/main.yml similarity index 100% rename from roles/tmux/tasks/main.yml rename to roles/tmux-user-cfg/tasks/main.yml diff --git a/roles/vim-plug/handlers/main.yml b/roles/vim-plug/handlers/main.yml deleted file mode 100644 index ae9d155..0000000 --- a/roles/vim-plug/handlers/main.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- name: repolist - ansible.builtin.command: yum repolist - become: true - become_user: root diff --git a/roles/vim-plug/tasks/depend/alpine.yml b/roles/vim-plug/tasks/depend/alpine.yml deleted file mode 100644 index 953b4a6..0000000 --- a/roles/vim-plug/tasks/depend/alpine.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- name: (alp) installing plugin dependencies - community.general.apk: - name: - - nodejs - - npm - - yarn - state: present - update_cache: true - become: true diff --git a/roles/vim-plug/tasks/depend/archlinux.yml b/roles/vim-plug/tasks/depend/archlinux.yml deleted file mode 100644 index 1cc9c63..0000000 --- a/roles/vim-plug/tasks/depend/archlinux.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- name: (arch) installing plugin dependencies - community.general.pacman: - name: - - nodejs - - npm - - yarn - state: present - update_cache: true - become: true diff --git a/roles/vim-plug/tasks/depend/debian.yml b/roles/vim-plug/tasks/depend/debian.yml deleted file mode 100644 index 71415cc..0000000 --- a/roles/vim-plug/tasks/depend/debian.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- name: (deb) installing plugin dependencies - ansible.builtin.apt: - name: - - nodejs - - npm - - yarnpkg - state: present - update_cache: true - become: true diff --git a/roles/vim-plug/tasks/depend/redhat.yml b/roles/vim-plug/tasks/depend/redhat.yml deleted file mode 100644 index c797243..0000000 --- a/roles/vim-plug/tasks/depend/redhat.yml +++ /dev/null @@ -1,34 +0,0 @@ ---- -- name: (rHa) installing plugin dependencies - ansible.builtin.yum: - name: - - nodejs - - npm - state: present - update_cache: true - become: true - -# Yarn is available in other repository. -- name: (rHa) installing yarn repo - ansible.builtin.get_url: - url: "https://dl.yarnpkg.com/rpm/yarn.repo" - dest: /etc/yum.repos.d/yarn.repo - become: true - notify: repolist - -- name: (rHa) installing yarn gpg key - ansible.builtin.rpm_key: - key: "http://dl.yarnpkg.com/rpm/pubkey.gpg" - state: present - become: true - notify: repolist - -- name: Flushing handlers - ansible.builtin.meta: flush_handlers - -- name: (rHa) installing yarn - ansible.builtin.yum: - name: yarn - state: present - update_cache: true - become: true diff --git a/roles/vim-plug/tasks/depend/void.yml b/roles/vim-plug/tasks/depend/void.yml deleted file mode 100644 index b9b5b16..0000000 --- a/roles/vim-plug/tasks/depend/void.yml +++ /dev/null @@ -1,9 +0,0 @@ ---- -- name: (void) installing plugin dependencies - community.general.xbps: - name: - - nodejs - - yarn-bin - state: present - update_cache: true - become: true diff --git a/roles/vim-plug/tasks/installation.yml b/roles/vim-plug/tasks/installation.yml deleted file mode 100644 index 603ec08..0000000 --- a/roles/vim-plug/tasks/installation.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# Installation tasks - -- name: Installing plugin dependencies - ansible.builtin.include_tasks: "depend/{{ ansible_os_family | lower }}.yml" - -- name: Creating autoload dir - ansible.builtin.file: - path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.vim/autoload" - state: directory - mode: '0755' - -- 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' diff --git a/roles/tmux/defaults/main.yml b/roles/vim-user-cfg/defaults/main.yml similarity index 100% rename from roles/tmux/defaults/main.yml rename to roles/vim-user-cfg/defaults/main.yml diff --git a/roles/vim/tasks/configuration.yml b/roles/vim-user-cfg/tasks/config/main.yml similarity index 100% rename from roles/vim/tasks/configuration.yml rename to roles/vim-user-cfg/tasks/config/main.yml diff --git a/roles/vim-plug/tasks/main.yml b/roles/vim-user-cfg/tasks/config/pkgman/main.yml similarity index 100% rename from roles/vim-plug/tasks/main.yml rename to roles/vim-user-cfg/tasks/config/pkgman/main.yml diff --git a/roles/vim/tasks/install/alpine.yml b/roles/vim-user-cfg/tasks/install/alpine.yml similarity index 100% rename from roles/vim/tasks/install/alpine.yml rename to roles/vim-user-cfg/tasks/install/alpine.yml diff --git a/roles/vim/tasks/install/archlinux.yml b/roles/vim-user-cfg/tasks/install/archlinux.yml similarity index 100% rename from roles/vim/tasks/install/archlinux.yml rename to roles/vim-user-cfg/tasks/install/archlinux.yml diff --git a/roles/vim/tasks/install/debian.yml b/roles/vim-user-cfg/tasks/install/debian.yml similarity index 100% rename from roles/vim/tasks/install/debian.yml rename to roles/vim-user-cfg/tasks/install/debian.yml diff --git a/roles/vim/tasks/install/redhat.yml b/roles/vim-user-cfg/tasks/install/redhat.yml similarity index 100% rename from roles/vim/tasks/install/redhat.yml rename to roles/vim-user-cfg/tasks/install/redhat.yml diff --git a/roles/vim/tasks/install/void.yml b/roles/vim-user-cfg/tasks/install/void.yml similarity index 100% rename from roles/vim/tasks/install/void.yml rename to roles/vim-user-cfg/tasks/install/void.yml diff --git a/roles/vim/tasks/main.yml b/roles/vim-user-cfg/tasks/main.yml similarity index 100% rename from roles/vim/tasks/main.yml rename to roles/vim-user-cfg/tasks/main.yml diff --git a/roles/vim/defaults/main.yml b/roles/vim/defaults/main.yml deleted file mode 100644 index acd7660..0000000 --- a/roles/vim/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -dotfdir: "{{ lookup('ansible.builtin.env', 'HOME' ) }}/.dotfiles" diff --git a/roles/zsh/defaults/main.yml b/roles/zsh-user-cfg/defaults/main.yml similarity index 100% rename from roles/zsh/defaults/main.yml rename to roles/zsh-user-cfg/defaults/main.yml diff --git a/roles/zsh/tasks/config/alpine.yml b/roles/zsh-user-cfg/tasks/config/alpine.yml similarity index 100% rename from roles/zsh/tasks/config/alpine.yml rename to roles/zsh-user-cfg/tasks/config/alpine.yml diff --git a/roles/zsh/tasks/config/archlinux.yml b/roles/zsh-user-cfg/tasks/config/archlinux.yml similarity index 100% rename from roles/zsh/tasks/config/archlinux.yml rename to roles/zsh-user-cfg/tasks/config/archlinux.yml diff --git a/roles/zsh/tasks/config/debian.yml b/roles/zsh-user-cfg/tasks/config/debian.yml similarity index 100% rename from roles/zsh/tasks/config/debian.yml rename to roles/zsh-user-cfg/tasks/config/debian.yml diff --git a/roles/zsh/tasks/config/main.yml b/roles/zsh-user-cfg/tasks/config/main.yml similarity index 86% rename from roles/zsh/tasks/config/main.yml rename to roles/zsh-user-cfg/tasks/config/main.yml index 0244311..660c0fb 100644 --- a/roles/zsh/tasks/config/main.yml +++ b/roles/zsh-user-cfg/tasks/config/main.yml @@ -34,3 +34,8 @@ force: true become_user: "{{ additional_user }}" become: true + +- name: Configuring package manager - antidote + ansible.builtin.import_tasks: pkgman/main.yml + become_user: "{{ additional_user }}" + become: true diff --git a/roles/antidote/tasks/configuration.yml b/roles/zsh-user-cfg/tasks/config/pkgman/configuration.yml similarity index 100% rename from roles/antidote/tasks/configuration.yml rename to roles/zsh-user-cfg/tasks/config/pkgman/configuration.yml diff --git a/roles/antidote/tasks/installation.yml b/roles/zsh-user-cfg/tasks/config/pkgman/installation.yml similarity index 100% rename from roles/antidote/tasks/installation.yml rename to roles/zsh-user-cfg/tasks/config/pkgman/installation.yml diff --git a/roles/antidote/tasks/main.yml b/roles/zsh-user-cfg/tasks/config/pkgman/main.yml similarity index 100% rename from roles/antidote/tasks/main.yml rename to roles/zsh-user-cfg/tasks/config/pkgman/main.yml diff --git a/roles/zsh/tasks/config/redhat.yml b/roles/zsh-user-cfg/tasks/config/redhat.yml similarity index 100% rename from roles/zsh/tasks/config/redhat.yml rename to roles/zsh-user-cfg/tasks/config/redhat.yml diff --git a/roles/zsh/tasks/config/void.yml b/roles/zsh-user-cfg/tasks/config/void.yml similarity index 100% rename from roles/zsh/tasks/config/void.yml rename to roles/zsh-user-cfg/tasks/config/void.yml diff --git a/roles/zsh/tasks/main.yml b/roles/zsh-user-cfg/tasks/main.yml similarity index 100% rename from roles/zsh/tasks/main.yml rename to roles/zsh-user-cfg/tasks/main.yml diff --git a/roles/zsh/tasks/install/alpine.yml b/roles/zsh/tasks/install/alpine.yml deleted file mode 100644 index caff7e6..0000000 --- a/roles/zsh/tasks/install/alpine.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: (Alpine) Installing packages around zsh - community.general.apk: - name: - - zsh - - zsh-completions - - zsh-autosuggestions - - zsh-syntax-highlighting - - zsh-history-substring-search - - zsh-theme-powerlevel10k - - zsh-vcs - state: present - update_cache: true - become: true diff --git a/roles/zsh/tasks/install/archlinux.yml b/roles/zsh/tasks/install/archlinux.yml deleted file mode 100644 index 7f92288..0000000 --- a/roles/zsh/tasks/install/archlinux.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: (Arch) Installing packages around zsh - community.general.pacman: - name: - - zsh - - zsh-completions - - zsh-autosuggestions - - zsh-syntax-highlighting - - zsh-history-substring-search - - zsh-theme-powerlevel10k - state: present - update_cache: true - become: true diff --git a/roles/zsh/tasks/install/debian.yml b/roles/zsh/tasks/install/debian.yml deleted file mode 100644 index 184d45c..0000000 --- a/roles/zsh/tasks/install/debian.yml +++ /dev/null @@ -1,25 +0,0 @@ ---- -# Installing zsh and its dependency - -- name: (Deb) Installing packages around zsh - ansible.builtin.apt: - name: - - zsh - - zsh-autosuggestions - - zsh-syntax-highlighting - state: present - update_cache: true - when: ansible_distribution == 'Debian' - become: true - -- name: (ubu) Installing packages around zsh - ansible.builtin.apt: - name: - - zsh - - zsh-autosuggestions - - zsh-syntax-highlighting - - zsh-theme-powerlevel9k - state: present - update_cache: true - when: ansible_distribution == 'Ubuntu' - become: true diff --git a/roles/zsh/tasks/install/redhat.yml b/roles/zsh/tasks/install/redhat.yml deleted file mode 100644 index d041ecc..0000000 --- a/roles/zsh/tasks/install/redhat.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- name: (RH) Installing packages around zsh - ansible.builtin.yum: - name: - - zsh - - zsh-syntax-highlighting - state: present - update_cache: true - become: true - ignore_errors: true diff --git a/roles/zsh/tasks/install/void.yml b/roles/zsh/tasks/install/void.yml deleted file mode 100644 index a1a47c5..0000000 --- a/roles/zsh/tasks/install/void.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -# Installing zsh and its dependency - -- name: (Void) Installing packages around zsh - community.general.xbps: - name: - - zsh - - zsh-completions - - zsh-autosuggestions - - zsh-syntax-highlighting - - zsh-history-substring-search - state: present - update_cache: true - become: true diff --git a/terminals.yml b/terminals.yml deleted file mode 100644 index 257410f..0000000 --- a/terminals.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: all - roles: - - alacritty - - kitty diff --git a/vimrc b/vimrc deleted file mode 100644 index 8867acb..0000000 --- a/vimrc +++ /dev/null @@ -1,168 +0,0 @@ -" Non compatible mode -set nocompatible -" Gestione plugin con vim-plug -call plug#begin() -" Base for plugin management -Plug 'junegunn/vim-plug' - -" Standard vim packages -Plug 'tpope/vim-sensible' -Plug 'tpope/vim-commentary' -Plug 'tpope/vim-surround' -Plug 'tpope/vim-repeat' - -" Git wrapper -Plug 'tpope/vim-fugitive' - -" File explorer -Plug 'scrooloose/nerdtree' - -" nerdtree git plugin -Plug 'Xuyuanp/nerdtree-git-plugin' - -" fzf integration -Plug 'junegunn/fzf.vim' - -" Snippets management and support for vim -Plug 'SirVer/ultisnips' -Plug 'honza/vim-snippets' - -" Conqueror of Completion -Plug 'neoclide/coc.nvim', {'branch': 'release'} - -" Shell Conqueror of Completion plugin -Plug 'josa42/coc-sh', { 'do': 'yarn install --frozen-lockfile' } - -" Python -Plug 'fannheyward/coc-pyright' - -" Ansible -Plug 'pearofducks/ansible-vim' " syntax highlight -Plug 'yaegassy/coc-ansible', {'do': 'yarn install --frozen-lockfile'} - -" Rust -Plug 'rust-lang/rust.vim' -Plug 'zooxyt/Ultisnips-rust' -Plug 'fannheyward/coc-rust-analyzer', { 'do': 'yarn install --frozen-lockfile' } - -" latex stuff -Plug 'lervag/vimtex' -Plug 'ckunte/latex-snippets-vim', { 'tag': '*' } -Plug 'neoclide/coc-vimtex', { 'do': 'yarn install --frozen-lockfile' } - -" HTML 5 template -Plug 'othree/html5.vim' -" -" Blade syntax highlight -Plug 'xsbeats/vim-blade' - -" terraform syntax highlight -Plug 'hashivim/vim-terraform' - -" Mediawiki pages support -Plug 'm-pilia/vim-mediawiki' - -" Markdown with preview -Plug 'fannheyward/coc-markdownlint', { 'do': 'yarn install --frozen-lockfile' } -Plug 'weirongxu/coc-webview' -Plug 'weirongxu/coc-markdown-preview-enhanced', { 'do': 'yarn install --frozen-lockfile' } - -""" Aesthetic fixes """ - -" Devicons -Plug 'ryanoasis/vim-devicons' - -" Vim Airline -Plug 'vim-airline/vim-airline' -Plug 'vim-airline/vim-airline-themes' - -" Solarized theme -Plug 'altercation/vim-colors-solarized' - -" Vim-plug configuration end -call plug#end() - -" Impostazioni di base -syntax on -set background=dark -set modelines=5 -set modeline -set showcmd -set laststatus=2 -set splitbelow -set splitright - -" Riattivo i plugin per i tipi di file -filetype plugin indent on - -" Override grep -set grepprg=grep\ -nH\ $* - -" Configurazioni addizionali - -" Nerdtree -let g:NERDTreeNodeDelimiter = "\u00a0" -map :NERDTreeToggle - -" LaTeXsuite - Cambio il tex flavor -" let g:tex_flavor='latex' - -" Airline-theme - Set up airline-theme -let g:airline_powerline_fonts = 1 -let g:airline_theme='dark' - -" ALE configurations -"nmap (ale_next_wrap) -"let g:ale_sign_error = '⬥' -"let g:ale_sign_warning = '⬦' -"let g:ale_yaml_yamllint_options='-d "{extends: relaxed, rules: {line-length: disable}}"' - -" Configurazioni per ansible-vim -let g:ansible_unindent_after_newline = 1 - -" Configurations for GVim -if has('gui_running') - "set guifont=Ubuntu\ Mono\ derivative\ Powerline\ 14 - "set guifont = Droid Sans Mono Slashed for Powerline Regular 16,Ubuntu Mono derivative Powerline 14 - set guifont=Fira\ Code\ Nerd\ Font\ 12,Ubuntu\ Mono\ derivative\ Powerline\ 14 - - colorscheme solarized - let g:airline_theme='base16' - let lines=45 - let columns=80 -endif - -" Completion with Conqueror of Code -" use to trigger completion and navigate to the next complete item -function! CheckBackspace() abort - let col = col('.') - 1 - return !col || getline('.')[col - 1] =~# '\s' -endfunction - -inoremap - \ coc#pum#visible() ? coc#pum#next(1) : - \ CheckBackspace() ? "\" : - \ coc#refresh() - -" Conferma scelta con invio -inoremap coc#pum#visible() ? coc#pum#confirm() : "\\=coc#on_enter()\" -" mostra documentazione in preview -nnoremap K :call ShowDocumentation() - -function! ShowDocumentation() - if CocAction('hasProvider', 'hover') - call CocActionAsync('doHover') - else - call feedkeys('K', 'in') - endif -endfunction - -let g:coc_filetype_map = { - \ 'yaml.ansible': 'ansible', - \ } - -" vimtex configuration -let g:vimtex_view_method = 'zathura' - -" Ultisnips configuration -let g:UltiSnipsExpandTrigger = ''