Hi,


I just started using ansible for sometime now. Not sure what I'm doing 
wrong.


I already created a s3 bucket successfully and then trying to upload a file 
to s3 bucket but it fails with below error
""msg": "Local object for PUT does not exist"

playbook looks like below:

   - name: upload to abc
   aws_s3:
   bucket: abc
   object: /awscliv2.zip (I dout i'm doing something wrong here, is this 
   the dest path of s3?)
   src: /root/playbook/awscliv2.zip (src absolute path in the host in which 
   I run the playbook)
   mode: put

hope to get some hlp, thx guys!



cheers
Serin

-- 
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/3e0cfd21-164c-410c-a470-e9e186378c7e%40googlegroups.com.

Reply via email to