How do I copy files from my system desktop to my EC2 instance?

0 votes
I'm trying to automate the starting and terminating of an ec2 instance. The problem is I need my .pem file inside the ansible directory.

How do I copy files from my system desktop to my EC2 instance?
Mar 4 in Ansible by Adi
15 views

1 answer to this question.

0 votes

One of the ways is to upload your file on Dropbox and use the download link in the following command

wget -o <link>
answered Mar 4 by Kyraa

Related Questions In Ansible

0 votes
1 answer

How do i set multiple authorized keys to my ansible playbook?

Try this: - name: Set up multiple authorized ...READ MORE

answered Feb 11 in Ansible by John
40 views
0 votes
2 answers

How do you stop Ansible from creating .retry files in the home directory?

[defaults] ... retry_files_enabled = True # Create them ...READ MORE

answered Apr 5 in Ansible by anonymous
585 views
0 votes
1 answer

Ansible playbbok to copy files from one node to another remote node

You can create a playbook for copying ...READ MORE

answered Jan 16 in Ansible by Danica
154 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer