DCD-1089: The systemd installation location depends on the OS.

This commit is contained in:
Steve Smith
2020-08-28 13:07:56 +10:00
parent 5bae465412
commit 657efb77ab
8 changed files with 24 additions and 7 deletions

View File

@@ -12,8 +12,11 @@
pre_tasks:
- name: Create systemd dir if necessary
file:
path: '/usr/lib/systemd/system/'
path: "{{ item }}"
state: directory
with_items:
- '/usr/lib/systemd/system/'
- '/lib/systemd/system/'
roles:
- role: product_startup