ansible/roles/cryptoraid/tasks/main.yml

21 lines
439 B
YAML

---
- name: alpine setup
include_tasks: alpine.yml
when: ansible_distribution == "Alpine"
- name: copy maintainance scripts
copy:
src: "bin/{{ item }}"
dest: "/usr/local/bin/{{ item }}"
mode: "755"
loop:
- "btr_defrag.sh"
- "btr_balance.sh"
- "btr_scrub.sh"
- "fs_trim.sh"
- name: copy btrbk config
copy:
src: "host_files/btrbk/{{ ansible_hostname }}/btrbk.conf"
dest: /etc/btrbk/btrbk.conf