Introduction
Thank you for clicking through to my arcticle. I've been a DevOps engineer for 2 years in dev-team of 7 engineers.
My name is MINSEOK, LEE, but I use Unchaptered as an alias on the interenet. So, you can call me anythings "MINSEOK, LEE" or "Unchaptered" to ask something.
Topic
Learn about the main configuration files and options in Ansible.
Prerequisites
Configuration Files
/etc/ansible/ansible.cf
The cfg file includes execution data to run ansible>
/etc/ansible/hosts
The file includes ansible hosts data.
Options
-i
(--inventory-file) : Files for hosts to be effected.-m
(--module-name) : Selected module-k
(--ask-pass) : Set to ask for a password-K
(--ask-become-pass) : Change privileges to admin--list-hosts
: List-up which hosts are effected.
Ansible's ping is actually different from Shell ping.
Ansible's ping is python built-in module, not the shell ping.