Error:
FAILED! => {"changed": false, "failed": true, "gid": 0, "group": "root", "mode": "0755", "msg": "the directory /var/www/html/simpleRepoTwo/simpleRepoThree/release-20161213-1927/ is not empty, refusing to convert it", "owner": "root", "path": "/var/www/html/simpleRepoTwo/simpleRepoThree/release-20161213-1927/", "size": 4096, "state": "directory", "uid": 0}
i've also tried creating symlink in /home/ubuntu/ with different directories. force:yes
did not work.
Here is the code
- name: Creating symlinks of Products
file:
src: /home/ubuntu/productName/
dest: /var/www/html/simpleRepoTwo/simpleRepoThree/release-{{release_folder}}/
state: link
force: yes
I want to create symlink of productName
inside simpleRepoTwo/simpleRepoThree/release-20161213-1927
dest:
parameter value with/
, but with different reason. – techraf