# Multiple Projects

**URL:** <https://forum.ansible.com/t/multiple-projects/35760>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 21, 2021, 1:46am UTC](https://forum.ansible.com/t/multiple-projects/35760 "2021-09-21T01:46:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Peng](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@David\_Peng](https://forum.ansible.com/u/David_Peng)\
**Post date:** [September 21, 2021, 1:46am UTC](https://forum.ansible.com/t/multiple-projects/35760/1 "2021-09-21T01:46:15Z")

</div>

Is it possible to assign multiple projects to a template? I have playbooks in one project reference files in another project, but when I have a relative reference, Tower/AWX reports that it is unable to find the include.

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [September 21, 2021, 1:48am UTC](https://forum.ansible.com/t/multiple-projects/35760/2 "2021-09-21T01:48:52Z")

</div>

Have you considered sub modules?

---

<div class="post-metadata">

**Author:** ![David\_Peng](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@David\_Peng](https://forum.ansible.com/u/David_Peng)\
**Post date:** [September 22, 2021, 5:26pm UTC](https://forum.ansible.com/t/multiple-projects/35760/3 "2021-09-22T17:26:43Z")

</div>

Haven’t looked into that. Is this considered the default way of managing multiple repos for a template?

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [September 24, 2021, 2:24am UTC](https://forum.ansible.com/t/multiple-projects/35760/4 "2021-09-24T02:24:29Z")

</div>

No. But it is one way. I have linked two repositories together through the use of git submodules. Awx recognises it

---

<div class="post-metadata">

**Author:** ![David\_Peng](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@David\_Peng](https://forum.ansible.com/u/David_Peng)\
**Post date:** [September 24, 2021, 2:54am UTC](https://forum.ansible.com/t/multiple-projects/35760/5 "2021-09-24T02:54:59Z")

</div>

I just tried this and for some reason AWX wasn’t able to recognize files in the submodules. For example:

- name: output decrypted files  
template:  
src: “{{ item }}”  
dest: “{{ app\_home }}/conf/”  
with\_fileglob:
- …/other\_repo/{{ service }}/{{ env }}/{{ pod }}/local.conf

Initially, I thought it was the path, but after various other iterations AWX was not able to pick up the path. Oddly, a local run of ansible will work.

---

<div class="post-metadata">

**Author:** ![Dominik\_Wombacher](https://avatars.discourse-cdn.com/v4/letter/d/838e76/32.png) [@Dominik\_Wombacher](https://forum.ansible.com/u/Dominik_Wombacher)\
**Post date:** [September 24, 2021, 6:04am UTC](https://forum.ansible.com/t/multiple-projects/35760/6 "2021-09-24T06:04:36Z")

</div>

Hi David,
