Compare commits

..

No commits in common. "879850373ecfc947e292ce28e43d5a57350a5f87" and "60b585f306c19e7efba346d3cf20c4304b04aa2d" have entirely different histories.

4 changed files with 1 additions and 33 deletions

View file

@ -1,15 +0,0 @@
if [[ "$UID" -gt 10000 ]] && [[ ! -f ~/.config/codeblocks/default.conf ]] ; then
mkdir -p ~/.config/codeblocks
cat <<EOF > ~/.config/codeblocks/default.conf
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocksConfig version="1">
<editor>
<FONT>
<str>
<![CDATA[Monospace 18]]>
</str>
</FONT>
</editor>
</CodeBlocksConfig>
EOF
fi

View file

@ -156,11 +156,6 @@
dest: /etc/profile.d/
mode: '0644'
- name: Copy codeblocks config scripts
ansible.builtin.copy:
src: lmn-codeblocks.sh
dest: /etc/profile.d/
mode: '0644'
- name: Copy fvs-config.js to configure plasma
ansible.builtin.copy:
@ -193,15 +188,6 @@
action/switch_user=false
#action/lock_screen=false
- name: Configure NumLock ON
ansible.builtin.blockinfile:
path: /etc/xdg/kcminputrc
create: true
mode: '0644'
block: |
[Keyboard]
NumLock=0
- name: Start with empty session by default
ansible.builtin.copy:
dest: /etc/xdg/ksmserverrc

View file

@ -52,11 +52,10 @@
- name: Append teacherPC to exam_destination_allowed_ipv4 addresses
ansible.builtin.set_fact:
exam_destination_allowed_ipv4: "{{ exam_destination_allowed_ipv4 + (exam_teacherpc_ips | default([ ansible_default_ipv4.address.rsplit('.', 1)[0] ~ '.' ~ exam_teacherpc_last_digit ])) }}"
exam_destination_allowed_ipv4: "{{ exam_destination_allowed_ipv4 + [ ansible_default_ipv4.address[:-1] ~ exam_teacherpc_last_digit ] }}"
when:
- exam_destination_allowed_ipv4 is defined
- exam_destination_allowed_ipv4 | length > 0
- exam_teacherpc_ips is defined or exam_teacherpc_last_digit | default('') | string | length > 0
- name: Install no-way-out-policy
ansible.builtin.template:

View file

@ -9,9 +9,7 @@ ad_domain = {{ domain }}
id_provider = ad
access_provider = ad
use_fully_qualified_names = False
{% if localhome is defined and localhome %}
cache_credentials = True
{% endif %}
krb5_store_password_if_offline = True
default_shell = /usr/bin/bash
# default: # ldap_id_mapping = True