fix syntax

This commit is contained in:
Arya 2023-07-20 19:11:47 +05:30
parent d1740f919b
commit 611335d740
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -6,10 +6,10 @@
- invidious-invidious-1 - invidious-invidious-1
tasks: tasks:
- name: Do thing - name: Do thing
ansible.builtin.command: docker restart {{item}} ansible.builtin.command: docker restart {{ item }}
register: out register: out
changed_when: out.rc != 0 changed_when: out.rc != 0
with_items: services with_items: "{{ services }}"
- name: Hourly Restarts (SOLEIL+REST) - name: Hourly Restarts (SOLEIL+REST)
hosts: docker,us,in hosts: docker,us,in
vars: vars:
@ -20,10 +20,10 @@
- scribe - scribe
tasks: tasks:
- name: Do thing - name: Do thing
ansible.builtin.command: docker restart {{item}} ansible.builtin.command: docker restart {{ item }}
register: out register: out
changed_when: out.rc != 0 changed_when: out.rc != 0
with_items: services with_items: "{{ services }}"
- name: Hourly Restarts (PIZZA+REST) - name: Hourly Restarts (PIZZA+REST)
hosts: privfrontends hosts: privfrontends
vars: vars:
@ -32,7 +32,7 @@
- teddit - teddit
tasks: tasks:
- name: Do thing - name: Do thing
ansible.builtin.command: docker restart {{item}} ansible.builtin.command: docker restart {{ item }}
register: out register: out
changed_when: out.rc != 0 changed_when: out.rc != 0
with_items: services with_items: "{{ services }}"