2018-09-09 08:56:05 +01:00
|
|
|
- hosts: local
|
|
|
|
connection: local
|
|
|
|
tasks:
|
2019-11-18 13:09:43 +00:00
|
|
|
- name: Include extra metadata
|
|
|
|
include_vars:
|
2018-09-09 09:22:11 +01:00
|
|
|
file: vars.yml
|
2019-10-03 18:07:36 +01:00
|
|
|
|
2021-03-10 11:07:13 +00:00
|
|
|
# HACK: So variables can be loaded by hostname, rather than `local`
|
|
|
|
- name: Load custom variables
|
|
|
|
include_vars:
|
|
|
|
file: host_vars/{{ ansible_hostname }}.yml
|
|
|
|
ignore_errors: true
|
|
|
|
|
2019-03-14 21:34:29 +00:00
|
|
|
- import_tasks: tasks/user.yml
|
2018-10-05 23:14:41 +01:00
|
|
|
- import_tasks: tasks/packages.yml
|
2019-05-27 16:11:13 +01:00
|
|
|
|
2020-06-15 12:54:07 +01:00
|
|
|
- include_role:
|
|
|
|
name: geerlingguy.ntp
|
|
|
|
|
2020-08-05 22:18:14 +01:00
|
|
|
- include_role:
|
|
|
|
name: realorangeone.reflector
|
|
|
|
|
2019-05-27 16:11:13 +01:00
|
|
|
- import_tasks: tasks/boot.yml
|
|
|
|
- import_tasks: tasks/i3.yml
|
2019-05-27 12:02:02 +01:00
|
|
|
- import_tasks: tasks/network.yml
|
2019-05-27 16:11:13 +01:00
|
|
|
- import_tasks: tasks/shell.yml
|
|
|
|
- import_tasks: tasks/input.yml
|
|
|
|
- import_tasks: tasks/power-saving.yml
|
|
|
|
- import_tasks: tasks/autostart.yml
|
|
|
|
- import_tasks: tasks/fonts.yml
|
|
|
|
- import_tasks: tasks/security.yml
|
|
|
|
|
2019-03-14 21:34:29 +00:00
|
|
|
- import_tasks: tasks/python.yml
|
2021-09-11 22:47:23 +01:00
|
|
|
- import_tasks: tasks/neovim.yml
|
2019-03-14 21:34:29 +00:00
|
|
|
- import_tasks: tasks/intersect.yml
|
2018-09-10 09:20:53 +01:00
|
|
|
- import_tasks: tasks/vscode.yml
|
2018-09-10 09:27:49 +01:00
|
|
|
- import_tasks: tasks/gnome.yml
|
2019-03-14 21:34:29 +00:00
|
|
|
- import_tasks: tasks/javascript.yml
|
|
|
|
- import_tasks: tasks/applications.yml
|
|
|
|
- import_tasks: tasks/dev.yml
|
|
|
|
- import_tasks: tasks/media.yml
|
2018-09-14 09:48:18 +01:00
|
|
|
|
2021-03-10 10:42:54 +00:00
|
|
|
- import_tasks: tasks/torchbox.yml
|
|
|
|
when: is_torchbox
|
2018-10-06 12:27:59 +01:00
|
|
|
|
2019-10-03 18:07:36 +01:00
|
|
|
- import_tasks: tasks/mac.yml
|
|
|
|
when: "'Mac' in ansible_facts.product_name"
|
|
|
|
|
2018-10-06 12:27:59 +01:00
|
|
|
- import_tasks: tasks/cleanup.yml
|