diff --git a/tasks/main.yml b/tasks/main.yml index 2de67b5..dd56878 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -70,6 +70,12 @@ tags: - networking +- name: ensure interfaces.d directory exists + file: + path: /etc/network/interfaces.d + state: directory + when: wanted_ip4 is defined or wanted_ip6 is defined + - name: configure watchdog template: src: watchdog.conf.j2