mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-23 05:01:04 +01:00
18 lines
525 B
YAML
18 lines
525 B
YAML
- 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
|
|
notify: reload storage-optimizer service
|
|
|
|
- name: create storage-optimizer.py
|
|
template:
|
|
src: storage-optimizer.py.j2
|
|
dest: "{{storage_optimizer_script}}"
|
|
mode: 0755
|
|
notify: reload storage-optimizer service |