Add (unversioned) clone of metacluster git repo

This commit is contained in:
Danny Bessems 2022-07-13 12:17:46 +02:00
parent e7e3b69d95
commit 0263b2dfc4
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,11 @@
- name: Create folder structure(s)
ansible.builtin.file:
path: "{{ item }}"
state: directory
loop:
- /opt/metacluster/git-repositories
- name: Clone git repository
ansible.builtin.git:
repo: https://code.spamasaurus.com/djpbessems/GitOps.MetaCluster.git
dest: /opt/metacluster/git-repositories

View File

@ -1,6 +1,11 @@
- name: Pre-stage K3s components
import_tasks: k3s.yml
- name: Pre-stage meta components
import_tasks: components.yml
- name: Pre-stage IaC repositories
import_tasks: config.yml
- name: Cleanup
import_tasks: cleanup.yml