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

.debops.cfg not applied to ansible.cfg #149

Open
mbajur opened this issue Apr 22, 2016 · 2 comments
Open

.debops.cfg not applied to ansible.cfg #149

mbajur opened this issue Apr 22, 2016 · 2 comments

Comments

@mbajur
Copy link

mbajur commented Apr 22, 2016

Hello everyone,

i'm trying to use DebOps (for debops-gitlab) for one of my new playbooks. I'm on OSX and i've found an issue ( #117 ) about the problem i'm facing. The issue is the same as in it but i'm not able to use another feature of debops (which is .debops.cfg file) so i decided to open a new issue.

Basically, as mentioned in #117, i should symlink Application Support/debops folder as /usr/local/share/debops (or whatever other path that suits me) and change that setting in the .debops.cfg file. The thing is, even after changing the paths in .debops.cfg [ansible default] block, running $ debops ... command still produces wrong paths in ansible.cfg.

I've set the new paths in .debops.cfg, in ~/.Library/Application Support/debps.cfg and even in /etc/debops.cfg but debops is still using some default values i have no idea where taken from.

Have you any idea what am i doing wrong ? Any help much appreciated.

@xorgic
Copy link

xorgic commented Apr 22, 2016

Hi mbajur.

The Library folder in OS X isn't hidden using the . it's hidden using the chflags hidden command, so the path you have written doesn't exists on OS X, but ~/Library/ exists. Debops doesn't use the /etc/debops.cfg on OS X according to the Documentation - configuration

So I would advise you to check the paths and the symlink.

Hope this helps.

@mbajur
Copy link
Author

mbajur commented Apr 22, 2016

Thanks for your reply @xorgic . I wish that was it but that's actually a typo i made - there shouldn't be a dot before Library. I was obviously talking about ~/Library/Application Support/debops.cfg.

According to /etc/debops.cfg, i've just done it to make sure i've modified all files possible :) Never believed it's gonna work though

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