In this post, I will show a playbook with different tasks to copy files from Windows CIFS shared folder to a Linux folder. First, the status and the prerequisites: I have 3 machines: The Ansible controller ansible_srv01 where the playbook
In this post, I will show an example on how to manage multi-threading in an Ansible playbook. The playbook will perform the following steps: Connect on the Service-Now API. Use the CMDB table and retrieve a server list. This server
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
In this post, I will show you how to read a certificate request file and extract some informations. In the current case, the information is the Subject Alternate Name. If SAN have been specified in the CSR, it will be
You will find in the next days several posts with specific Ansible playbook for usual use case. The first post is to show how to copy a file or a folder from the node (nodeA) where you are running the