-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yaml
38 lines (32 loc) · 1.29 KB
/
main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
- name: Install zsh
apt:
state: present
name:
- zsh
- name: Install Oh My Zsh
ansible.builtin.get_url:
url: https://github.com/raw/ohmyzsh/ohmyzsh/master/tools/install.sh
dest: /tmp/install_zsh.sh
- name: Run Oh My Zsh install script
ansible.builtin.shell:
cmd: ls ~/.oh-my-zsh || cat /tmp/install_zsh.sh | sh -s -- -y
- name: zsh-syntax-highlighting (Fish shell-like syntax highlighting for Zsh.)
ansible.builtin.git:
repo: 'https://github.com/zsh-users/zsh-syntax-highlighting.git'
dest: ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
update: True
- name: zsh-autosuggestions (Fish-like fast/unobtrusive autosuggestions for zsh.)
ansible.builtin.git:
repo: 'https://github.com/zsh-users/zsh-autosuggestions.git'
dest: ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
update: True
- name: zsh-kubectl-prompt (displays information about the kubectl current context and namespace in zsh prompt.)
ansible.builtin.git:
repo: 'https://github.com/superbrothers/zsh-kubectl-prompt.git'
dest: ~/.oh-my-zsh/custom/plugins/zsh-kubectl-prompt
update: True
- name: Powerlevel10k Theme
ansible.builtin.git:
repo: 'https://github.com/romkatv/powerlevel10k.git'
dest: ~/.oh-my-zsh/custom/themes/powerlevel10k
update: True