dotfiles/dotfiles.yml

46 lines
1.2 KiB
YAML
Raw Normal View History

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
# HACK: So variables can be loaded by hostname, rather than `local`
- name: Load custom variables
include_vars:
file: host_vars/{{ ansible_hostname }}.yml
2023-01-08 15:25:23 +00:00
failed_when: false
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
2020-06-15 12:54:07 +01:00
- include_role:
name: geerlingguy.ntp
- import_tasks: tasks/boot.yml
- import_tasks: tasks/i3.yml
2019-05-27 12:02:02 +01:00
- 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
2019-03-14 21:34:29 +00:00
- import_tasks: tasks/python.yml
- 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
- import_tasks: tasks/torchbox.yml
when: is_torchbox
2018-10-06 12:27:59 +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