Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-503

On project copy for job run allow .git/ directory to be copied over

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 2.3, 2.4
    • controller
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      What is the nature and description of the request?

      Starting in AAP 2.2.1+ the function that copies the project from the controller node to the destination directory now ignores the .git/ directory from the project.

      I believe this change can be seen with this line of this commit: https://github.com/ansible/tower/commit/46be2d9e5b4423f316d6fae4a080d36716622c15#diff-e7dbe44bafe6517b8185bafcffb5a752ff7a07b3b21ef41ffbf7a873f1c207cbR1331

      (upstream) https://github.com/ansible/awx/commit/46be2d9e5b4423f316d6fae4a080d36716622c15#diff-e7dbe44bafe6517b8185bafcffb5a752ff7a07b3b21ef41ffbf7a873f1c207cbR1331

      This change has broken some customer's playbooks/workflows as sometimes the .git/ directory is utilized in jobs.

      Why does the customer need this? (List the business requirements here)

      Utilizing logic around the project files inside of the .git/ directory was embedded into some playbooks.

      How would you like to achieve this? (List the functional requirements here)

      Either don't ignore the .git/ directory on project copy anymore or introduce some sort of option to allow it to be copied if wanted.

              bcoursen@redhat.com Brian Coursen
              rhn-support-nabecker Nate Becker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: