Add (unversioned) clone of metacluster git repo
This commit is contained in:
parent
e7e3b69d95
commit
0263b2dfc4
11
ansible/roles/metacluster/tasks/config.yml
Normal file
11
ansible/roles/metacluster/tasks/config.yml
Normal 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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user