Mission Specialist
Mission Specialist
  • 517 Views

Ansible Prerequisite

Jump to solution

I am planning to learn anisble and wanna know what are the prerequisites for learning ansible.Should I have containers knowledge or DevOps knowledge to learn Ansible.

Labels (2)
0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
  • 421 Views

Re: Ansible Prerequisite

Jump to solution

I highly suggest being familiar with VIM and creating a good VIMRC. When teaching and delivering Ansible courses, the thing I find causes students the most grief is horizontal spacing and alignment in the Ansible playbook files (YAML) as this is very sensitive to spacing and you definitely don't want to have tabs in there.

Here is the line I use in my VIMRC

[student@workstation ~]$ cat .vimrc
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 ai et cuc colorcolumn=3,5,7,9,11

 

Sometimes all the vertical colored column guides can get confusing, so I can turn them off using VIM in command mode and issue ...

:set colorcolumn=

which will disable the color columns for that session of VIM.

 

 

Travis Michette, RHCA X
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training

View solution in original post

Reply
Loading...
4 Replies
Mission Specialist
Mission Specialist
  • 498 Views

Re: Ansible Prerequisite

Jump to solution

For the Ansible course I'd say there's no real prior knowledge required but it would be highly suggested to know the material from the RHCSA as it would make more sense on the things you where doing. If you know Redhat administration pretty well you're good. On the DevOps side of things you need to know nothing, just heads up without someone working through this with you expect to run into errors and try to figure out the problem with the playbooks. It mostly will be spacing errors or using a tab instead of a space. Once you get through that you'll be set expect it to take a few weeks of hard studying to get through it.

Reply
Loading...
Mission Specialist
Mission Specialist
  • 493 Views

Re: Ansible Prerequisite

Jump to solution

Am already RHCSA certfied..

0 Kudos
Reply
Loading...
Moderator
Moderator
  • 422 Views

Re: Ansible Prerequisite

Jump to solution

I highly suggest being familiar with VIM and creating a good VIMRC. When teaching and delivering Ansible courses, the thing I find causes students the most grief is horizontal spacing and alignment in the Ansible playbook files (YAML) as this is very sensitive to spacing and you definitely don't want to have tabs in there.

Here is the line I use in my VIMRC

[student@workstation ~]$ cat .vimrc
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 ai et cuc colorcolumn=3,5,7,9,11

 

Sometimes all the vertical colored column guides can get confusing, so I can turn them off using VIM in command mode and issue ...

:set colorcolumn=

which will disable the color columns for that session of VIM.

 

 

Travis Michette, RHCA X
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training

View solution in original post

Reply
Loading...
Starfighter Starfighter
Starfighter
  • 401 Views

Re: Ansible Prerequisite

Jump to solution

I throw nu into my .vimrc there as well -- to turn on line numbering.

Program Lead at Arizona's first Red Hat Academy, est. 2005
Estrella Mountain Community College
0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.