aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host_vars/ws-work01.yml4
-rw-r--r--site.workstation.yml3
2 files changed, 7 insertions, 0 deletions
diff --git a/host_vars/ws-work01.yml b/host_vars/ws-work01.yml
index 7a78ae9..fce88d3 100644
--- a/host_vars/ws-work01.yml
+++ b/host_vars/ws-work01.yml
@@ -1,3 +1,7 @@
---
sshd_enable_x11_forwarding: true
+
+resolv_dns_servers:
+ - ip: 8.8.8.8
+ file: "{{ resolv_configuration_file }}.tail"
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.