Tag Archives: stop start service

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