runit, fix the enabling and disabling for services and tlp playbooks.
This commit is contained in:
1 parent
b4eeff4386
commit
edec84400e
2 files changed
+11
-8
No files matched your search
@@ -98,6 +98,9 @@
|
||||
when: ansible_service_mgr not in ("runit")
|
||||
|
||||
- name: Workstation | Linux | Software | TLP | Enable + Start (runit)
|
||||
shell: "ln -s {{runit_script_dir }}/tlp {{ runit_service_dir }}/tlp"
|
||||
shell: |
|
||||
if [[ ! -e {{ runit_service_dir }}/tlp ]]; then
|
||||
ln -s {{ runit_script_dir }}/tlp {{ runit_service_dir }}/tlp
|
||||
fi
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
Reference in new issue
Block a user