koschei: ensure systemd conf dirs exist before installing conf files
This commit is contained in:
parent
137ca52f1e
commit
64fa3aa428
1 changed files with 17 additions and 0 deletions
|
@ -21,6 +21,22 @@
|
|||
- koschei
|
||||
- packages
|
||||
|
||||
- name: create systemd config directories
|
||||
file: >
|
||||
path="/etc/systemd/system/{{ item }}.service.d"
|
||||
state=directory
|
||||
with_items:
|
||||
- koschei-polling
|
||||
- koschei-resolver
|
||||
- koschei-scheduler
|
||||
- koschei-watcher
|
||||
notify:
|
||||
- reload systemd
|
||||
tags:
|
||||
- koschei
|
||||
- config
|
||||
- service
|
||||
|
||||
- name: install systemd config files
|
||||
copy: >
|
||||
src=systemd-memory-limit.conf
|
||||
|
@ -31,6 +47,7 @@
|
|||
tags:
|
||||
- koschei
|
||||
- config
|
||||
- service
|
||||
|
||||
- name: install config files
|
||||
when: env == "staging"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue