-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
dotfiles.yml
51 lines (41 loc) · 1.4 KB
/
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
44
45
46
47
48
49
50
51
- hosts: local
connection: local
tasks:
- name: Include extra metadata
include_vars:
file: vars.yml
# HACK: So variables can be loaded by hostname, rather than `local`
- name: Load custom variables
include_vars:
file: host_vars/{{ ansible_hostname }}.yml
failed_when: false
- import_tasks: tasks/user.yml
- import_tasks: tasks/packages.yml
- include_role:
name: geerlingguy.ntp
- import_tasks: tasks/boot.yml
- import_tasks: tasks/i3.yml
# Don't bother configuring KDE for root, just assume it's for me
- import_tasks: tasks/kde.yml
become: true
become_user: "{{ user }}"
- import_tasks: tasks/network.yml
- import_tasks: tasks/shell.yml
- import_tasks: tasks/input.yml
- import_tasks: tasks/autostart.yml
- import_tasks: tasks/fonts.yml
- import_tasks: tasks/security.yml
- import_tasks: tasks/python.yml
- import_tasks: tasks/neovim.yml
- import_tasks: tasks/intersect.yml
- import_tasks: tasks/vscode.yml
- import_tasks: tasks/gnome.yml
- import_tasks: tasks/javascript.yml
- import_tasks: tasks/applications.yml
- import_tasks: tasks/dev.yml
- import_tasks: tasks/media.yml
- import_tasks: tasks/torchbox.yml
when: is_torchbox
- import_tasks: tasks/mac.yml
when: "'Mac' in ansible_facts.product_name"
- import_tasks: tasks/cleanup.yml