Test ansible output regression workaround;Fix filename
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2023-01-18 18:42:21 +01:00
parent c1bff94cd1
commit 849c86b22b

View File

@ -20,7 +20,8 @@ build {
playbook_file = "ansible/playbook.yml" playbook_file = "ansible/playbook.yml"
user = "ubuntu" user = "ubuntu"
ansible_env_vars = [ ansible_env_vars = [
"ANSIBLE_CONFIG=ansible/ansible.cfg" "ANSIBLE_CONFIG=ansible/ansible.cfg",
"PYTHONUNBUFFERED=1"
] ]
use_proxy = "false" use_proxy = "false"
extra_arguments = [ extra_arguments = [
@ -35,11 +36,11 @@ build {
inline = [ inline = [
"pwsh -command \"& scripts/Update-OvfConfiguration.ps1 \\", "pwsh -command \"& scripts/Update-OvfConfiguration.ps1 \\",
" -ApplianceType '${source.name} \\", " -ApplianceType '${source.name} \\",
" -OVFFile '/scratch/airgapped-k8s/${var.vm_name}.ovf' \"", " -OVFFile '/scratch/airgapped-k8s/${var.vm_name}-${source.name}.ovf' \"",
"pwsh -file scripts/Update-Manifest.ps1 \\", "pwsh -file scripts/Update-Manifest.ps1 \\",
" -ManifestFileName '/scratch/airgapped-k8s/${var.vm_name}.mf'", " -ManifestFileName '/scratch/airgapped-k8s/${var.vm_name}-${source.name}.mf'",
"ovftool --acceptAllEulas --allowExtraConfig --overwrite \\", "ovftool --acceptAllEulas --allowExtraConfig --overwrite \\",
" '/scratch/airgapped-k8s/${var.vm_name}.ovf' \\", " '/scratch/airgapped-k8s/${var.vm_name}-${source.name}.ovf' \\",
" /output/airgapped-k8s.${source.name}.ova" " /output/airgapped-k8s.${source.name}.ova"
] ]
} }