Sha256: 46076ccf979dad04639c5ba7e3554718e6cc2b027ef556657b7ed5dc9c62a4c5

Contents?: true

Size: 398 Bytes

Versions: 2

Compression:

Stored size: 398 Bytes

Contents

---
- name: nickhammond.logrotate | Install logrotate
  package:
    name: logrotate
    state: present
  when: logrotate_scripts is defined and logrotate_scripts|length > 0

- name: nickhammond.logrotate | Setup logrotate.d scripts
  template:
    src: logrotate.d.j2
    dest: "{{ logrotate_conf_dir }}{{ item.name }}"
  with_items: "{{ logrotate_scripts }}"
  when: logrotate_scripts is defined

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
taperole-2.1.1 vendor/nickhammond.logrotate/tasks/main.yml
taperole-2.1.0 vendor/nickhammond.logrotate/tasks/main.yml