diff --git a/backup-size-log.yml b/backup-size-log.yml index db22337..82a4fa3 100644 --- a/backup-size-log.yml +++ b/backup-size-log.yml @@ -1,15 +1,15 @@ # Get size of Hetzner backup space contents and log it into InfluxDB # Collect hosts with backup_size_logging=true into an ephemeral inventory group -- hosts: monitored +- hosts: all gather_facts: no tasks: - group_by: key: backup_size_logger when: backup_size_logging | default(False) # Now apply the actual role to that group - hosts: backup_size_logger roles: - backup-size-logger