Create a file named my_playbook3.yml inside /etc/ansible folder and paste below code.SSH or login into your any Linux machine. Ansible uses YAML Language to build playbooks which are finally used to deploy or configure the required change. To deploy tomcat, let’s move ahead and create the ansible-playbook. The remote Linux computer is called webserver, and this tutorial uses an inventory group called web.Įnsure your remote machine IP address is inside /etc/ansible/hosts ( either one remote machine or define it as a group) Building tomcat Ansible-playbook on the Ansible ControllerĪnsible is an automation tool used for deploying applications and systems easily it could be Cloud, Services, orchestration, etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |