Created
August 14, 2016 02:38
-
-
Save bugcy013/d9aa920c5f1329eaf4b2ac44e78d1184 to your computer and use it in GitHub Desktop.
rundeck-email notification setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /etc/rundeck/profile change | |
| -Drundeck.config.location=/etc/rundeck/rundeck-config.properties \ | |
| to | |
| -Drundeck.config.location=/etc/rundeck/rundeck-config.groovy \ | |
| and my /etc/rundeck/rundeck-config.groovy | |
| looks like: | |
| grails.serverURL="https://172.20.22.76:4443" | |
| loglevel.default = "DEBUG" | |
| rdeck.base = "/var/lib/rundeck" | |
| rss.enabled = false | |
| dataSource { | |
| dbCreate="update" | |
| url="jdbc:h2:file:/var/lib/rundeck/data/rundeckdb;MVCC=true" | |
| } | |
| grails.mail.default.from="[email protected]" | |
| grails { | |
| mail { | |
| host = "smtp.gmail.com" | |
| username = "[email protected]" | |
| port = 587 | |
| password = "mygmailpass" | |
| props = ["mail.smtp.starttls.enable":"true", "mail.smtp.port":587, "mail.smtp.auth":"true"] | |
| } | |
| } | |
| profit!!! | |
| notes: | |
| 1) after first job run it is needed to grand access in gmail, you will receive email, just follow instructions | |
| 2)grails.mail.default.from - does not work, still receive mails from: [email protected], but not from [email protected] | |
| Regards! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment