mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-15 00:17:10 +00:00
Tweak to watchtower command line. use existing defined email address
Removed whitespace from watchtower.yml
This commit is contained in:
parent
8e4e399f8b
commit
a647fbdad4
2 changed files with 2 additions and 3 deletions
|
@ -333,7 +333,7 @@ watchtower_cron_schedule: 0 0 5 * * *
|
|||
watchtower_command: "--schedule '{{ watchtower_cron_schedule }}' --debug"
|
||||
|
||||
# Email notifications
|
||||
# watchtower_command: "--schedule '{{ watchtower_cron_schedule }}' --notifications 'email' --notification-email-from 'ansible@nas.com' --notification-email-to 'notifications@ansible-nas.com' --notification-email-server 'my.email.server.com' --notification-email-server-port '25' --notification-email-server-user 'email_username' --notification-email-server-password 'top-secret'"
|
||||
# watchtower_command: "--schedule '{{ watchtower_cron_schedule }}' --notifications 'email' --notification-email-from 'ansible@nas.com' --notification-email-to '{{ ansible_nas_email }}' --notification-email-server 'my.email.server.com' --notification-email-server-port '25' --notification-email-server-user 'email_username' --notification-email-server-password 'top-secret'"
|
||||
|
||||
# Slack notifications
|
||||
# watchtower_command: "--schedule '{{ watchtower_cron_schedule }}' --notifications 'slack' --notification-slack-hook-url 'https://hooks.slack.com/services/xxx/yyyyyyyyyyyyyyy' --notification-slack-identifier 'ansible-nas'"
|
|
@ -10,5 +10,4 @@
|
|||
TZ: "{{ ansible_nas_timezone }}"
|
||||
command: "{{ watchtower_command }}"
|
||||
restart_policy: unless-stopped
|
||||
memory: 1g
|
||||
|
||||
memory: 1g
|
Loading…
Reference in a new issue