diff --git a/tasks/main.yml b/tasks/main.yml index a7349db..1a49907 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,5 +1,8 @@ --- +- include: setup.yml + when: not root_target_directory is defined + - name: /etc/network directory file: path: "{{ root_target_directory | default('') }}/etc/network" diff --git a/tasks/setup.yml b/tasks/setup.yml new file mode 100644 index 0000000..af04733 --- /dev/null +++ b/tasks/setup.yml @@ -0,0 +1,12 @@ +--- + +- name: install resolvconf + apt: + name: resolvconf + +# remove rdnssd, which generates problems, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740998 +- name: uninstall rdnssd + apt: + name: rdnssd + state: absent + when: