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