Verified Commit 9227825b authored by Kristian Klausen's avatar Kristian Klausen 🎉
Browse files

Revert "common: override smartd.service with ConditionVirtualization=no"

It has been applied upstream[1] and released with smartmontools 7.2[2].

[1] https://github.com/smartmontools/smartmontools/commit/61bc85ecadf9e5596b140380fed701a674e38a1b
[2] https://github.com/smartmontools/smartmontools/releases/tag/RELEASE_7_2

This reverts commit b4c97002.
parent d7d4ecbc
Pipeline #10551 passed with stage
in 34 seconds
[Unit]
ConditionVirtualization=no
......@@ -25,16 +25,8 @@
pacman: name=smartmontools state=present
when: "'hcloud' not in group_names"
# override smartd.service with ConditionVirtualization=no
# this should appear in the next upstream release, see https://github.com/smartmontools/smartmontools/issues/62
- name: create drop-in directory for smartd.service
file: path=/etc/systemd/system/smartd.service.d state=directory owner=root group=root mode=0755
- name: install drop-in snippet for smartd.service
copy: src=smartd-override.conf dest=/etc/systemd/system/smartd.service.d/override.conf owner=root group=root mode=0644
- name: start and enable smart
service: name=smartd enabled=yes state=started daemon_reload=yes
service: name=smartd enabled=yes state=started
when: "'hcloud' not in group_names"
- name: start and enable btrfs scrub timer
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment