Hi.

I'm using aws_s3(upgraded recently early we were using s3 as we are on 
ansible 2.3), I'm getting error :  raise self._exception\nIOError: [Errno 
2] No such file or directory: 
'/var/lib/awx/builds/consumer_applications/xxxx.tgz.F51acB96 (xxx is 
deployment file stroed in our S3 Bucket which I wanted to download and 
deploy into our web server)

our S3 Module :

- aws_s3:
    aws_access_key: "{{ aws_access_key }}"
    aws_secret_key: "{{ aws_secret_key }}"
    bucket: "livebuzz-builds"
    region: "eu-west-1"
    object: "/{{ git_repo }}/{{ git_branch|regex_replace('/', '__') 
}}.tar.gz"
    dest: "{{ consumer_build_dir }}.tgz"
    mode: get

I checked Consumer_build _dir exists with write permission for user awx and 
also file in S3 exists which we are trying to download to deploy. Can you 
see any error in above config or we missing anything which is causing above 
error. Our ansible Version as follows.

ansible 2.8.2
  config file = None
  configured module search path = [u'/root/.ansible/plugins/modules', 
u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /bin/ansible
  python version = 2.7.5 (default, Jun 20 2019, 20:27:34) [GCC 4.8.5 
20150623 (Red Hat 4.8.5-36)


Regards
Kalyan.


-- 
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/ff848f5b-248b-4476-a190-fa78926d64d4%40googlegroups.com.

Reply via email to