Rename of Folder on Windows using Playbook

10 views
Skip to first unread message

Sai Prasha

unread,
Jan 29, 2020, 11:22:23 PM1/29/20
to Ansible Project
I want to rename the folder using ansible playbook , But i could not find any module . I found a solution in stackover flow but it did't work. Any solutions are workaround please

 - name: rename the file
    win_command: "cmd.exe /c rename {{C:\Program Files\apache-tomee-plus-8.0.0}}\\{{apache-tomee-plus-8.0.0}} {{TomEE}}"

Reply all
Reply to author
Forward
0 new messages