summaryrefslogtreecommitdiff
path: root/setup.yaml
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-03-23 14:09:58 +0300
committereug-vs <eugene@eug-vs.xyz>2022-03-23 14:09:58 +0300
commit29d16c46dfbc8eb9a31b10a5bf72f1330c890d5c (patch)
tree07bec8926ee075116c30191ce86652cc0ebbbb3e /setup.yaml
downloadinfrastructure-29d16c46dfbc8eb9a31b10a5bf72f1330c890d5c.tar.gz
feat: add website and git-server playbooks
Diffstat (limited to 'setup.yaml')
-rw-r--r--setup.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/setup.yaml b/setup.yaml
new file mode 100644
index 0000000..098de93
--- /dev/null
+++ b/setup.yaml
@@ -0,0 +1,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"
+