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

歡迎光臨散文網(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中的變量的評論 (共 條)

分享到微博請遵守國家法律
宣汉县| 喀什市| 通海县| 广河县| 嫩江县| 梨树县| 宜兰县| 青川县| 调兵山市| 扶绥县| 改则县| 永定县| 台南县| 东丰县| 红河县| 全椒县| 深泽县| 彰化县| 南部县| 合阳县| 白沙| 闽清县| 土默特右旗| 拉孜县| 潍坊市| 商丘市| 赤城县| 林西县| 高淳县| 定陶县| 苗栗县| 邹城市| 义乌市| 浦城县| 新昌县| 海兴县| 玛纳斯县| 蓝山县| 林州市| 晋宁县| 三门峡市|