2 tasks

- stat: path=/var/log/apache2/access.log
  register: apache

- command: ...
  when: apache.stat.size > 5248000

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CADn%2BHsz8eXPF3oZSQyKBYYc_ii3v9xY3yGp3e8iCvLLwbX8U0w%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to