diff --git a/tasks/configure.yml b/tasks/configure.yml index f34caa9..c3c2d79 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -3,6 +3,7 @@ template: src: etc/netplan/config.yaml.j2 dest: "{{ netplan_config_file }}" + backup: true become: true when: netplan_configuration != [] notify: netplan generate config