14 lines
367 B
YAML
14 lines
367 B
YAML
- name: Fetch valkyrie's resolv.conf
|
|
fetch:
|
|
src: "/etc/resolv.conf"
|
|
dest: "./filesystem/tmp/"
|
|
when:
|
|
ansible_hostname == 'valkyrie'
|
|
|
|
- name: Copy valkyrie's resolv.conf to yggdrasil
|
|
copy:
|
|
src: "./filesystem/tmp/valkyrie/etc/resolv.conf"
|
|
dest: "/var/lib/{{ ansible_hostname }}/valkyrie-resolv.conf"
|
|
when:
|
|
ansible_hostname == 'yggdrasil'
|