最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

Ansible Inventory的構建和使用

2023-03-27 16:03 作者:每天輸出五分鐘  | 我要投稿

Inventory

What’s inventory?

a list of managed nodes, or hosts, that Ansible deploys and configures

Where’s inventory?

Option in config.cfg

Set file or directory name for option ‘inventory’

Environment Variable

ANSIBLE_INVENTORY

Option in command line

ansible all -m ping -i myInventory/prod.yml -i myInventory/test.yml

Target two inventory files

Inventory files must be in current directory, or use absolute path

How to build inventory?

Formats

INI

YAML

Groups

Default groups

all

ungrouped

Defined groups

Hosts in single defined group

Hosts in multiple defined groups

Parent/Children

Pattern for hosts

Add hosts as a range

numeric range

Specify a stride

alphabetic range


Ansible Inventory的構建和使用的評論 (共 條)

分享到微博請遵守國家法律
咸丰县| 连山| 图们市| 枞阳县| 石首市| 中卫市| 靖宇县| 吉水县| 德令哈市| 龙南县| 康定县| 崇明县| 湟源县| 保靖县| 呼伦贝尔市| 永春县| 徐州市| 壶关县| 九龙县| 龙海市| 翁源县| 山丹县| 琼结县| 会昌县| 化州市| 镇原县| 新安县| 九寨沟县| 东至县| 鄱阳县| 左云县| 甘肃省| 河东区| 长治县| 二连浩特市| 开平市| 如东县| 大渡口区| 永仁县| 海淀区| 东乡|