Skip to content
Snippets Groups Projects
Commit 8c6d0e56 authored by Robin Sonnabend's avatar Robin Sonnabend Committed by Thomas Schneider
Browse files

Merge branch 'master' of git.fsmpi.rwth-aachen.de:infra/ansible

parents 50708e61 0ad8d41e
No related branches found
No related tags found
No related merge requests found
...@@ -108,12 +108,6 @@ ...@@ -108,12 +108,6 @@
- packages - packages
- internet - internet
- name: ensure the bird is named intuitively
file: state=link src=/usr/bin/icedove dest=/usr/bin/thunderbird
tags:
- config
- internet
- name: ensure multimedia applications are installed - name: ensure multimedia applications are installed
apt: name={{ item }} state=latest apt: name={{ item }} state=latest
with_items: with_items:
...@@ -242,6 +236,13 @@ ...@@ -242,6 +236,13 @@
- desktop - desktop
- fsmpi - fsmpi
- name: ensure we have the correct printer
template: src=lpoptions.j2 dest=/etc/cups/lpoptions owner=root group=root mode=0644
tags:
- desktop
- fsmpi
- config
# granting all users access to sound card # granting all users access to sound card
- name: grant user access to soundcard - name: grant user access to soundcard
copy: src=udev_audio-perm.rules dest=/etc/udev/rules.d/50-audio-perm.rules owner=root group=root mode=0644 copy: src=udev_audio-perm.rules dest=/etc/udev/rules.d/50-audio-perm.rules owner=root group=root mode=0644
......
{%- if inventory_hostname | regex_replace('[0-9]$', '') == "hoern" -%} {%- if inventory_hostname | regex_replace('[0-9]$', '') == "hoern" or inventory_hostname == "portal" -%}
Default Hoern_Kopierer Default Hoern_Kopierer Duplex=DuplexNoTumble
{%- else -%} {%- else -%}
{%- set number = inventory_hostname | regex_replace('^[a-z]*', '') -%} {%- set number = inventory_hostname | regex_replace('^[a-z]*', '') -%}
Default Kopierer KmManagment=MG{{ number }} Default Kopierer ColorModel=Gray Duplex=DuplexNoTumble OutputBin=MBDWN{{ number }}
Dest Backup OutputBin=MBDWN0{{ number }} KmManagment=MG{{ number }}
{%- endif -%} {%- endif -%}
---
# file: roles/guest-overlay/handlers/main.yml
- name: restart kdm
service: name=kdm state=restarted
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
- name: ensure the squasfs is created - name: ensure the squasfs is created
local_action: command mksquashfs "{{ role_path }}/files/provision" "{{ role_path }}/files/provision.squashfs" local_action: command mksquashfs "{{ role_path }}/files/provision" "{{ role_path }}/files/provision.squashfs"
run_once: True
tags: tags:
- guest-overlay - guest-overlay
- squashfs - squashfs
...@@ -58,12 +59,6 @@ ...@@ -58,12 +59,6 @@
- provision - provision
- squashfs - squashfs
#- name: ensure we have the correct printer
# template: src=lpoptions.j2 dest=/guests/provision/gast/.cups/lpoptions owner=gast group=gast mode=0750
# tags:
# - guest-overlay
# - config
- name: deployment of our pam-mount config - name: deployment of our pam-mount config
copy: src=pam_mount.conf.xml dest=/etc/security/pam_mount.conf.xml copy: src=pam_mount.conf.xml dest=/etc/security/pam_mount.conf.xml
notify: notify:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment