aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/hosts.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-03-11 11:34:03 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-07-03 17:30:04 +0200
commit5add606d1d8316a2720bab01e6e77164b469f97b (patch)
tree196b79055c417bafac33e93ccc3dc6432705249d /roles/workstation/tasks/hosts.yml
parent73850feee15fc5c42beb548670a3f780711379cb (diff)
downloadrules-5add606d1d8316a2720bab01e6e77164b469f97b.tar.gz
roles/workstation: bootstrap hosts file
Diffstat (limited to 'roles/workstation/tasks/hosts.yml')
-rw-r--r--roles/workstation/tasks/hosts.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/workstation/tasks/hosts.yml b/roles/workstation/tasks/hosts.yml
new file mode 100644
index 0000000..bcc67c6
--- /dev/null
+++ b/roles/workstation/tasks/hosts.yml
@@ -0,0 +1,7 @@
+- name: retrieve hosts file
+ get_url:
+ url: "{{ workstation_hosts_url }}"
+ dest: "{{ workstation_hosts_file }}"
+ mode: '0644'
+ owner: 0
+ group: 0
remember that computers suck.