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

Running the playbook with my dotfiles fails because directories aren't created #1

Closed
yn opened this issue Apr 8, 2017 · 2 comments
Closed

Comments

@yn
Copy link
Owner

yn commented Apr 8, 2017

TASK [geerlingguy.dotfiles : Link dotfiles into home folder.] ******************
changed: [127.0.0.1] => (item=.gitconfig)
changed: [127.0.0.1] => (item=.gitignore_global)
failed: [127.0.0.1] (item=.ssh/config) => {"failed": true, "item": ".ssh/config", "msg": "Error while linking: [Errno 2] No such file or directory", "path": "/Users/yn/.ssh/config", "state": "absent"}
	to retry, use: --limit @/Users/yn/mac-dev-playbook/main.retry

PLAY RECAP *********************************************************************
127.0.0.1                  : ok=16   changed=7    unreachable=0    failed=1   

yns-MacBook-Pro:~ yn$ 

I think in order to fix this I have to clone and create my own yn.dotfiles Ansible role, and fix the issue there. Or, supposedly, it is possible to specify a git repo for a particular ansible role in the requirements file - look in the Ansible Galaxy documentation for that.

@yn
Copy link
Owner Author

yn commented Apr 15, 2017

Started work on this in ~/code/mine/mac-dev-playbook-spike.

Current issue: need to run two versions of ansible in parallel, Seems like the right thing to do is to run it from the repo with the hackinh script as documented in http://stackoverflow.com/questions/29537603/multiple-ansible-versions-on-same-laptop

@yn
Copy link
Owner Author

yn commented May 15, 2017

Opened PR at geerlingguy/ansible-role-dotfiles#13

@yn yn closed this as completed May 15, 2017
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

1 participant