From 07cbae13f719da0abdf4a663af416308bbbbf16c Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 30 Oct 2022 22:13:23 +1300 Subject: [PATCH] line join in cmd --- ansible/roles/vm_deploy/tasks/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/vm_deploy/tasks/deploy.yaml b/ansible/roles/vm_deploy/tasks/deploy.yaml index c83a172..4186250 100644 --- a/ansible/roles/vm_deploy/tasks/deploy.yaml +++ b/ansible/roles/vm_deploy/tasks/deploy.yaml @@ -41,7 +41,7 @@ -a {{ root_vhd_pool_dir }}/{{ vm_name }}_vda.qcow2 \ --hostname {{ vm_name }}.{{ vm_domain }} \ --upload /tmp/eno1_{{ vm_name }}.network:/etc/systemd/network/10-eno1.network \ - --append-line "/etc/hosts:127.0.1.1 {{ vm_name }}.{{ vm_domain }} {{ vm_name }}" + --append-line "/etc/hosts:127.0.1.1 {{ vm_name }}.{{ vm_domain }} {{ vm_name }}" \ --password ladmin:password:{{ hostvars[vm_name]['ansible_become_pass'] }} \ --root-password password:{{ hostvars[vm_name]['ansible_root_pass'] }} \ --password-crypto sha512 \