testbed icon indicating copy to clipboard operation
testbed copied to clipboard

Hardcoded Repository Path

Open Richie1710 opened this issue 1 year ago • 0 comments

Hello, Currently, the repository path is hardcoded, which may cause issues when running the playbook from a forked repository. Could you please make the repository path configurable to ensure it works seamlessly across different forks?

Here is the code snippet in question:

    - name: Copy testbed repo
      become: true
      become_user: dragon
      ansible.posix.synchronize:
        src: "{{ repo_path }}/osism/testbed/"
        delete: true
        dest: /opt/configuration

You can find this in the following file: https://github.com/osism/testbed/blob/main/ansible/manager-part-1.yml#L45

Richie1710 avatar Aug 13 '24 07:08 Richie1710