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

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

Ansible配置

2023-03-25 13:14 作者:每天輸出五分鐘  | 我要投稿


Ansible Configuration

Precedence from lowest to highest

Configuration File

Find the first ‘a(chǎn)nsible.cfg’ in these locations in order:

Environment Variable: ANSIBLE_CONFIG

Current Directory

Home Directory ~/

/etc/ansible

Generate a sample file

ansible-config init --disabled > ansible.cfg

ansible-config init --disabled -t all > ansible.cfg

includes existing plugins

Environment Variables

Command-line options

Commands

ansible

ansible-config

ansible-console

ansible-doc

ansible-galaxy

ansible-inventory

ansible-playbook

ansible-pull

ansible-vault

Options

Help

ansible -h

ansible-playbook -h

... ...

For option that accepts only a single value, the last one wins

Eg:

ansible -m ping myhost -u mike -u carol

ansible -m ping myhost -u carol

For option that allow multiple values, append all

Eg:

ansible -i /path/inventory1 -i /path/inventory2 -m ping all

Playbook keywords

Eg, connection

Variables (Connection variables)

Set the specifics on how to execute actions on a target

ansible_become_user

ansible_connection

ansible_host

ansible_python_interpreter

ansible_user

Define

In inventory

In playbooks

Using extra variables at the command line

-e or --extra-vars

ansible -u carol -e 'ansible_user=brian' -a whoami all

brian



Ansible配置的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
萝北县| 陵水| 辰溪县| 霞浦县| 牙克石市| 神木县| 平果县| 鹤壁市| 双鸭山市| 龙井市| 广汉市| 吉隆县| 石景山区| 深泽县| 隆尧县| 博客| 临夏县| 天水市| 大姚县| 深圳市| 东光县| 叶城县| 慈利县| 泗阳县| 唐山市| 芜湖县| 台南县| 易门县| 信丰县| 仙居县| 湘阴县| 阜新市| 白水县| 杭锦后旗| 巨野县| 万源市| 阿鲁科尔沁旗| 城口县| 平阳县| 晋宁县| 正定县|