mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
26 lines
655 B
YAML
26 lines
655 B
YAML
---
|
|
- name: DEPLOY -> monitor
|
|
hosts: db
|
|
gather_facts: false
|
|
vars_files:
|
|
- ../env_vars/base.yml
|
|
|
|
tasks:
|
|
- name: Update Sentry release
|
|
connection: local
|
|
shell: >
|
|
curl {{ sentry_monitor_release_webhook }}/ \
|
|
-X POST \
|
|
-H 'Content-Type: application/json' \
|
|
-d '{"version": "{{ lookup('pipe', 'date "+%Y-%m-%d %H:%M:%S"') }}"}'
|
|
|
|
- name: Pull newsblur_web github
|
|
git:
|
|
repo: https://github.com/samuelclay/NewsBlur.git
|
|
dest: /srv/newsblur/
|
|
version: master
|
|
register: pulled
|
|
|
|
- name: Reload monitor
|
|
become: yes
|
|
command: "docker restart monitor"
|