小编dan*_*aso的帖子

Ansible-Playbook:错误消息“无法找到任何要使用的 pip3。需要安装 pip”

我尝试在我的剧本中通过 ansible 安装 boto3。

我试图在我的主机上创建一个新用户。

- name: "test user"
  hosts: test
  tasks:
   - name: "install boto3"
      pip:
        name: boto3
        executable: pip3
Run Code Online (Sandbox Code Playgroud)

我收到了这条消息:

{"changed": false, "msg": "Unable to find any of pip3 to use.  pip needs to be installed."}
Run Code Online (Sandbox Code Playgroud)

ansible

5
推荐指数
2
解决办法
9407
查看次数

标签 统计

ansible ×1