cancel
Showing results for 
Search instead for 
Did you mean: 
jeesshnasree
Flight Engineer
Flight Engineer
  • 1,130 Views

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

Jump to solution
0 Kudos
1 Solution

Accepted Solutions
fuadar
Flight Engineer Flight Engineer
Flight Engineer
  • 1,110 Views

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

Jump to solution

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

Reply
Loading...
3 Replies
fuadar
Flight Engineer Flight Engineer
Flight Engineer
  • 1,111 Views

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

Jump to solution

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

Reply
Loading...
jeesshnasree
Flight Engineer
Flight Engineer
  • 1,100 Views

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

Jump to solution

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
Reply
Loading...
fuadar
Flight Engineer Flight Engineer
Flight Engineer
  • 1,086 Views

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

Jump to solution

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

 

0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.