Fix/Replace old references;Fix syntaxes
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
2bd0f8df0a
commit
081aaaaa19
@ -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} \
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
- hosts: all
|
||||
gather_facts: false
|
||||
group_vars:
|
||||
vars_files:
|
||||
- metacluster.yml
|
||||
become: true
|
||||
roles:
|
||||
|
@ -1,2 +1,2 @@
|
||||
- name: XYZ
|
||||
import_tasks: foo.yml
|
||||
- name: Install & configure dependencies
|
||||
import_tasks: dependencies.yml
|
||||
|
3
ansible/roles/metacluster/tasks/components.yml
Normal file
3
ansible/roles/metacluster/tasks/components.yml
Normal file
@ -0,0 +1,3 @@
|
||||
#- name: XYZ
|
||||
# ansible.builtin.get_url:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user