Error when running ansible-playbook
Closed this issue · 8 comments
When I cloned the repo and ran vagrant up
, I got this error message:
default: Running ansible-playbook...
ERROR: package is not a legal parameter in an Ansible task or handler
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
To proceed without errors, I removed nebula
from the listed roles in nebula/.nebula/ansible/playbook.yml
:
---
- hosts: all
become: yes
vars_files:
- vars/main.yml
roles:
- geerlingguy.git
- nebula
- geerlingguy.postfix
- geerlingguy.apache
- geerlingguy.mysql
- geerlingguy.php
- geerlingguy.php-pecl
- geerlingguy.php-mysql
- geerlingguy.composer
- geerlingguy.drush
- geerlingguy.drupal-console
Does the nebula/.nebula/ansible/roles/nebula
folder need a .travis.yml
file? The rest of the role folders have one.
Ansible should have spit out an error log file in your root directory. Is there any more info any there besides this? If so, can you paste in here.
@RealLukeMartin In the root directory of my nebula project? I don't see anything.
believe it will be in the same directory as the playbook.yml
which should be this dir nebula/.nebula/ansible/
@RealLukeMartin Nothing there either 😕
Solved! All I had to do was upgrade to Ansible 2.0 ¯_(ツ)_/¯
Yes, ansible 2.0 is a hard requirement. We will update the docs shortly to make that clear.