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(awscliv2.zip) to s3 bucket but it fails with below error

*""msg": "Local object for PUT does not exist"*


playbook looks like below:


*---*

*- hosts: xyz*

*   remote_user: root*

*   tasks: *

*  - name: upload to s3 bucket 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 file path in the 
host in which I run the playbook)*

*       mode: put*

       


hope to get some hlp and learn ansible, thx alot 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/46d38a91-39be-42e7-b527-edff9b15cf34%40googlegroups.com.

Reply via email to