bugfix:TSG-8516:修改mrapm_device和mrapm_stream service由requires mrzcpd变为wants

This commit is contained in:
fumingwei
2021-11-18 16:38:58 +08:00
parent dd1177ede0
commit a90476ec80

View File

@@ -34,6 +34,15 @@
- /usr/lib/systemd/system/mrtunnat.service
- /usr/lib/systemd/system/mrzcpd.service
- name: "replace action: replace Requires to Wants"
replace:
path: "{{ item }}"
regexp: 'Requires'
replace: 'Wants'
with_items:
- /usr/lib/systemd/system/mrapm_device.service
- /usr/lib/systemd/system/mrapm_stream.service
- name: "Create /usr/lib/systemd/system/mrzcpd.service.d directory if it does not exist"
file:
path: "{{ item }}"