Skip to content

Commit

Permalink
Merge pull request #1866 from zexi/ansible-ver
Browse files Browse the repository at this point in the history
fix: specify ansible version
  • Loading branch information
zexi committed Dec 7, 2023
2 parents d9026a0 + fa56d08 commit a96ea02
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 12 deletions.
12 changes: 8 additions & 4 deletions content/zh/docs/quickstart/allinone-full.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ description: >
# 本地安装 ansible 和 git
$ yum install -y epel-release git python3-pip
$ python3 -m pip install --upgrade pip setuptools wheel
$ python3 -m pip install --upgrade ansible
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
```
{{% /tab %}}

Expand All @@ -50,7 +51,8 @@ $ python3 -m pip install --upgrade ansible
# 本地安装 ansible 和 git
$ yum install -y git python3-pip
$ python3 -m pip install --upgrade pip setuptools wheel
$ python3 -m pip install --upgrade ansible
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
```
{{% /tab %}}

Expand All @@ -71,7 +73,8 @@ fi
# 本地安装 ansible 和 git
$ apt install -y git python3-pip
$ python3 -m pip install --upgrade pip setuptools wheel
$ python3 -m pip install --upgrade ansible
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
```
备注:已知在`debian 11`环境,如果`/proc/cmdline`里找不到启动选项 `systemd.unified_cgroup_hierarchy=0`,ocboot会自动配置相关的`GRUB`选项,重建启动参数,并重启操作系统,以便 `k8s` 能够正常启动。

Expand All @@ -81,7 +84,8 @@ $ python3 -m pip install --upgrade ansible
```bash
# 本地安装 ansible
$ python3 -m pip install --upgrade pip setuptools wheel
$ python3 -m pip install --upgrade ansible
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
```
{{% /tab %}}

Expand Down
12 changes: 8 additions & 4 deletions content/zh/docs/quickstart/allinone-virt.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ description: >
# 本地安装 ansible 和 git
$ yum install -y epel-release git python3-pip
$ python3 -m pip install --upgrade pip setuptools wheel
$ python3 -m pip install --upgrade ansible
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
```
{{% /tab %}}

Expand All @@ -48,7 +49,8 @@ $ python3 -m pip install --upgrade ansible
# 本地安装 ansible 和 git
$ yum install -y git python3-pip
$ python3 -m pip install --upgrade pip setuptools wheel
$ python3 -m pip install --upgrade ansible
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
```
{{% /tab %}}

Expand All @@ -69,7 +71,8 @@ fi
# 本地安装 ansible 和 git
$ apt install -y git python3-pip
$ python3 -m pip install --upgrade pip setuptools wheel
$ python3 -m pip install --upgrade ansible
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
```
备注:已知在`debian 11`环境,如果`/proc/cmdline`里找不到启动选项 `systemd.unified_cgroup_hierarchy=0`,ocboot会自动配置相关的`GRUB`选项,重建启动参数,并重启操作系统,以便 `k8s` 能够正常启动。

Expand All @@ -79,7 +82,8 @@ $ python3 -m pip install --upgrade ansible
```bash
# 本地安装 ansible
$ python3 -m pip install --upgrade pip setuptools wheel
$ python3 -m pip install --upgrade ansible
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
```
{{% /tab %}}

Expand Down
12 changes: 8 additions & 4 deletions content/zh/docs/quickstart/cmp/allinone-multicloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ description: >
# 本地安装 ansible 和 git
$ yum install -y epel-release git python3-pip
$ python3 -m pip install --upgrade pip setuptools wheel
$ python3 -m pip install --upgrade ansible
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
```
{{% /tab %}}

Expand All @@ -48,7 +49,8 @@ $ python3 -m pip install --upgrade ansible
# 本地安装 ansible 和 git
$ yum install -y git python3-pip
$ python3 -m pip install --upgrade pip setuptools wheel
$ python3 -m pip install --upgrade ansible
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
```
{{% /tab %}}

Expand All @@ -69,7 +71,8 @@ fi
# 本地安装 ansible 和 git
$ apt install -y git python3-pip
$ python3 -m pip install --upgrade pip setuptools wheel
$ python3 -m pip install --upgrade ansible
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
```
备注:已知在`debian 11`环境,如果`/proc/cmdline`里找不到启动选项 `systemd.unified_cgroup_hierarchy=0`,ocboot会自动配置相关的`GRUB`选项,重建启动参数,并重启操作系统,以便 `k8s` 能够正常启动。

Expand All @@ -79,7 +82,8 @@ $ python3 -m pip install --upgrade ansible
```bash
# 本地安装 ansible
$ python3 -m pip install --upgrade pip setuptools wheel
$ python3 -m pip install --upgrade ansible
# 注意:请保留下面命令里的引号
$ python3 -m pip install 'ansible<=9.0.0'
```
{{% /tab %}}

Expand Down

0 comments on commit a96ea02

Please sign in to comment.