--- - name: logrotate - set backlog lineinfile: path: /etc/logrotate.conf regexp: '^rotate ' line: 'rotate 52'