2023-07-20 19:03:45 +05:30
|
|
|
---
|
|
|
|
- name: Hourly Restarts (ALL NODES)
|
2023-09-14 14:42:16 +05:30
|
|
|
hosts: privfrontends
|
2023-07-20 19:03:45 +05:30
|
|
|
vars:
|
|
|
|
services:
|
|
|
|
- invidious-invidious-1
|
|
|
|
- breezewiki
|
2024-01-10 21:36:39 +05:30
|
|
|
- anonymousoverflow
|
|
|
|
- mozhi
|
|
|
|
- redlib
|
2023-07-20 19:03:45 +05:30
|
|
|
- teddit
|
2024-01-10 21:36:39 +05:30
|
|
|
- nitter
|
2024-11-03 17:41:08 +05:30
|
|
|
- rimgo
|
2023-07-20 19:03:45 +05:30
|
|
|
tasks:
|
|
|
|
- name: Do thing
|
2023-07-20 19:11:47 +05:30
|
|
|
ansible.builtin.command: docker restart {{ item }}
|
2023-07-20 19:03:45 +05:30
|
|
|
register: out
|
|
|
|
changed_when: out.rc != 0
|
2023-07-20 19:11:47 +05:30
|
|
|
with_items: "{{ services }}"
|