Skip to content

Instantly share code, notes, and snippets.

@ajs6f
Created November 7, 2017 18:49
Show Gist options
  • Save ajs6f/87bb5e72cdc6566298c3c0b78a746f83 to your computer and use it in GitHub Desktop.
Save ajs6f/87bb5e72cdc6566298c3c0b78a746f83 to your computer and use it in GitHub Desktop.
[vagrant@localhost ansible]$ ansible-galaxy install -r requirements.yml composer -vvv
ansible-galaxy 2.4.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/vagrant/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-galaxy
python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
Using /etc/ansible/ansible.cfg as config file
Opened /home/vagrant/.ansible_galaxy
found role {'scm': None, 'src': 'geerlingguy.apache', 'version': '2.1.1', 'name': 'apache'} in yaml file
found role {'scm': None, 'src': 'geerlingguy.php', 'version': '3.4.5', 'name': 'php'} in yaml file
found role {'scm': None, 'src': 'geerlingguy.composer', 'version': '1.6.1', 'name': 'composer'} in yaml file
found role {'scm': None, 'src': 'geerlingguy.git', 'version': '1.3.0', 'name': 'git'} in yaml file
found role {'scm': None, 'src': 'geerlingguy.mysql', 'version': '2.7.2', 'name': 'mysql'} in yaml file
found role {'scm': None, 'src': 'geerlingguy.postgresql', 'version': '1.3.1', 'name': 'postgresql'} in yaml file
found role {'scm': None, 'src': 'geerlingguy.solr', 'version': '3.5.5', 'name': 'solr'} in yaml file
found role {'scm': None, 'src': 'geerlingguy.java', 'version': '1.7.4', 'name': 'java'} in yaml file
found role {'scm': None, 'src': 'geerlingguy.drupal', 'version': '2.2.2', 'name': 'drupal'} in yaml file
found role {'scm': None, 'src': 'geerlingguy.drush', 'version': '2.0.1', 'name': 'drush'} in yaml file
found role {'scm': None, 'src': 'geerlingguy.drupal-console', 'version': '1.1.0', 'name': 'drupal-console'} in yaml file
Skipping role apache
Skipping role php
Processing role composer
Opened /home/vagrant/.ansible_galaxy
- downloading role 'composer', owned by geerlingguy
https://galaxy.ansible.com/api/v1/roles/?owner__username=geerlingguy&name=composer
https://galaxy.ansible.com/api/v1/roles/429/versions/?page_size=50
- downloading role from https://github.com/geerlingguy/ansible-role-composer/archive/1.6.1.tar.gz
- extracting composer to /etc/ansible/roles/composer
- extracting composer to /usr/share/ansible/roles/composer
ERROR! Unexpected Exception, this is probably a bug: list index out of range
the full traceback was:
Traceback (most recent call last):
File "/usr/bin/ansible-galaxy", line 106, in <module>
exit_code = cli.run()
File "/usr/lib/python2.7/site-packages/ansible/cli/galaxy.py", line 150, in run
self.execute()
File "/usr/lib/python2.7/site-packages/ansible/cli/__init__.py", line 154, in execute
fn()
File "/usr/lib/python2.7/site-packages/ansible/cli/galaxy.py", line 392, in execute_install
installed = role.install()
File "/usr/lib/python2.7/site-packages/ansible/galaxy/role.py", line 332, in install
self.path = self.paths[nextidx]
IndexError: list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment