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.
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.
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.
Am already RHCSA certfied..
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.
I throw nu into my .vimrc there as well -- to turn on line numbering.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.