项目作者: milesbarry

项目描述 :
Generate a breakdown of OS and versions by inventory name
高级语言:
项目地址: git://github.com/milesbarry/get-os.git
创建时间: 2020-06-01T16:21:07Z
项目社区:https://github.com/milesbarry/get-os

开源协议:

下载


get-os

This playbook will breakdown the information about the operating system and its
version into a textfile, which will hold the name(s) of all that match the same criteria.

A sample output could you look like:

  1. OracleLinux-7.7.hosts
  2. OracleLinux-7.8.hosts
  3. OracleLinux-7.hosts
  4. RedHat-6.10.hosts
  5. RedHat-6.hosts
  6. RedHat-7.6.hosts
  7. RedHat-7.7.hosts
  8. RedHat-7.8.hosts
  9. RedHat-7.hosts
  10. Scientific-7.5.hosts
  11. Scientific-7.hosts
  12. Ubuntu-18.04.hosts
  13. Ubuntu-18.hosts

The RedHat-7.hosts would contain all the hosts contained within RedHat-7.8.hosts,
RedHat-7.7.hosts and RedHat-7.6.hosts

The same rule would apply for the Ubuntu, OracleLinux, Scientific, etc.