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