Skip to content
Snippets Groups Projects
Commit bb8d3386 authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

Do not install and enable smart on hcloud

parent d22786e4
No related branches found
No related tags found
No related merge requests found
......@@ -11,9 +11,11 @@
- name: install smart
pacman: name=smartmontools state=present
when: "'hcloud' not in group_names"
- name: start and enable smart
service: name=smartd enabled={{"no" if 'hcloud' in group_names else "yes"}} state={{"stopped" if 'hcloud' in group_names else "started"}}
service: name=smartd enabled="yes" state="started"
when: "'hcloud' not in group_names"
- name: install mlocate
pacman: name=mlocate state=present
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment