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

    2
    5



    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:

    www.linuxtopic.com

    source

    Previous articleAnsible NTP Playbook
    Next articleLINUX: automatisation de configurations des serveurs WEB et DATABASE avec Ansible.

    5 COMMENTS

    1. 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 .