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

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

初識Ansible

2023-03-22 08:41 作者:每天輸出五分鐘  | 我要投稿

初識Ansible

Control Node

Managed Nodes

Inventory

A list of files, define the managed nodes

The default location: /etc/ansible/hosts

Format of files:

INI

YAML

Run

Use Ad-Hoc command

$ ansible [pattern] -m [module] -a "[module options]"

Eg:

$ ansible webservers -a "/sbin/reboot"

$ ansible dbservers -m ansible.builtin.copy -a "src=/etc/hosts dest=/tmp/hosts"

Use Playbooks

Create playbook file

Run Playbook

$ ansible-playbook -i inventory.yaml playbook.yaml

Output


初識Ansible的評論 (共 條)

分享到微博請遵守國家法律
兴化市| 巢湖市| 商城县| 林芝县| 胶南市| 曲阜市| 景德镇市| 绍兴市| 辽阳县| 江门市| 新田县| 枣阳市| 明水县| 津南区| 綦江县| 衡东县| 金湖县| 尖扎县| 喜德县| 青岛市| 梅州市| 平度市| 荣昌县| 清水县| 新乡市| 新源县| 济源市| 崇礼县| 宜良县| 阿拉善左旗| 和龙市| 丁青县| 梅河口市| 吴江市| 名山县| 平遥县| 怀远县| 贵港市| 靖远县| 偏关县| 郓城县|