diff --git a/dotfiles.yml b/dotfiles.yml index 23b478d..d1e8710 100644 --- a/dotfiles.yml +++ b/dotfiles.yml @@ -7,6 +7,12 @@ 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 + ignore_errors: true + - import_tasks: tasks/user.yml - import_tasks: tasks/packages.yml