- Mastering OpenStack(Second Edition)
- Omar Khedher Chandan Dutta Chowdhury
- 149字
- 2021-07-02 23:52:47
Inventory
An inventory is a list of hosts that are managed by Ansible. The inventory list supports classifying hosts into groups. In its simplest form, an inventory can be an INI file. The groups are represented as sections on the INI file. The classification can be based on the role of the hosts or any other system management need. It is possible to have a host appearing in multiple groups in an inventory file. The following example shows a simple inventory of hosts:
logserver1.example.com
[controllers]
ctl1.example.com
ctl2.example.com
[computes]
compute1.example.com
compute2.example.com
compute3.example.com
compute[20:30].example.com
The inventory file supports special patterns to represent large groups of hosts.
Ansible expects to find the inventory file at /etc/ansible/hosts, but a custom location can be passed directly to the Ansible command line.
Ansible also supports dynamic inventories that can be generated by executing scripts or retrieved from another management system, such as a cloud platform.
- Mastering Mesos
- 大數據管理系統
- Hands-On Neural Networks with Keras
- UTM(統一威脅管理)技術概論
- 機器自動化控制器原理與應用
- 工業機器人工程應用虛擬仿真教程:MotoSim EG-VRC
- Visual Basic從初學到精通
- PostgreSQL 10 Administration Cookbook
- 運動控制系統
- PLC與變頻技術應用
- Ansible 2 Cloud Automation Cookbook
- 樂高創意機器人教程(中級 上冊 10~16歲) (青少年iCAN+創新創意實踐指導叢書)
- 網頁設計與制作
- Office 2010輕松入門
- 暗戰強人:黑客及反黑客工具快速精通