-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsite.yml
More file actions
50 lines (46 loc) · 918 Bytes
/
site.yml
File metadata and controls
50 lines (46 loc) · 918 Bytes
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
---
- name: Install dotfiles
hosts: localhost
connection: local
gather_facts: true
vars:
dotfiles_dir: "{{ playbook_dir }}"
home_dir: '{{ ansible_facts["env"]["HOME"] }}'
roles:
- backup2
- bash
- bin
- claude
- dev-tools
- emacs
- firefox
- fish
- fzf
- git
- role: gnome-terminal
tags: [never, gnome-terminal]
- role: iterm
tags: [never, iterm]
- login
- macos
- man
- nix
- nixpkgs
- sapling
- ssh
- systemd
- tmux
- vim
- xmonad
- zsh
tasks:
- name: Initialize git submodules
ansible.builtin.command:
cmd: git submodule --quiet init
chdir: "{{ dotfiles_dir }}"
changed_when: false
- name: Update git submodules
ansible.builtin.command:
cmd: git submodule --quiet update
chdir: "{{ dotfiles_dir }}"
changed_when: false