aboutsummaryrefslogtreecommitdiffstats
path: root/site.workstation.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2023-01-02 11:49:14 +0100
committerRomain Gonçalves <me@rgoncalves.se>2023-01-02 11:49:14 +0100
commit8add0d08a44a726463970127f5ed13348b955770 (patch)
tree64c81e0bef5cda6b981485d7ff445a1a74909ff6 /site.workstation.yml
parent1dcac3ff16b9d2d8c0d637d55d75239d86f1f11d (diff)
downloadinfrastructure-8add0d08a44a726463970127f5ed13348b955770.tar.gz
feat: load localhost variable for workstation playbook
Diffstat (limited to 'site.workstation.yml')
-rw-r--r--site.workstation.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/site.workstation.yml b/site.workstation.yml
index 07911d1..387b684 100644
--- a/site.workstation.yml
+++ b/site.workstation.yml
@@ -23,6 +23,9 @@
- name: retrieve installed packages
ansible.builtin.package_facts:
register: package_facts
+ - name: include localhost variable
+ ansible.builtin.include_vars:
+ file: "host_vars/{{ ansible_hostname }}.yml"
roles:
- role: _workstation/basetools
remember that computers suck.