�

I check this pip3 and python is installed, but still same error

I don’t know how to solved it.



 �

 �

 �

BR

Sandy

 �

From: [email protected] <[email protected]> On 
Behalf Of Dick Visser
Sent: Wednesday, March 25, 2020 4:02 PM
To: [email protected]
Subject: Re: [ansible-project] Re: Create AWS EFS

 �

How exactly did you install boto3?

As what user etc

 �

 �

On Wed, 25 Mar 2020 at 08:52, Sandy Hung <[email protected] 
<mailto:[email protected]> > wrote:

ansible 2.9.4

 � config file = /etc/ansible/ansible.cfg

 � configured module search path = [u'/home/ldap/.ansible/plugins/modules', 
u'/usr/share/ansible/plugins/modules']

 � ansible python module location = /usr/lib/python2.7/dist-packages/ansible

 � executable location = /usr/bin/ansible

 � python version = 2.7.17 (default, Nov � 7 2019, 10:07:09) [GCC 7.4.0]

 �


On Wednesday, March 25, 2020 at 3:07:30 PM UTC+8, Sandy Hung wrote:

Dear All:

 �

I have create efs ansible , I have install boto3 �

this is show error msg �

 �

this is my ansible

---

 �- hosts: localhost

 �  �connection: local

 �  �gather_facts: no

 �

 �  �vars_files:

 �  �  � - ec2key.yml

 �

 �  �tasks:

 �

 �  �  �  �- name: Create EFS

 �  �  �  �  �efs:

 �  �  �  �  �  �state: present

 �  �  �  �  �  �region: ap-southeast-1

 �  �  �  �  �  �name: "xxxx_efs"

 �  �  �  �  �  �tags:

 �  �  �  �  �  �  �Name: “efs_test”

 �  �  �  �  �  �targets:

 �  �  �  �  �  �  �- subnet_id: subnet-xxxxx

 �  �  �  �  �  �  �  �security_groups: sg-xxxxxxxxxxxxx

 �

 �

"The full traceback is:

WARNING: The below traceback may *not* be related to the actual failure.

 � File 
"/tmp/ansible_efs_payload_B4LtA0/ansible_efs_payload.zip/ansible/modules/cloud/amazon/efs.py",
 line 226, in <module>

 �

fatal: [localhost]: FAILED! => {

 �  � "changed": false,

 �  � "invocation": {

 �  �  �  � "module_args": {

 �  �  �  �  �  � "aws_access_key": null,

 �  �  �  �  �  � "aws_secret_key": null,

 �  �  �  �  �  � "debug_botocore_endpoint_logs": false,

 �  �  �  �  �  � "ec2_url": null,

 �  �  �  �  �  � "encrypt": false,

 �  �  �  �  �  � "id": null,

 �  �  �  �  �  � "kms_key_id": null,

 �  �  �  �  �  � "name": "abagile_efs",

 �  �  �  �  �  � "performance_mode": "general_purpose",

 �  �  �  �  �  � "profile": null,

 �  �  �  �  �  � "provisioned_throughput_in_mibps": null,

 �  �  �  �  �  � "purge_tags": true,

 �  �  �  �  �  � "region": "ap-southeast-1",

 �  �  �  �  �  � "security_token": null,

 �  �  �  �  �  � "state": "present",

 �  �  �  �  �  � "tags": {

 �  �  �  �  �  �  �  � "Name": "“efs_test”"

 �  �  �  �  �  � },

 �  �  �  �  �  � "targets": [

 �  �  �  �  �  �  �  � {

 �  �  �  �  �  �  �  �  �  � "security_groups": "sg-073c16c36bea62794",

 �  �  �  �  �  �  �  �  �  � "subnet_id": "subnet-46817120"

 �  �  �  �  �  �  �  � }

 �  �  �  �  �  � ],

 �  �  �  �  �  � "throughput_mode": null,

 �  �  �  �  �  � "validate_certs": true,

 �  �  �  �  �  � "wait": false,

 �  �  �  �  �  � "wait_timeout": 0

 �  �  �  � }

 �  � },

 �  � "msg": "boto3 required for this module"

} "

 �

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] 
<mailto:[email protected]> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1567c59f-5255-46fa-a6e2-85082e3425d9%40googlegroups.com
 
<https://groups.google.com/d/msgid/ansible-project/1567c59f-5255-46fa-a6e2-85082e3425d9%40googlegroups.com?utm_medium=email&utm_source=footer>
 .

-- 

Sent from a mobile device - please excuse the brevity, spelling and punctuation.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] 
<mailto:[email protected]> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwMgBA_TB5%2BKRnpLMrjnP20%2BPp0D0gRTfeRCZgnLCA9eMA%40mail.gmail.com
 
<https://groups.google.com/d/msgid/ansible-project/CAL8fbwMgBA_TB5%2BKRnpLMrjnP20%2BPp0D0gRTfeRCZgnLCA9eMA%40mail.gmail.com?utm_medium=email&utm_source=footer>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/00ca01d60285%2496bf6580%24c43e3080%24%40abagile.com.

Reply via email to