summaryrefslogtreecommitdiff
path: root/setup.yaml
blob: e23137dc476841049229e7f4b46bfdea19ed232a (plain)
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
---
- name: First-boot setup
  hosts: raspberry
  tasks:
     - name: Install packages
       become: true
       tags:
       - slow
       apt:
         upgrade: yes
         update_cache: yes
         pkg:
         - neovim
         - tmux
         - zsh
         - git
         - stow

     - name: Clone dotfiles
       tags:
       - slow
       shell: "git clone https://github.com/eug-vs/dotfiles.git ~/.dotfiles"

     - name: Change shell to zsh
       become: true
       shell: "chsh eug-vs -s $(which zsh)"


     - name: Install basic stow packages
       shell: "cd ~/.dotfiles && stow zsh raspberry"