Skip to content

Instantly share code, notes, and snippets.

@jlund
Last active April 22, 2016 14:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlund/5761517 to your computer and use it in GitHub Desktop.
Save jlund/5761517 to your computer and use it in GitHub Desktop.
Ansible task to set up log rotation for Nginx and Passenger
- name: Set up log rotation for Nginx and Passenger
copy: src={{ item }}-logrotate
dest=/etc/logrotate.d/{{ item }}
with_items:
- nginx
- passenger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment