国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(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的構建和使用的評論 (共 條)

分享到微博請遵守國家法律
高平市| 阳山县| 义乌市| 德保县| 广东省| 团风县| 山东省| 澄迈县| 伊川县| 嘉定区| 高密市| 浏阳市| 漳浦县| 郎溪县| 岳西县| 蒙城县| 清流县| 武平县| 仙游县| 巴塘县| 凌云县| 九台市| 林芝县| 昌都县| 浮山县| 高邑县| 阳春市| 新巴尔虎左旗| 哈尔滨市| 铜山县| 崇文区| 上林县| 河曲县| 罗定市| 孟连| 高雄市| 固始县| 五寨县| 木兰县| 郁南县| 安义县|