Category Archives: Ansible

How to connect a Windows Machine with Ansible via Winrm

I assume that you have already installed ansible. If not, please check my blog. We have a couple of things to do onĀ  both the ansible server site and the remote Windows machine. Let’s start with Windows machine. With most version of Windows, Winrm ships in the box but not turned on by default. There Read More

Posted in Ansible | Tagged , , , , , , | Leave a comment

How to Stop/Start Tomcat with Ansible

, I assume that you have already installed Tomcat, Tomcat System Service, and Ansible. If you have not, please check my blog for instructions. First we need a inventory file. Let’s create /etc/ansible/hosts file copying foloowing lines. You need to use your tomcat sever ip and user information. [tomcat] 192.168.1.160 ansible_connection=ssh ansible_ssh_user=tomcat ansible_ssh_pass=tomcat Now we Read More

Posted in Ansible | Tagged , , | Leave a comment

Installing ansible with pip

First, we need to ensure that python3.9 and pip are available.   if not available, please read my install pyhon3.9 post below. if so, pip is available proceed installation step but please note that do not install ansible on root user. pip3.9 install ansible Verifying ansible installation. ansible –version   As you can see, the Read More

Posted in Ansible, Linux | Tagged , , , , , | Leave a comment