Awx: roles/requirements.yml is undetected during playbooks project creation

Created on 28 Jan 2019  路  5Comments  路  Source: ansible/awx

ISSUE TYPE
  • Bug Report
COMPONENT NAME
  • UI
SUMMARY

roles/requirements.yml is undetected during playbooks project creation.

ENVIRONMENT
  • AWX version: 3.0.0
  • AWX install method: docker on linux
  • Ansible version: 2.7.6
  • Operating System: Debian buster
  • Web Browser: chrome Version 71.0.3578.98 (Official Build) (64-bit)
STEPS TO REPRODUCE
  • Settings/Jobs/Enable Role Download: ON
  • create playbooks project:

    • playbooks SCM type: git

    • playbooks SCM URL: valid private URL (not hosted on ansible galaxy)

    • playbooks SCM Update Options:

    • Clean

    • Delete on Update

    • Update Revision on Launch

    • playbooks git repository contains roles/requirements.yml

      </li> <li>src: <roles SCM URL><br /> scm: git<br />

EXPECTED RESULTS

1) playbooks git repository cloned
2) roles downloaded from <roles SCM URL>

ACTUAL RESULTS

1) playbooks git repository cloned

ADDITIONAL INFORMATION:

1) private git repositories are located on the host running the AWX containers
2) Playbooks project creation job log

Enter passphrase for /tmp/awx_47_yZbV4Z/credential_4: 
Identity added: /tmp/awx_47_yZbV4Z/credential_4 (xxxxxxxxxxxxxxxxx)
Using /etc/ansible/ansible.cfg as config file
PLAY [all] *********************************************************************
TASK [delete project directory before update] **********************************
ok: [localhost]
TASK [check repo using git] ****************************************************
skipping: [localhost]
TASK [update project using git] ************************************************
changed: [localhost]
TASK [Set the git repository version] ******************************************
ok: [localhost]
TASK [update project using hg] *************************************************
skipping: [localhost]
TASK [Set the hg repository version] *******************************************
skipping: [localhost]
TASK [parse hg version string properly] ****************************************
skipping: [localhost]
TASK [update project using svn] ************************************************
skipping: [localhost]
TASK [Set the svn repository version] ******************************************
skipping: [localhost]
TASK [parse subversion version string properly] ********************************
skipping: [localhost]
TASK [Ensure the project directory is present] *********************************
skipping: [localhost]
TASK [Fetch Insights Playbook(s)] **********************************************
skipping: [localhost]
TASK [Save Insights Version] ***************************************************
skipping: [localhost]
TASK [Repository Version] ******************************************************
ok: [localhost] => {
    "msg": "Repository Version 50cfbfc2c4b6c2ab5cca11d9d6446ccf11c72767"
}
TASK [Write Repository Version] ************************************************
changed: [localhost]
PLAY [all] *********************************************************************
TASK [detect requirements.yml] *************************************************
skipping: [localhost]
TASK [fetch galaxy roles from requirements.yml] ********************************
skipping: [localhost]
TASK [fetch galaxy roles from requirements.yml (forced update)] ****************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost                  : ok=5    changed=2    unreachable=0    failed=0 
ui bug

Most helpful comment

same issue with AWX 7.0.0

All 5 comments

-> #1632

See https://github.com/ansible/awx/pull/3177. You will to manually update project_update.yml (or just build a new AWX from devel) until a new AWX release is cut.

3177 doesn't fix the problem for me

same issue with AWX 7.0.0

Could AWX 7.0.0 cherry pick this?
https://github.com/ansible/awx/pull/3177/commits/5df384edd62fa4882a90c7adefd061455ba34a29#diff-f069d8ac794ad13606442d2194490282

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pebbledavec picture pebbledavec  路  3Comments

cs35-owncloud picture cs35-owncloud  路  3Comments

darkaxl picture darkaxl  路  3Comments

mwiora picture mwiora  路  3Comments

worsco picture worsco  路  3Comments