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

recurse option requires state to be 'directory' #68

Closed
itsNikolay opened this issue Aug 13, 2016 · 0 comments
Closed

recurse option requires state to be 'directory' #68

itsNikolay opened this issue Aug 13, 2016 · 0 comments

Comments

@itsNikolay
Copy link

Issue:
By running a provision command, I get the following exception:

TASK [ansible-deployer : add rigths to rbenv] **********************************
fatal: [mainserver]: FAILED! => {"changed": false, "failed": true, "msg": "recurse option requires state to be 'directory'", "path": "/usr/local/rbenv", "state": "absent"}

Environment:
Server: Ubuntu 16.10

❯ ansible --version
ansible 2.0.1.0
❯ ansible-galaxy info zzet.rbenv
Role: zzet.rbenv
        description: rbenv
        active: True
        commit: 3cb88f156abcb082471a6a60c1bb713b892e09fb
        commit_message: Darwin doesn't have a root group either. (#66)
        commit_url: https://github.com/zzet/ansible-rbenv-role/commit/3cb88f156abcb082471a6a60c1bb713b892e09fb

Solution:
Create dir /usr/local/rbenv on the server manually

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