On 3/19/20 6:34 AM, Rakesh Parida wrote:
> Hi ,
> 
> I have 3 directories in /tmp as follows: 
> Test_10.0.0
> Test_11.0.0
> Test_13.0.0
> 
> other directories in /tmp
> Test
>  Prod
>  Dev
> 
> Now i want to create soft link of 
> 
> Test_10.0.0 - Test
> Test_11.0.0 - Prod
> Test_13.0.0 - Dev
> 
> I want to create a playbook which does it.
> Can anybody help in this regard
> 

>From the docs:

- name: Create a symbolic link
  file:
    src: /file/to/link/to
    dest: /path/to/symlink
    owner: foo
    group: foo
    state: link

Regards
         Racke

> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/7fe98ae3-4fc6-452f-bd2b-79121dd651e2%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/7fe98ae3-4fc6-452f-bd2b-79121dd651e2%40googlegroups.com?utm_medium=email&utm_source=footer>.


-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3a543855-fe7d-b8fa-8815-7e24638aa93b%40linuxia.de.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to