-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.yml
59 lines (54 loc) · 1.54 KB
/
setup.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
---
- name: A playbook to setup my local machine with my basic customizations
hosts: localhost
gather_facts: false
pre_tasks:
- name: Collect system facts
ansible.builtin.setup:
gather_subset:
- '!all'
- '!min'
- date_time
- distribution
- env
- lsb # Linux Standard Base (LSB)
- os_family # Distribution
- system # Architecture
- user
tags:
- always
- name: Load Linux vars
ansible.builtin.include_vars: linux.yml
when: ansible_system == 'Linux'
tags:
- always
- name: Load OSX vars
ansible.builtin.include_vars: osx.yml
when: ansible_system == 'Darwin'
tags:
- always
- name: Debug ssh id_rsa
ansible.builtin.debug:
msg: "pre_task ssh.id_rsa.pub {{ ssh.id_rsa.pub }}"
tags:
- always
roles:
- {role: debug, tags: [debug]}
- {role: sudoers, tags: [sudo]}
- {role: ssh, tags: [ssh]}
- {role: packages, tags: [packages]}
- {role: dot, tags: [dot, bash]}
- {role: wsl, tags: [wsl]}
- {role: osx, tags: [osx]}
- {role: gui, tags: [gui]}
- {role: docker, tags: [docker]}
- {role: vscode, tags: [vscode]}
- {role: limits, tags: [limits]}
- {role: chrome, tags: [chrome]}
- {role: golang, tags: [golang]}
- {role: rust, tags: [rust]}
- role: newrelic-infra
tags: [newrelic-infra]
vars:
license_key: "{{ nri_license_key }}"
- {role: nvidia-cuda, tags: [nvidia-cuda]}