fix syntax
This commit is contained in:
parent
d1740f919b
commit
611335d740
@ -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 }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user