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:
@ -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
|
||||
import_tasks: components.yml
|
||||
|
||||
- name: Pre-stage IaC repositories
|
||||
import_tasks: config.yml
|
||||
|
||||
- name: Pre-stage workload-cluster components
|
||||
- name: Pre-stage meta-cluster configuration and workload-cluster components
|
||||
import_tasks: staging.yml
|
||||
|
||||
- name: Cleanup
|
||||
|
@ -3,9 +3,16 @@
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/metacluster/git-repositories/gitops
|
||||
- /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:
|
||||
url: "{{ item.url }}"
|
||||
dest: /opt/workloadcluster/node-templates/{{ item.name }}
|
||||
|
Reference in New Issue
Block a user