arranging vars
This commit is contained in:
parent
686dde0156
commit
8aa59da325
@ -4,3 +4,5 @@
|
||||
|
||||
ansible_connection: ssh
|
||||
ansible_become_method: sudo
|
||||
ansible_become_user: root
|
||||
ansible_port: 22
|
@ -1,3 +1,5 @@
|
||||
---
|
||||
ansible_host: hv00.balsillie.net
|
||||
|
||||
vhd_template: "kube_template_vda.qcow2"
|
||||
root_vhd_pool_dir: "/vhds" # No trailing /
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user