September 2018
Beginner to intermediate
214 pages
5h 53m
English
This module helps with the management of an EC2 key pair. It helps to create and remove keys. The following example playbook shows you how to create a key:
- name: create an EC@ key pair ec2_key: name: ansible2-key key_material: "{{ lookup('file', '/home/admin /.ssh/id_rsa') }}" state: present
Read now
Unlock full access