Sostituzione di prepare con un playbook che viene lanciato sulla macchina locale.
This commit is contained in:
parent
23343af106
commit
813cf57d54
78 changed files with 885 additions and 70 deletions
14
roles/zsh/tasks/install/alpine.yml
Normal file
14
roles/zsh/tasks/install/alpine.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- 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
|
13
roles/zsh/tasks/install/archlinux.yml
Normal file
13
roles/zsh/tasks/install/archlinux.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- 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
|
25
roles/zsh/tasks/install/debian.yml
Normal file
25
roles/zsh/tasks/install/debian.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
# 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
|
9
roles/zsh/tasks/install/redhat.yml
Normal file
9
roles/zsh/tasks/install/redhat.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- name: (RH) Installing packages around zsh
|
||||
ansible.builtin.yum:
|
||||
name:
|
||||
- zsh
|
||||
- zsh-syntax-highlighting
|
||||
state: present
|
||||
update_cache: true
|
||||
become: true
|
14
roles/zsh/tasks/install/void.yml
Normal file
14
roles/zsh/tasks/install/void.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue