Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

vagrant up fails while downloading role php #813

Closed
naveenvalecha opened this issue Jul 22, 2016 · 1 comment
Closed

vagrant up fails while downloading role php #813

naveenvalecha opened this issue Jul 22, 2016 · 1 comment
Labels

Comments

@naveenvalecha
Copy link

naveenvalecha commented Jul 22, 2016

  • downloading role 'php', owned by geerlingguy
    https://galaxy.ansible.com/roles/432/versions/?page=2&page_size=50
    Traceback (most recent call last):
    File "/usr/local/Cellar/ansible/1.9.4/libexec/bin/ansible-galaxy", line 959, in
    main()
    File "/usr/local/Cellar/ansible/1.9.4/libexec/bin/ansible-galaxy", line 953, in main
    fn(args, options, parser)
    File "/usr/local/Cellar/ansible/1.9.4/libexec/bin/ansible-galaxy", line 819, in execute_install
    if len(role_versions) > 0:
    TypeError: object of type 'NoneType' has no len()
    Ansible failed to complete successfully. Any error output should be
    visible above. Please fix these errors and try again.

Steps to Reproduce :

Download drupalvm 3.1.4
extract the zip file and run the vagrant up into it.
The box will takes few minutes to download then at the time of installation of packages the error will come up.

@naveenvalecha naveenvalecha changed the title Getting these issues while installing drupalvm on local vagrant up fails while downloading role php Jul 22, 2016
@geerlingguy
Copy link
Owner

You'll need to either upgrade to Ansible 1.9.5 or the latest 2.x version; this is a bug that was present in Ansible < 1.9.5 with the number of PHP versions that are available through Galaxy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants