Hello,

In Ansible Tower 3.1.1 assuming you have a
project_dir/roles/requirements.yml Tower is supposed to use Galaxy to
download the roles for you.  The playbook installed by Tower 3.1.1 has the
following task:


    - name: fetch galaxy roles from requirements.yml
      command: ansible-galaxy install -r requirements.yml -p
{{project_path|quote}}/roles/ --force
      args:
        chdir: "{{project_path|quote}}/roles"
      when: doesRequirementsExist.stat.exists and scm_full_checkout|bool

The scm_full_checkout variable is commented out a bunch of times in this
playbook.

[root@ip-10-241-0-251 awx]# grep -r scm_full_checkout venv/
venv/tower/lib/python2.7/site-packages/awx/playbooks/project_update.yml:
     #clone: "{{ scm_full_checkout }}"
venv/tower/lib/python2.7/site-packages/awx/playbooks/project_update.yml:
     #update: "{{ scm_full_checkout }}"
venv/tower/lib/python2.7/site-packages/awx/playbooks/project_update.yml:
     #clone: "{{ scm_full_checkout }}"
venv/tower/lib/python2.7/site-packages/awx/playbooks/project_update.yml:
     #update: "{{ scm_full_checkout }}"
venv/tower/lib/python2.7/site-packages/awx/playbooks/project_update.yml:
     #clone: "{{ scm_full_checkout }}"
venv/tower/lib/python2.7/site-packages/awx/playbooks/project_update.yml:
     #update: "{{ scm_full_checkout }}"
venv/tower/lib/python2.7/site-packages/awx/playbooks/project_update.yml:
     #checkout: "{{ scm_full_checkout }}"
venv/tower/lib/python2.7/site-packages/awx/playbooks/project_update.yml:
     #update: "{{ scm_full_checkout }}"
venv/tower/lib/python2.7/site-packages/awx/playbooks/project_update.yml:
     #checkout: "{{ scm_full_checkout }}"
venv/tower/lib/python2.7/site-packages/awx/playbooks/project_update.yml:
     #update: "{{ scm_full_checkout }}"
venv/tower/lib/python2.7/site-packages/awx/playbooks/project_update.yml:
   when: doesRequirementsExist.stat.exists and scm_full_checkout|bool

What do you need to do to turn scm_full_checkout to true to Tower will
download the roles defined in the requirements.yml?

Thanks,

Jonathan

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAM33%3DUfweuejErSh71g0P35nFjerxjFL0UTYkEuDnzg-O9VrCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to