Commit 6ed5a787 authored by Jürgen Haas's avatar Jürgen Haas

Include role gcloud in general farm playbook

parent cd2d8846
......@@ -21,8 +21,8 @@
weekday={{ item.weekday|default(omit) }}
hour={{ item.hour|default('1') }}
minute={{ item.minute|default('0') }}
job='gsutil -m rsync -e -r {{ item.source }} gs://{{ item.bucket }}/ >>/var/log/gcloud.log'
job='gsutil -m rsync -e -r {{ item.source }} gs://{{ item.bucket }}/ >>/var/log/gcloud.log 2>&1'
with_items: '{{ gcloud_sync|default([]) }}'
tags: 'cron'
when: '"gcloud" not in excluded_roles'
when: '"gcloud" not in excluded_roles and gcloud_sync is defined'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment