From 66569ab7259771a5ba11ffe165e8fcd9c2a700b1 Mon Sep 17 00:00:00 2001 From: Jonathan Davila Date: Mon, 16 Nov 2015 16:54:35 -0500 Subject: [PATCH] Sendgrid docs fix --- .../modules/extras/notification/sendgrid.py | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/lib/ansible/modules/extras/notification/sendgrid.py b/lib/ansible/modules/extras/notification/sendgrid.py index 2655b4248bb..1bac1e5f724 100644 --- a/lib/ansible/modules/extras/notification/sendgrid.py +++ b/lib/ansible/modules/extras/notification/sendgrid.py @@ -24,33 +24,34 @@ version_added: "2.0" module: sendgrid short_description: Sends an email with the SendGrid API description: - - Sends an email with a SendGrid account through their API, not through - the SMTP service. + - "Sends an email with a SendGrid account through their API, not through + the SMTP service." notes: - - This module is non-idempotent because it sends an email through the - external API. It is idempotent only in the case that the module fails. - - Like the other notification modules, this one requires an external + - "This module is non-idempotent because it sends an email through the + external API. It is idempotent only in the case that the module fails." + - "Like the other notification modules, this one requires an external dependency to work. In this case, you'll need an active SendGrid - account. + account." options: username: description: - username for logging into the SendGrid account + - username for logging into the SendGrid account required: true password: - description: password that corresponds to the username + description: + - password that corresponds to the username required: true from_address: description: - the address in the "from" field for the email + - the address in the "from" field for the email required: true to_addresses: description: - a list with one or more recipient email addresses + - a list with one or more recipient email addresses required: true subject: description: - the desired subject for the email + - the desired subject for the email required: true author: "Matt Makai (@makaimc)"