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

group_vars not found relitive to YAML file. #23

Closed
seamustuohy opened this issue Dec 5, 2015 · 1 comment
Closed

group_vars not found relitive to YAML file. #23

seamustuohy opened this issue Dec 5, 2015 · 1 comment

Comments

@seamustuohy
Copy link

The installation instructions for both ooni-backend and ooniprobe imply (through the path to install-ooniprobe.yml/install-oonibackend.yml) that they should be run from the root of the ooni-sysadmin repo. If done from the root of the repo the following error will occur.

TASK: [common | setup tor apt repo] ******************************************* 
fatal: [xx.xx.xx.xx] => One or more undefined variables: 'tor_distribution_release' is undefined

FATAL: all hosts have already failed -- aborting

This error occurs because ansible looks for the the group_vars folder relative to its YAML file. The error can be fixed by moving the group_vars folder into the ansible folder, or by placing a sym-link to it in the ansible folder.

anadahz pushed a commit that referenced this issue Dec 15, 2015
Fix to correct repo name taken from ansible variable.
Add tor-version for the experimental repo.
As spotted by @elationfoundation
#23
@anadahz
Copy link
Contributor

anadahz commented Dec 15, 2015

Thanks for reporting this!
This has been fixed at #32.
There is no need for wide default group_vars.

@anadahz anadahz closed this as completed Dec 15, 2015
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