Skip to content

Config lab01 ansible #9

Merged
martinliu merged 5 commits intomainfrom
config-lab01-ansible
Apr 30, 2022
Merged

Config lab01 ansible #9
martinliu merged 5 commits intomainfrom
config-lab01-ansible

Conversation

@martinliu
Copy link
Contributor

提交最后评审。

@seanly
Copy link
Contributor

seanly commented Apr 28, 2022

可以在目录名称上添加一个工具名称比如:lab01-ansible ,这样方便识别。

Copy link
Contributor

@seanly seanly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

主要在工具安装上,需要明确演示时使用的版本。


### 1.1 在 macOS 上安装【开发环境】

下面是在操作系统版本 macOS 12.3 (21E230) 上的安装过程,其中第四个步骤需要按实际情况修改。
Copy link
Contributor

@seanly seanly Apr 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

下面的这句话 export PATH="$PATH:/Users/martinliu/Library/Python/3.8/bin" ,不同的用户路径不一样,不同的安装工具安装路径不一样,可以写一下您使用的安装工具


步骤如下:

1. 运行命令 `dnf install ansible -y`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一般我们不推荐这种安装方式,会统一 pip3 工具安装,并且锁定安装版本,因为不同版本差异还是比较大,有些语法会出现错误。

@martinliu martinliu merged commit cf8bde0 into main Apr 30, 2022
@martinliu martinliu self-assigned this May 7, 2022
@martinliu martinliu linked an issue May 24, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Ansible] 人人都可以快速上手的Ansible入门指南

2 participants

Comments