Fix/Replace old references;Fix syntaxes
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Danny Bessems 2022-06-24 23:55:54 +02:00
parent 2bd0f8df0a
commit 081aaaaa19
5 changed files with 13 additions and 8 deletions

View File

@ -18,7 +18,7 @@ steps:
- packer --version
- ansible --version
- ovftool --version
- name: Ubuntu Server 22.04
- name: Kubernetes Bootstrap Appliance
image: bv11-cr01.bessems.eu/library/packer-extended
pull: always
commands:
@ -36,7 +36,7 @@ steps:
- |
packer validate \
-var vm_name=$DRONE_BUILD_NUMBER-${DRONE_COMMIT_SHA:0:10} \
-var vm_guestos=ubuntuserver22.04 \
-var vm_guestos=k8sbootstrap \
-var repo_username=$${REPO_USERNAME} \
-var repo_password=$${REPO_PASSWORD} \
-var vsphere_password=$${VSPHERE_PASSWORD} \
@ -46,7 +46,7 @@ steps:
packer build \
-on-error=cleanup -timestamp-ui \
-var vm_name=$DRONE_BUILD_NUMBER-${DRONE_COMMIT_SHA:0:10} \
-var vm_guestos=ubuntuserver22.04 \
-var vm_guestos=k8sbootstrap \
-var repo_username=$${REPO_USERNAME} \
-var repo_password=$${REPO_PASSWORD} \
-var vsphere_password=$${VSPHERE_PASSWORD} \

View File

@ -1,7 +1,7 @@
---
- hosts: all
gather_facts: false
group_vars:
vars_files:
- metacluster.yml
become: true
roles:

View File

@ -1,2 +1,2 @@
- name: XYZ
import_tasks: foo.yml
- name: Install & configure dependencies
import_tasks: dependencies.yml

View File

@ -0,0 +1,3 @@
#- name: XYZ
# ansible.builtin.get_url:

View File

@ -1,2 +1,4 @@
- name: XYZ
import_tasks: foo.yml
- name: Pre-stage K3s components
import_tasks: k3s.yml
- name: Pre-stage meta components
import_tasks: components.yml