Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
e74b9e1d
Commit
e74b9e1d
authored
Oct 10, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add .gitdir
parent
b505a379
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
docsite/rst/modules/.gitdir
+0
-0
docsite/searchindex.js
+0
-0
library/mail
+3
-3
No files found.
docsite/rst/modules/.gitdir
0 → 100644
View file @
e74b9e1d
docsite/searchindex.js
View file @
e74b9e1d
This diff is collapsed.
Click to expand it.
library/mail
View file @
e74b9e1d
...
...
@@ -18,14 +18,14 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
DOCUMENTATION
=
'''
DOCUMENTATION
=
"""
---
author: Dag Wieers
module: email
short_description: Send an email
description:
- This module is useful for sending emails from playbooks.
- One may wonder why automate sending emails
?
In complex environments
- One may wonder why automate sending emails
?
In complex environments
there are from time to time processes that cannot be automated, either
because you lack the authority to make it so, or because not everyone
agrees to a common approach.
...
...
@@ -72,7 +72,7 @@ options:
examples:
- description: "Example playbook sending mail to root"
code: local_action: mail msg="System ${ansible_hostname} has been sucessfully provisioned."
'''
"""
import
smtplib
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment