Skip to content

Instantly share code, notes, and snippets.

@subzero79
Created January 2, 2017 01:06
Show Gist options
  • Save subzero79/b38c780443f714159b624957fdd1f4d6 to your computer and use it in GitHub Desktop.
Save subzero79/b38c780443f714159b624957fdd1f4d6 to your computer and use it in GitHub Desktop.
templates:
GMail:
email:
from: '{{ secrets.email.from }}'
to: '{{ secrets.email.to }}'
smtp_host: smtp.gmail.com
smtp_port: 587
smtp_username: '{{ secrets.email.smtp_username }}'
smtp_password: '{{ secrets.email.smtp_password }}'
smtp_tls: yes
html: yes
file_template: task/html
templates:
GMail:
notify_task:
to:
- email:
to: '{{ secrets.email.to }}'
from: '{{ secrets.email.from }}'
smtp_host: smtp.gmail.com
smtp_port: 587
smtp_username: '{{ secrets.email.smtp_username }}'
smtp_password: '{{ secrets.email.smtp_password }}'
smtp_tls: yes
html: yes
file_template: task/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment