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

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

Ansible安裝

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

Ansible Installation

Packages

ansible-core

a minimalist language and runtime package

ansible

a much larger “batteries included” package

Version

2021 2-4:ansible-core 2.11

2021 1-6: Ansible 4.0

2021 9-11: ansible-core 2.12

2021 4-12: Ansible 5.0

2022 3-5: ansible-core 2.13

2022 3-7: Ansible 6.0

2022 9-11: ansible-core 2.14

2022 9-12: Ansible 7.0


Requirements

Control Node

UNIX-like OS

Red Hat

Debian

Ubuntu

macOS

BSDs ( Berkeley Software Distribution )

Windows with WSL ( Windows Subsystem for Linux )

>= Python 3.9 (for ansible-core 2.14)

Managed Node

>= Python 2.7 or Python 3.5 (for ansible-core 2.14)

User account for SSH

https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html


Install by apt

sudo apt install ansible

sudo apt upgrade ansible

Confirm

which ansible

/usr/bin/ansible

ansible --version

ansible 2.9.6 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jiali/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/dist-packages/ansible executable location = /usr/bin/ansible python version = 3.8.10 (default, Mar 13 2023, 10:26:41) [GCC 9.4.0


Install by pip

pip

sudo apt install python3-pip

which pip

/usr/bin/pip

pip --version

pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

python3 -m pip install [--user] ansible-core==X.X.X

python3 -m pip install [--user] ansible==6.7.0

python3 -m pip install --upgrade [--user] ansible

Confirm

python3 -m pip show ansible

python3 -m pip show ansible Name: ansible Version: 6.7.0 Summary: Radically simple IT automation Home-page: https://ansible.com/ Author: Ansible, Inc. Author-email: info@ansible.com License: GPLv3+ Location: /home/jiali/.local/lib/python3.8/site-packages Requires: ansible-core Required-by:

ansible --version

ansible --version ansible [core 2.13.8] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jiali/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/jiali/.local/lib/python3.8/site-packages/ansible ansible collection location = /home/jiali/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible python version = 3.8.10 (default, Mar 13 2023, 10:26:41) [GCC 9.4.0] jinja version = 3.1.2 libyaml = True

which ansible

/usr/bin/ansible

ls -l /usr/bin/ansible

/usr/bin/ansible -> ../lib/python3/dist-packages/ansible/cli/scripts/ansible_cli_stub.py



Ansible安裝的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國家法律
禄劝| 聂荣县| 贵德县| 通海县| 开阳县| 扎兰屯市| 会昌县| 镇雄县| 友谊县| 清流县| 平度市| 崇明县| 冷水江市| 贺州市| 台州市| 东阳市| 浦城县| 兰考县| 资源县| 曲松县| 高台县| 常德市| 琼结县| 华安县| 姚安县| 来凤县| 荣昌县| 阿合奇县| 石林| 南皮县| 汉中市| 太康县| 宜丰县| 兴业县| 渭源县| 西城区| 吉木乃县| 张家口市| 修武县| 巴彦县| 余庆县|