NuCivic / ansible-dev-vm

8 stars 5 forks source link

Ansible provisioning fails with: role 'geerlingguy.git' was not found. #9

Closed dkinzer closed 9 years ago

dkinzer commented 9 years ago

I tried loading this dev environment locally and got the following error:

==> nucvicdev: Running provisioner: ansible...
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHost
sFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --private-ke
y=/home/dkinzer/projects/ansible-dev-vm/.vagrant/machines/nucvicdev/virtualbox/private_key --user=vagrant --co
nnection=ssh --limit='nucvicdev' --inventory-file=/home/dkinzer/projects/ansible-dev-vm/.vagrant/provisioners/
ansible/inventory --extra-vars={"ansible_ssh_user":"vagrant"} --sudo playbook.yml
ERROR! the role 'geerlingguy.git' was not found
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
dkinzer11:36[~/projects/ansible-dev-vm]

This is what's in the roles directory:

roles
├── nucivic
│   ├── tasks
│   │   └── main.yml
│   └── templates
│       ├── 10-help-text.j2
│       ├── bash.bashrc
│       ├── buck_qa
│       ├── git_attribute
│       ├── gitconfig
│       ├── gitignore
│       ├── make-random-password
│       ├── my.cnf.j2
│       └── runtags
├── nucivic-solr
│   ├── tasks
│   │   └── main.yml
│   └── templates
│       └── create-solr-instance
└── nucivic-vim
    ├── tasks
    │   └── main.yml
    └── templates
        └── vimrc
dkinzer commented 9 years ago

Oops .. forgot to install roles!

First time ansible user here.