fix: Clean untracked files in git repo through git_acp module
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
da0558711c
commit
7cc8fbbccb
@ -186,13 +186,13 @@
|
|||||||
prefix: "{{ vapp['guestinfo.prefixlength'] }}"
|
prefix: "{{ vapp['guestinfo.prefixlength'] }}"
|
||||||
gateway: "{{ vapp['guestinfo.gateway'] }}"
|
gateway: "{{ vapp['guestinfo.gateway'] }}"
|
||||||
|
|
||||||
- name: Remove working files
|
# - name: Remove working files
|
||||||
ansible.builtin.file:
|
# ansible.builtin.file:
|
||||||
path: "{{ item }}"
|
# path: "{{ item }}"
|
||||||
state: absent
|
# state: absent
|
||||||
loop: "{{ query('ansible.builtin.fileglob', capi_clustermanifest.path ~ '/*.yaml') }}"
|
# loop: "{{ query('ansible.builtin.fileglob', capi_clustermanifest.path ~ '/*.yaml') }}"
|
||||||
loop_control:
|
# loop_control:
|
||||||
label: "{{ item | basename }}"
|
# label: "{{ item | basename }}"
|
||||||
|
|
||||||
- name: Push git repository
|
- name: Push git repository
|
||||||
lvrfrc87.git_acp.git_acp:
|
lvrfrc87.git_acp.git_acp:
|
||||||
@ -201,6 +201,7 @@
|
|||||||
comment: "Upload manifests"
|
comment: "Upload manifests"
|
||||||
add:
|
add:
|
||||||
- ./manifests
|
- ./manifests
|
||||||
|
clean: untracked
|
||||||
url: https://administrator:{{ vapp['metacluster.password'] | urlencode }}@git.{{ vapp['metacluster.fqdn'] }}/mc/GitOps.ClusterAPI.git
|
url: https://administrator:{{ vapp['metacluster.password'] | urlencode }}@git.{{ vapp['metacluster.fqdn'] }}/mc/GitOps.ClusterAPI.git
|
||||||
environment:
|
environment:
|
||||||
GIT_AUTHOR_NAME: administrator
|
GIT_AUTHOR_NAME: administrator
|
||||||
|
Loading…
Reference in New Issue
Block a user