Skip to content

Instantly share code, notes, and snippets.

View jewishmexicanguy's full-sized avatar

jewishmexicanguy

  • Cyber Concepts LLC
View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

---
- name: Create an ec2 keypair from previously generated rsa key
connection: local
ec2_key:
name: "{{ lookup('file', '/etc/hostname') }}"
key_material: "{{ lookup('file', '/home/centos/.ssh/id_rsa.pub') }}"
region: "us-east-1"
wait: true