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

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

Inventory中的變量

2023-03-30 15:57 作者:每天輸出五分鐘  | 我要投稿

Variables in Inventory

host variables

assign variable to one machine

group variables

apply variable to an entire group

Apply variable for groups of groups

A child group’s variables will override a parent group’s variables.

precedence

Child > Parent

parent group variables

child group variables

host variables

ASCII order, Last > Previous

variables files

File extensions

.yml .yaml. .json. or no file extension

File location

searching paths relative to the inventory file

Assuming inventory file

/etc/ansible/hosts

Variables files

/etc/ansible/host_vars/football.yml

/etc/ansible/group_vars/webservers.yml

/etc/ansible/group_vars/raleigh/db_settings

/etc/ansible/group_vars/raleigh/cluster_settings

Control how Ansible interacts with remote hosts

Host connection

General for all connections

Specific to the SSH connection

Privilege escalation

Remote host environment parameters

Non-SSH Connection


Inventory中的變量的評論 (共 條)

分享到微博請遵守國家法律
绍兴县| 濮阳市| 南漳县| 乡城县| 定州市| 玉田县| 浦江县| 金阳县| 治多县| 比如县| 尼玛县| 衡南县| 武山县| 隆安县| 农安县| 辽源市| 喀喇沁旗| 清水河县| 德州市| 理塘县| 景宁| 吴川市| 盘锦市| 务川| 大冶市| 湖州市| 阜新市| 阜阳市| 灯塔市| 启东市| 中山市| 卢龙县| 高唐县| 维西| 库伦旗| 金堂县| 全州县| 灯塔市| 抚远县| 依兰县| 吉水县|