--- - name: sysprep the template vhd # when: template_created is changed ansible.builtin.shell: cmd: | virt-sysprep -a {{ root_vhd_pool_dir }}/{{ vhd_template }} \ --format qcow2 \ --delete /etc/systemd/network/* \ --keep-user-accounts ladmin \ --enable user-account,firewall-rules \