mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 04:41:26 -07:00
Add .gitdir
This commit is contained in:
parent
b505a3796c
commit
e74b9e1d34
3 changed files with 4 additions and 4 deletions
0
docsite/rst/modules/.gitdir
Normal file
0
docsite/rst/modules/.gitdir
Normal file
File diff suppressed because one or more lines are too long
|
@ -18,14 +18,14 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = """
|
||||||
---
|
---
|
||||||
author: Dag Wieers
|
author: Dag Wieers
|
||||||
module: email
|
module: email
|
||||||
short_description: Send an email
|
short_description: Send an email
|
||||||
description:
|
description:
|
||||||
- This module is useful for sending emails from playbooks.
|
- 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
|
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
|
because you lack the authority to make it so, or because not everyone
|
||||||
agrees to a common approach.
|
agrees to a common approach.
|
||||||
|
@ -72,7 +72,7 @@ options:
|
||||||
examples:
|
examples:
|
||||||
- description: "Example playbook sending mail to root"
|
- description: "Example playbook sending mail to root"
|
||||||
code: local_action: mail msg="System ${ansible_hostname} has been sucessfully provisioned."
|
code: local_action: mail msg="System ${ansible_hostname} has been sucessfully provisioned."
|
||||||
'''
|
"""
|
||||||
|
|
||||||
import smtplib
|
import smtplib
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue