-
Notifications
You must be signed in to change notification settings - Fork 0
/
playbook.yml
68 lines (56 loc) · 1.41 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
- hosts: localhost
connection: local
tasks:
- name: load vars
include_vars: main.yml
- name: load distribution vars
include_vars: "{{ ansible_distribution | lower }}.yml"
- import_tasks: tasks/dotfiles.yml
- name: setup shell environment
include_role:
name: setup-shell-env
- name: install pre-requisites
include_role:
name: "prereqs-{{ ansible_distribution | lower }}"
apply:
become: yes
- name: install common packages
include_role:
name: packages-common
apply:
become: yes
- name: setup git
include_role:
name: setup-git
- name: install-keybase
include_role:
name: install-keybase
apply:
become: yes
# - name: install 1password
# include_role:
# name: install-1password
# apply:
# become: yes
- name: install-docker
include_role:
name: geerlingguy.docker
apply:
become: yes
vars:
docker_users:
- amo
when: container_dev | bool
- name: install-google-cloud-sdk
include_role:
name: install-google-cloud-sdk
apply:
become: yes
when: gcp_dev | bool
- name: install-cloudflare-tools
include_role:
name: install-cloudflare-tools
apply:
become: yes
when: cf_tools | bool