How to Get Hosts Information Using Ansible Playbook Tutorial | Ansible Playbook Example 2

preview_player
Показать описание
In this absible playbook example we will write a ansible tasks using a gathering facts of ansible hosts. we use ansible facts as variable and echo there value.

out ansible playbook will display hostname, date and timezone, network information, os information, kernel version and Hardware information of hosts.

Visit: Ansible tutorial

-------------------
Follow on
----------------------
# Facebook

# Google Plus

# Twitter

# Visit Website:

Рекомендации по теме
Комментарии
Автор

Awesome. I was finding this solution. To get all my nodes hostname. Thank you. Bhai. Please upload much more ansible videos in Hindi. And last request please improve sound quality . It will help u to get more subscribers. Thank you.

billbakshi
Автор

Hi friend
I have windows hosts, requirement is getting remote hostname, installed packages list, version of packages and date of remote server . The output will be saved into csv file format on managed node.... please help me with this . please share me if you have related playbooks .

lucky
Автор

How to store this information in a json format file ?

andersonsoares