arranging vars

This commit is contained in:
2022-10-24 17:32:38 +13:00
parent 686dde0156
commit 8aa59da325
4 changed files with 11 additions and 3 deletions

View File

@ -1 +1 @@
root: {{ smtp_admin }}
root: {{ smtp_admin }}

View File

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