cancel
Showing results for 
Search instead for 
Did you mean: 
jeesshnasree
Starfighter Starfighter
Starfighter
  • 2,610 Views

Could you please suggest me for learn and write automation scripts basics

Jump to solution
2 Solutions

Accepted Solutions
fuadar
Flight Engineer Flight Engineer
Flight Engineer
  • 2,590 Views

Automation is a very broad subject and if your goal is automation, you need start with understanding what you want to automate and how you want to automate.. Using the right tool for the right job is very important and as such first start with basics 

1. What are you trying to automate

2. How will this automation help me achieve a goal

3. How hard will it be to maintain the automation?

 

Once you have determined these. Look for the appropriate tools. Ansible is an excellent example of a swiss army knife of automation and as such, you can start with this intro to ansible https://www.ansible.com/resources/webinars-training/introduction-to-ansible

The ansible getting started page https://docs.ansible.com/ansible/latest/user_guide/intro_getting_started.html

helps you write and run your first ansible playbook and once you are comfortable you can enhance this to more complex automation tasks with Ansible

 

 

View solution in original post

fuadar
Flight Engineer Flight Engineer
Flight Engineer
  • 2,566 Views

Sure 

so to answer your questions

and I'm going to start bottom up here.

 

1. Ansible can be installed using yum/dnf etc . Since i dont know what Linux Distro you have i would suggest looking at here. https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html

This will get you the ansible command line to start using  playbooks . The video i shared earlier will help you get started with writing playbooks.

 

FOr you JBoss EAP deployment. Here is an ansible galaxy prewritten role that will show you how JBoss can be deployed but i would start with smaller tasks to understand how ansible  works and then move up to JBoss EAP deployment https://galaxy.ansible.com/redhat-cop/jboss_eap

 

Here is the Ansible Documentation that talks about deploying apps to Jboss as well with examples 

https://docs.ansible.com/ansible/latest/modules/jboss_module.html

Now once you are familiar with Ansible and want to take it a step further and put enterprise controls I would recommend looking at Ansible Tower to ensure  you have controls over your automation and deployment strategy

 

View solution in original post

3 Replies
fuadar
Flight Engineer Flight Engineer
Flight Engineer
  • 2,591 Views

Automation is a very broad subject and if your goal is automation, you need start with understanding what you want to automate and how you want to automate.. Using the right tool for the right job is very important and as such first start with basics 

1. What are you trying to automate

2. How will this automation help me achieve a goal

3. How hard will it be to maintain the automation?

 

Once you have determined these. Look for the appropriate tools. Ansible is an excellent example of a swiss army knife of automation and as such, you can start with this intro to ansible https://www.ansible.com/resources/webinars-training/introduction-to-ansible

The ansible getting started page https://docs.ansible.com/ansible/latest/user_guide/intro_getting_started.html

helps you write and run your first ansible playbook and once you are comfortable you can enhance this to more complex automation tasks with Ansible

 

 

jeesshnasree
Starfighter Starfighter
Starfighter
  • 2,580 Views

Hi @fuadar,

 

thanks for share Ansible basics link .

 

my agenda as per your comments :

 

1. What are you trying to automate

normally  JBOSS EAP application deployment 

2. How will this automation help me achieve a goal

currently no idea with Ansible script for automation 

3. How hard will it be to maintain the automation?

i think if learn the automation its very regular day2day activities , then apply require domain reqyuired activity . could you pelase pre-requisites steps for ansbile installation in normal VMware box with linux OS.

0 Kudos
fuadar
Flight Engineer Flight Engineer
Flight Engineer
  • 2,567 Views

Sure 

so to answer your questions

and I'm going to start bottom up here.

 

1. Ansible can be installed using yum/dnf etc . Since i dont know what Linux Distro you have i would suggest looking at here. https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html

This will get you the ansible command line to start using  playbooks . The video i shared earlier will help you get started with writing playbooks.

 

FOr you JBoss EAP deployment. Here is an ansible galaxy prewritten role that will show you how JBoss can be deployed but i would start with smaller tasks to understand how ansible  works and then move up to JBoss EAP deployment https://galaxy.ansible.com/redhat-cop/jboss_eap

 

Here is the Ansible Documentation that talks about deploying apps to Jboss as well with examples 

https://docs.ansible.com/ansible/latest/modules/jboss_module.html

Now once you are familiar with Ansible and want to take it a step further and put enterprise controls I would recommend looking at Ansible Tower to ensure  you have controls over your automation and deployment strategy

 

Join the discussion
You must log in to join this conversation.