-
Notifications
You must be signed in to change notification settings - Fork 7
/
playbook.yml
52 lines (52 loc) · 1.1 KB
/
playbook.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
- hosts: all
vars:
- i3_use_gaps: false
- i3_terminal: xfce4-terminal
- i3_use_polybar: false
- i3_optional: false
remote_user: kali
become_user: kali
become: true
tasks:
- name: Install missing packages
become: yes
become_user: root
apt:
pkg:
- i3-wm
- i3lock
- i3status
- zsh
- neovim
- apt-file
- htop
- rofi
- nodejs
- nitrogen
state: latest
update_cache: yes
- name: Install fonts and update font cache
script: install_fonts.sh
args:
creates: /usr/share/fonts/truetype/robotomono
- name: Set shell of user kali to zsh
user:
name: kali
shell: /bin/zsh
- name: Copy wallpaper
copy:
src: wallpaper.png
dest: /usr/share/backgrounds/kali/kali-i3.png
- name: Set wallpaper
copy:
src: nitrogen.cfg
dest: "{{ansible_env.HOME}}/.config/nitrogen/bg-saved.cfg"
roles:
- ansible-xresources
- ansible-i3
- ansible-vim
- ansible-xfce4-terminal
- ansible-tmux
- ansible-zsh
- ansible-rofi