computer-playbook/roles/storage-optimizer/tasks/main.yml

18 lines
523 B
YAML
Raw Normal View History

2024-01-10 12:13:38 +01:00
- name: "create {{storage_optimizer_directory}}"
file:
path: "{{storage_optimizer_directory}}"
state: directory
mode: 0755
- name: create storage-optimizer.cymais.service
template:
src: storage-optimizer.service.j2
dest: /etc/systemd/system/storage-optimizer.cymais.service
2024-01-10 12:46:45 +01:00
notify: start storage-optimizer service
2024-01-10 12:13:38 +01:00
- name: create storage-optimizer.py
template:
src: storage-optimizer.py.j2
dest: "{{storage_optimizer_script}}"
mode: 0755
2024-01-10 12:46:45 +01:00
notify: start storage-optimizer service