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
|
- packer --version
|
||||||
- ansible --version
|
- ansible --version
|
||||||
- ovftool --version
|
- ovftool --version
|
||||||
- name: Ubuntu Server 22.04
|
- name: Kubernetes Bootstrap Appliance
|
||||||
image: bv11-cr01.bessems.eu/library/packer-extended
|
image: bv11-cr01.bessems.eu/library/packer-extended
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
@ -36,7 +36,7 @@ steps:
|
|||||||
- |
|
- |
|
||||||
packer validate \
|
packer validate \
|
||||||
-var vm_name=$DRONE_BUILD_NUMBER-${DRONE_COMMIT_SHA:0:10} \
|
-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_username=$${REPO_USERNAME} \
|
||||||
-var repo_password=$${REPO_PASSWORD} \
|
-var repo_password=$${REPO_PASSWORD} \
|
||||||
-var vsphere_password=$${VSPHERE_PASSWORD} \
|
-var vsphere_password=$${VSPHERE_PASSWORD} \
|
||||||
@ -46,7 +46,7 @@ steps:
|
|||||||
packer build \
|
packer build \
|
||||||
-on-error=cleanup -timestamp-ui \
|
-on-error=cleanup -timestamp-ui \
|
||||||
-var vm_name=$DRONE_BUILD_NUMBER-${DRONE_COMMIT_SHA:0:10} \
|
-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_username=$${REPO_USERNAME} \
|
||||||
-var repo_password=$${REPO_PASSWORD} \
|
-var repo_password=$${REPO_PASSWORD} \
|
||||||
-var vsphere_password=$${VSPHERE_PASSWORD} \
|
-var vsphere_password=$${VSPHERE_PASSWORD} \
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
group_vars:
|
vars_files:
|
||||||
- metacluster.yml
|
- metacluster.yml
|
||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
- name: XYZ
|
- name: Install & configure dependencies
|
||||||
import_tasks: foo.yml
|
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
|
- name: Pre-stage K3s components
|
||||||
import_tasks: foo.yml
|
import_tasks: k3s.yml
|
||||||
|
- name: Pre-stage meta components
|
||||||
|
import_tasks: components.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user