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
Issue: By running a provision command, I get the following exception:
Environment: Server: Ubuntu 16.10
Solution: Create dir
/usr/local/rbenv
on the server manually