amazon web services - ansible ec2 ami module not working time out -
i'm trying implement playbook dealing amazon ec2
. came part want create new image( used role ), here did:
--- - debug: msg="{{ id_image }}" - ec2_ami: instance_id: "{{ id_image }}" name: azzouz wait: no region: "{{ aws_region }}" tags: project: "{{ project }}" register: image
i tried specifiy timeout
900 , it's still not working. changed wait: no
, i'm still dealing same problem, here last part of error:
... return self._sslobj.read(len)\nssl.sslerror: read operation timed out\n", "module_stdout": "", "msg": "module failure", "parsed": false}
could please me.
you don't have set wait: no
. use syntax , work.
- ec2_ami: aws_access_key: xxxxxxxxxxxxxxxxxxxxxxx aws_secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx instance_id: i-xxxxxx wait: yes name: newtest tags: name: newtest service: testservice register: instance
Comments
Post a Comment