diff options
Diffstat (limited to 'spreadspace/glt-calypso.yml')
-rw-r--r-- | spreadspace/glt-calypso.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/spreadspace/glt-calypso.yml b/spreadspace/glt-calypso.yml new file mode 100644 index 00000000..a7c08671 --- /dev/null +++ b/spreadspace/glt-calypso.yml @@ -0,0 +1,43 @@ +--- +- name: Basic Setup + hosts: glt-calypso + roles: + - role: apt-repo/base + - role: core/base + - role: core/sshd + - role: core/zsh + - role: core/ntp + - role: core/cpu-microcode + - role: apt-repo/spreadspace + - role: streaming/blackmagic/desktopvideo + - role: kubernetes/base + - role: kubernetes/standalone/base + #- role: streaming/rtmp/streamer + post_tasks: + - name: install lm-sensors and i7z + apt: + name: + - lm-sensors + - i7z + + - name: load modules for lm-sensors + vars: + sensors_modules: + - coretemp + - w83627ehf + block: + - name: load special modules for lm-sensors + loop: "{{ sensors_modules }}" + modprobe: + name: "{{ item }}" + state: present + + - name: make sure sensor modules are loaded on reboot + copy: + content: | + # Ansible managed + + {% for module in sensors_modules %} + {{ module }} + {% endfor %} + dest: /etc/modules-load.d/sensors.conf |