-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdotfiles.yml
43 lines (32 loc) · 838 Bytes
/
dotfiles.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
---
- name: Set up local workstation
hosts: local
vars_files: ["config.defaults.yml"]
pre_tasks:
- name: "[ dotfiles] Include config.yml overrides"
include_vars: "{{ item }}"
with_fileglob: "{{ playbook_dir }}/config.yml"
tags: ["always"]
roles:
- role: geerlingguy.mac.homebrew
tags: ["brew"]
when: ansible_distribution == 'MacOSX'
- role: brew
tags: ["brew"]
when: ansible_distribution == 'MacOSX'
- role: dotfiles
tags: ["dotfiles"]
- role: gem
tags: ["gem"]
- role: npm
tags: ["npm"]
- role: mas
tags: ["mas"]
when: ansible_distribution == 'MacOSX'
- role: macos
tags: ["macos"]
when: ansible_distribution == 'MacOSX'
- role: pip
tags: ["pip"]
- role: docker
tags: ["docker"]