-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdotfiles.yml
More file actions
48 lines (38 loc) · 1.27 KB
/
Copy pathdotfiles.yml
File metadata and controls
48 lines (38 loc) · 1.27 KB
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
- hosts: local
connection: local
become: true
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
# 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/neovim.yml
- import_tasks: tasks/intersect.yml
- import_tasks: tasks/applications.yml
- import_tasks: tasks/dev.yml
- import_tasks: tasks/zed.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