fix: cicd ansible
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
workspace_dir: "/tmp/hla_framework_bd"
|
||||
|
||||
tasks:
|
||||
# Tell Git to bypass the strict ownership check for this specific directory
|
||||
- name: Whitelist temporary git directory
|
||||
ansible.builtin.command:
|
||||
cmd: "git config --global --add safe.directory {{ workspace_dir }}"
|
||||
|
||||
# TODO: can remove when running on runner
|
||||
- name: Clone this repository
|
||||
ansible.builtin.git:
|
||||
@@ -16,7 +21,6 @@
|
||||
accept_hostkey: true
|
||||
version: "{{ branch_name }}"
|
||||
force: true
|
||||
become: yes
|
||||
|
||||
- name: Initialize isolated service directory name
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
Reference in New Issue
Block a user