tuttinrete/roles/prelink-preload/tasks/main.yml

21 lines
292 B
YAML

---
# Preload
- apt:
name: preload
state: present
# Prelink
- apt:
name: prelink
state: present
- lineinfile:
path: /etc/default/prelink
regexp: "^PRELINKING=unknown"
line: "PRELINKING=yes"
- shell: /etc/cron.daily/prelink
become: yes
async: 3600
poll: 0