diff --git a/ansible.cfg b/ansible.cfg index 69b30fc..e41f6b3 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -5,4 +5,4 @@ host_key_checking = False [ssh_connection] pipelining = True -ssh_extra_args = "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" +ssh_args = "-o UserKnownHostsFile=/dev/null" diff --git a/config.pkr.hcl b/config.pkr.hcl index 6818aad..f04d540 100644 --- a/config.pkr.hcl +++ b/config.pkr.hcl @@ -19,7 +19,7 @@ locals { firmware = "/usr/share/edk2-ovmf/x64/OVMF.fd" iso_url = "https://mir.archlinux.fr/iso/latest/archlinux-x86_64.iso" iso_checksum = "${split(" ", split("\n", data.http.example.body)[1])[0] }" - headless = false + headless = true crypt_passphrase = "password" ssh_root_username = "root" ssh_root_password = "root" @@ -89,13 +89,8 @@ build { "ANSIBLE_DISPLAY_OK_HOSTS=1", "ANSIBLE_DISPLAY_SKIPPED_HOSTS=1" ] - ansible_ssh_extra_args = [ - "-o IdentitiesOnly=yes", - "-o StrictHostKeyChecking=no", - "-o UserKnownHostsFile=/dev/null" - ] extra_arguments = [ - #"-vvv", + // "-vvv", "-D", "-e ansible_host=localhost", "-e ansible_port=${build.Port}", @@ -124,13 +119,8 @@ build { "ANSIBLE_DISPLAY_OK_HOSTS=1", "ANSIBLE_DISPLAY_SKIPPED_HOSTS=1" ] - ansible_ssh_extra_args = [ - "-o IdentitiesOnly=yes", - "-o StrictHostKeyChecking=no", - "-o UserKnownHostsFile=/dev/null" - ] extra_arguments = [ - #"-vvv", + // "-vvv", "-D", "-e ansible_host=localhost", "-e ansible_port=${build.Port}",