小编kav*_*ise的帖子

Ansible aws_s3 模块失败,提示 Boto3 丢失,而实际上它不是

此 Play 安装python3pip3boto3botocore,并尝试使用aws_s3模块下载文件:

TASK [run yum update -y using yum module] 
**********************************************************************
ok: [ip-10-200-2-137.us-west-2.compute.internal]

TASK [Install python3 and pip3] *************************************************************************************************
changed: [ip-10-200-2-137.us-west-2.compute.internal]

TASK [Install boto3 and botocore with pip3 module] ******************************************************************************
changed: [ip-10-200-2-137.us-west-2.compute.internal]

TASK [Create a directory if it does not exist using file module] ****************************************************************
changed: [ip-10-200-2-137.us-west-2.compute.internal]

TASK [downlod file from s3 with aws_s3 module] **********************************************************************************
fatal: [ip-10-200-2-137.us-west-2.compute.internal]: FAILED! => 
{"changed": false, "msg": "Python modules \"botocore\" or \"boto3\" 
are …
Run Code Online (Sandbox Code Playgroud)

ansible boto3

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

ansible ×1

boto3 ×1