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

[RFE] AAP should have option to add/set the custom path of requirements.yaml for the project sync.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 2.4
    • aap-ui, controller, core
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      1. What is the nature and description of the request?
        AAP should have the option to mention the custom path of requirements.yaml while syncing or creating the project.

      However, I found a workaround that we can edit the /var/lib/awx/venv/awx/lib/python3.9/site-packages/awx/playbooks/project_update.yml file on controller node(s) and add requirements.(yml/yaml) custom path.

      243         - name: Fetch galaxy roles and collections from requirements.(yml/yaml)
      244           ansible.builtin.command:
      245             cmd: "ansible-galaxy install -r {{ item }} {{ verbosity }}"
      246           register: galaxy_combined_result
      247           with_fileglob:
      248             - "{{ project_path | quote }}/requirements.yaml"
      249             - "{{ project_path | quote }}/requirements.yml"
      250             - "{{ project_path | quote }}/path/to/requirements.yml"    <=== Add requirements.(yml/yaml) file path here 
      1. Why does the customer need this? (List the business requirements here)
        Customer needs this feature to easily organize playbooks and roles in the filesystem as they prefer while keeping the project structure intact.

              rhn-support-ebock Emily Bock
              rhn-support-nikhjain Nikhil Jain
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: