a-chernykh / railsbox

Fast and easy Ruby on Rails virtual machines
https://railsbox.io
MIT License
320 stars 52 forks source link

Ansible doesn't pick up variables in other directories in group_vars #23

Closed fonglh closed 8 years ago

fonglh commented 9 years ago

I only have a staging environment configured. The variables in group_vars/staging/config.yml are not picked up.

Do they have to be manually included somewhere?

BrVer commented 9 years ago

i have the same issue, maybe i'm doing something wrong? https://railsbox.io/boxes/ac1ccd5f73ff, after unzipping it to project directory and installing ansible, I perform: cd railsbox/staging sh provision.sh and it seems like ansible do not see group_vars/staging/config.yml variables @fonglh, maybe you have a solution? UPD: seems like it's caused by staging/inventory having [development] section instead of [staging]

jtomaszewski commented 9 years ago

UPD: seems like it's caused by staging/inventory having [development] section instead of [staging]

Fixed it to me. Thanks @BrVer

a-chernykh commented 8 years ago

This should be fixed now, thanks to @kraft001