Update vApp properties;Rebase static binary;Refactor dictionary;Combine similar steps;Housekeeping
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
14c6720196
commit
ed7a474dbb
@ -1,11 +0,0 @@
|
|||||||
- name: Create folder structure(s)
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
loop:
|
|
||||||
- /opt/metacluster/git-repositories/gitops
|
|
||||||
|
|
||||||
- name: Clone git repository
|
|
||||||
ansible.builtin.git:
|
|
||||||
repo: https://code.spamasaurus.com/djpbessems/GitOps.MetaCluster.git
|
|
||||||
dest: /opt/metacluster/git-repositories/gitops
|
|
@ -4,10 +4,7 @@
|
|||||||
- name: Pre-stage meta-cluster components
|
- name: Pre-stage meta-cluster components
|
||||||
import_tasks: components.yml
|
import_tasks: components.yml
|
||||||
|
|
||||||
- name: Pre-stage IaC repositories
|
- name: Pre-stage meta-cluster configuration and workload-cluster components
|
||||||
import_tasks: config.yml
|
|
||||||
|
|
||||||
- name: Pre-stage workload-cluster components
|
|
||||||
import_tasks: staging.yml
|
import_tasks: staging.yml
|
||||||
|
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
|
@ -3,9 +3,16 @@
|
|||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
loop:
|
loop:
|
||||||
|
- /opt/metacluster/git-repositories/gitops
|
||||||
- /opt/workloadcluster/node-templates
|
- /opt/workloadcluster/node-templates
|
||||||
|
|
||||||
- name: Download images
|
- name: Clone git repository
|
||||||
|
ansible.builtin.git:
|
||||||
|
repo: "{{ platform.gitops.repository.uri }}"
|
||||||
|
version: "{{ platform.gitops.repository.revision }}"
|
||||||
|
dest: /opt/metacluster/git-repositories/gitops
|
||||||
|
|
||||||
|
- name: Download node-template images
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "{{ item.url }}"
|
url: "{{ item.url }}"
|
||||||
dest: /opt/workloadcluster/node-templates/{{ item.name }}
|
dest: /opt/workloadcluster/node-templates/{{ item.name }}
|
||||||
|
@ -4,8 +4,10 @@ platform:
|
|||||||
version: v1.24.1+k3s1
|
version: v1.24.1+k3s1
|
||||||
|
|
||||||
gitops:
|
gitops:
|
||||||
# repo_ref: v0.1
|
repository:
|
||||||
repo_ref: HEAD
|
uri: https://code.spamasaurus.com/djpbessems/GitOps.MetaCluster.git
|
||||||
|
# revision: v0.1.0
|
||||||
|
revision: HEAD
|
||||||
|
|
||||||
packaged_components:
|
packaged_components:
|
||||||
- name: traefik
|
- name: traefik
|
||||||
@ -139,9 +141,7 @@ dependencies:
|
|||||||
archive: compressed
|
archive: compressed
|
||||||
extra_opts: --strip-components=1
|
extra_opts: --strip-components=1
|
||||||
- filename: skopeo
|
- filename: skopeo
|
||||||
url: https://sn.itch.fyi/Repository/rel/skopeo
|
url: https://code.spamasaurus.com/api/packages/djpbessems/generic/skopeo/v1.9.1/skopeo
|
||||||
username: "{{ repo_username }}"
|
|
||||||
password: "{{ repo_password }}"
|
|
||||||
- filename: yq
|
- filename: yq
|
||||||
url: http://github.com/mikefarah/yq/releases/download/v4.25.3/yq_linux_amd64
|
url: http://github.com/mikefarah/yq/releases/download/v4.25.3/yq_linux_amd64
|
||||||
|
|
||||||
|
@ -119,24 +119,24 @@ PropertyCategories:
|
|||||||
|
|
||||||
- Key: hv.fqdn
|
- Key: hv.fqdn
|
||||||
Type: string(1..)
|
Type: string(1..)
|
||||||
Label: vCenter Appliance FQDN*
|
Label: vCenter FQDN/IP-address*
|
||||||
Description: ''
|
Description: 'The address of the vCenter instance which this bootstrap appliance will interact with for provisioning new VM's.'
|
||||||
DefaultValue: ''
|
DefaultValue: ''
|
||||||
Configurations: '*'
|
Configurations: '*'
|
||||||
UserConfigurable: true
|
UserConfigurable: true
|
||||||
|
|
||||||
- Key: hv.username
|
- Key: hv.username
|
||||||
Type: string(1..)
|
Type: string(1..)
|
||||||
Label: User name ...*
|
Label: vCenter username*
|
||||||
Description: ''
|
Description: 'The username which this bootstrap appliance will authenticate with to the vCenter instance.'
|
||||||
DefaultValue: ''
|
DefaultValue: ''
|
||||||
Configurations: '*'
|
Configurations: '*'
|
||||||
UserConfigurable: true
|
UserConfigurable: true
|
||||||
|
|
||||||
- Key: hv.password
|
- Key: hv.password
|
||||||
Type: password(1..)
|
Type: password(1..)
|
||||||
Label: Password ...*
|
Label: vCenter password ...*
|
||||||
Description: ''
|
Description: 'The password which this bootstrap appliance will authenticate with to the vCenter instance.'
|
||||||
DefaultValue: ''
|
DefaultValue: ''
|
||||||
Configurations: '*'
|
Configurations: '*'
|
||||||
UserConfigurable: true
|
UserConfigurable: true
|
||||||
|
Loading…
Reference in New Issue
Block a user