diff --git a/playbooks/sync_all.yaml b/playbooks/sync_all.yaml index e859afe..bc63f8a 100644 --- a/playbooks/sync_all.yaml +++ b/playbooks/sync_all.yaml @@ -8,6 +8,8 @@ name: - sqlite3 state: present + become: true + when: inventory_hostname == destination_server - include_tasks: stop_containers.yaml name: Stop Containers when: inventory_hostname == destination_server