From b47988a8a4b58b8d24f8fb72ce9aa35db4528be1 Mon Sep 17 00:00:00 2001 From: Ahmed Hassan Date: Tue, 27 Aug 2019 12:25:52 -0400 Subject: [PATCH] Added more explanation to keypair. (#52766) * Added more explanation to keypair. +label: docsite_pr * Update ec2.py * Update ec2.py --- lib/ansible/modules/cloud/amazon/ec2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2.py b/lib/ansible/modules/cloud/amazon/ec2.py index 45a81e0cd74..a1da2795a54 100644 --- a/lib/ansible/modules/cloud/amazon/ec2.py +++ b/lib/ansible/modules/cloud/amazon/ec2.py @@ -29,7 +29,8 @@ version_added: "0.9" options: key_name: description: - - Key pair to use on the instance. + - key pair to use on the instance. The SSH key must exist on AWS in order to use this argument. If you want to generate keys from Ansible, + take a look at `ec2_key` module. aliases: ['keypair'] type: str id: