diff options
Diffstat (limited to 'roles/workstation/tasks')
-rw-r--r-- | roles/workstation/tasks/hosts.yml | 7 | ||||
-rw-r--r-- | roles/workstation/tasks/main.yml | 4 |
2 files changed, 11 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 diff --git a/roles/workstation/tasks/main.yml b/roles/workstation/tasks/main.yml index 0e4a9c2..205834f 100644 --- a/roles/workstation/tasks/main.yml +++ b/roles/workstation/tasks/main.yml @@ -46,3 +46,7 @@ apply: become: true become_user: "{{ workstation_user }}" + +- name: include hosts setup + include_tasks: + file: hosts.yml |