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

Missing Vars in deploy.yml playbook #11

Open
olegsfinest opened this issue Jul 22, 2021 · 2 comments
Open

Missing Vars in deploy.yml playbook #11

olegsfinest opened this issue Jul 22, 2021 · 2 comments

Comments

@olegsfinest
Copy link

Hi there,

thanks for the nice project. I tried to provision and deploy an app with these playbooks. I ran into an error in the deploy.yml playbook, the variables used are not set in it.

I could easily fix it by adding

  vars_files:
    - app-vars.yml

analogously to the provision playbook.

I don't know if I made an error in the first place and this just fixed that, but if the vars are actually missing, I guess it would be a good idea to add the two lines to deploy.yml?

Best regards and Thanks!

@fffx
Copy link

fffx commented Sep 27, 2021

I think the issue is in provision.yml, the app-vars missed .yml:

--  app-vars
++  app-vars.yml

@favour121
Copy link

I think the issue is in provision.yml, the app-vars missed .yml:

--  app-vars
++  app-vars.yml

@fffx thank you. I had so many missing variable errors and cyclical loops that this simple edit fixed. Wonder why the repo doesn't add the .yml by default. Could it be that older Ansible versions worked well without the .yml extension?

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

3 participants