Taskotron: patch imagefactoryd service file so it can be enabled on boot

This commit is contained in:
František Zatloukal 2018-02-08 13:57:19 +01:00
parent 833d9e9bab
commit c1ab76cef4

View file

@ -16,6 +16,13 @@
- name: hotfix imagefactory's REST api to allow file download
copy: src=hotfix_imgfac_RESTv2.py dest=/usr/lib/python2.7/site-packages/imgfac/rest/RESTv2.py owner=root group=root mode=0644
- name: allow imagefactoryd.service to be enabled
blockinfile:
path: /usr/lib/systemd/system/imagefactoryd.service
block: |
[Install]
WantedBy=multi-user.target
- name: enable imagefactory
service: name=imagefactoryd state=started enabled=yes