我尝试在我的剧本中通过 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 ×1