Ansible – Create a new directory on a CIFS shared folder

In this post, I will show you how to create a directory on a CIFS shared folder hosted on the Windows machine

This task can be achieved by configuring the WinRM listener on the Windows machine. In the playbook, we will communicate with the listener using CredSSP. The TCP port is defined on 5986 (WinRM default port for HTTPS listener)

You can find here a documentation on how to configure this WinRM listener

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Social Media Auto Publish Powered By :
%d bloggers like this: