Tweak to watchtower command line. use existing defined email address

Removed whitespace from watchtower.yml
This commit is contained in:
Craig Jarvis 2018-12-29 12:30:44 +11:00
parent 8e4e399f8b
commit a647fbdad4
2 changed files with 2 additions and 3 deletions

View file

@ -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'"

View file

@ -10,5 +10,4 @@
TZ: "{{ ansible_nas_timezone }}"
command: "{{ watchtower_command }}"
restart_policy: unless-stopped
memory: 1g
memory: 1g