Fix label;Configure gitea SSH;Fix git folder
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:
@ -62,10 +62,9 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0600
|
||||
when: item is defined
|
||||
loop: "{{ lookup('ansible.builtin.dict', components) | map(attribute='value.manifests') | list }}"
|
||||
loop: "{{ lookup('ansible.builtin.dict', components) | map(attribute='value.manifests') | list | select('defined') }}"
|
||||
loop_control:
|
||||
label: "{{ item.key }}"
|
||||
label: "{{ item.type + '/' + item.name }}"
|
||||
|
||||
- name: Compress tarballs
|
||||
community.general.archive:
|
||||
|
@ -3,9 +3,9 @@
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/metacluster/git-repositories
|
||||
- /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
|
||||
dest: /opt/metacluster/git-repositories/gitops
|
||||
|
Reference in New Issue
Block a user