---
- name: "check package"
  package:
    name: logrotate
    state: present