Remove explicit svc.name
This commit is contained in:
parent
09e886c712
commit
dbb3075c82
67 changed files with 36 additions and 87 deletions
|
@ -2,9 +2,8 @@
|
|||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
|
||||
- name: Deploy {{ svc.name }}
|
||||
- name: Deploy {{ role_name }}
|
||||
vars:
|
||||
svc: "{{ watchtower_svc }}"
|
||||
env: "{{ watchtower_env }}"
|
||||
compose: "{{ watchtower_compose }}"
|
||||
block:
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
---
|
||||
watchtower_svc:
|
||||
name: watchtower
|
||||
|
||||
watchtower_env:
|
||||
WATCHTOWER_LABEL_ENABLE: true
|
||||
WATCHTOWER_CLEANUP: true
|
||||
|
@ -11,11 +8,11 @@ watchtower_env:
|
|||
# WATCHTOWER_NO_PULL: true
|
||||
|
||||
WATCHTOWER_NOTIFICATIONS: email
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_FROM: "{{ svc.name }}@serguzim.me"
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_FROM: "watchtower@serguzim.me"
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_TO: "{{ admin_email }}"
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: "{{ mailer.host }}"
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: "{{ mailer.port }}"
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: "{{ svc.name }}@serguzim.me"
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: "watchtower@serguzim.me"
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: "{{ vault_watchtower.mailer.pass }}"
|
||||
WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 5
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue