Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provision fails on PHP package installation #48

Closed
mikl opened this issue Jul 25, 2014 · 3 comments
Closed

Provision fails on PHP package installation #48

mikl opened this issue Jul 25, 2014 · 3 comments

Comments

@mikl
Copy link
Contributor

mikl commented Jul 25, 2014

When provisioning, I get this error:

 _______________________
< TASK: PHP and Modules >
 -----------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


failed: [default] => (item=php5-fpm,php5-cli,php5-curl,php5-intl) => {"failed": true, "item": "php5-fpm,php5-cli,php5-curl,php5-intl"}
msg: No package matching '$item' is available

FATAL: all hosts have already failed -- aborting

Versions:

  • Vagrant 1.4.3
  • VirtualBox 4.3.8
  • Ansible 1.6.6
@mikl
Copy link
Contributor Author

mikl commented Jul 25, 2014

The error seems to stem from the “PHP and Modules” task in ansible/tasks/development.yml on line 23, but I don't really know enough Ansible to fix it.

WyriHaximus added a commit that referenced this issue Jul 25, 2014
@WyriHaximus
Copy link
Contributor

@mikl It seems we were still using old style item variable syntax. Fixed it and it should work now for you.

@mikl
Copy link
Contributor Author

mikl commented Jul 25, 2014

Yep, that fixed it, thanks 👍

@mikl mikl closed this as completed Jul 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants