Inital commit
This commit is contained in:
commit
6a0ce917b3
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
.*.swp
|
||||||
|
*~
|
||||||
|
|
34
README.md
Normal file
34
README.md
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
zsh-install
|
||||||
|
===========
|
||||||
|
|
||||||
|
Install zsh, mainly used as dependency
|
||||||
|
|
||||||
|
|
||||||
|
Role Variables
|
||||||
|
--------------
|
||||||
|
|
||||||
|
None
|
||||||
|
|
||||||
|
|
||||||
|
Example Playbook
|
||||||
|
----------------
|
||||||
|
|
||||||
|
---
|
||||||
|
- hosts: all
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- role: zsh-install
|
||||||
|
|
||||||
|
|
||||||
|
License
|
||||||
|
-------
|
||||||
|
|
||||||
|
AGPL-3.0-or-later
|
||||||
|
|
||||||
|
|
||||||
|
Author Information
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Sven Velt - <sven-ansiblerole@velt.biz>
|
||||||
|
https://git.velt.biz/velt.biz/
|
||||||
|
|
11
tasks/main.yml
Normal file
11
tasks/main.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
- name: Include OS-dependent variables
|
||||||
|
include_vars: "{{ ansible_os_family|lower }}.yml"
|
||||||
|
|
||||||
|
|
||||||
|
- name: Install zsh
|
||||||
|
package:
|
||||||
|
name: "{{ zsh_packages }}"
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
|
4
vars/alpine.yml
Normal file
4
vars/alpine.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
zsh_packages:
|
||||||
|
- zsh
|
||||||
|
|
6
vars/archlinux.yml
Normal file
6
vars/archlinux.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
zsh_packages:
|
||||||
|
- zsh
|
||||||
|
- zsh-completions
|
||||||
|
- zsh-syntax-highlighting
|
||||||
|
|
4
vars/debian.yml
Normal file
4
vars/debian.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
zsh_packages:
|
||||||
|
- zsh
|
||||||
|
|
5
vars/redhat.yml
Normal file
5
vars/redhat.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
zsh_packages:
|
||||||
|
- zsh
|
||||||
|
- zsh-syntax-highlighting
|
||||||
|
|
4
vars/suse.yml
Normal file
4
vars/suse.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
zsh_packages:
|
||||||
|
- zsh
|
||||||
|
|
6
vars/void.yml
Normal file
6
vars/void.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
zsh_packages:
|
||||||
|
- zsh
|
||||||
|
- zsh-completions
|
||||||
|
- zsh-syntax-highlighting
|
||||||
|
|
6
zsh-install.yml
Normal file
6
zsh-install.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
- hosts: all
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- zsh-install
|
||||||
|
|
Loading…
Reference in a new issue