On 11. juli 2017 08:00, 'Swapnil Bendekar' via Ansible Project wrote:
With Ansible(2.3.0.0)  and  python(2.6.6), executing ansible playbook from
webadmin user.
Using remote_user = ansible (in ansible.cfg )for passwordless
authentication.
While creating symlink, getting Error while linking: [Errno 13] Permission
denied

  file:
       src: /path/to/be/linked
       dest: "{{dest_home}}/{{dest_app}}"
       state: link
       follow: True
       force: True
Do let me know if any other information needed.
Appreciate your help to resolve this issue.
As the error message say, the user doesn't have the permission to create the link.
Resolve the permission or run it with become.

--
Kai Stian Olstad

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/70ce1362-8f80-97e0-310f-197642302470%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to