ypid.linuxmuster_net_client default variables

Client software packages

linuxmuster_net_client__packages_preset

List of preset "global" packages provided by this role to install. If you want to start of with an empty preset, you can set:

linuxmuster_net_client__packages_preset: []

in your inventory. Refer to the README and the ./vars/ directory of the role for details.

linuxmuster_net_client__packages_preset: |
  {{
    (linuxmuster_net_client__packages_preset_ypid|d([]) | list) +
    []
  }}
linuxmuster_net_client__packages

List of additional "global" packages to install.

linuxmuster_net_client__packages: []
linuxmuster_net_client__group_packages

List of packages for a group of hosts (only one group supported).

linuxmuster_net_client__group_packages: []
linuxmuster_net_client__packages_preset_absent

List of preset "global" packages provided by this role to ensure that they are absent/removed. If you want to start of with an empty preset, you can set:

linuxmuster_net_client__packages_preset_absent: []

in your inventory.

linuxmuster_net_client__packages_preset_absent: |
  {{
    (linuxmuster_net_client__packages_preset_ypid_absent|d([]) | list) +
    []
  }}
linuxmuster_net_client__packages_absent

List of additional "global" packages to remove.

linuxmuster_net_client__packages_absent: []
linuxmuster_net_client__group_packages_absent

List of packages for a group of hosts (only one group supported) remove.

linuxmuster_net_client__group_packages_absent: []

Linuxmuster.net user settings

linuxmuster_net_client__template_user

User name of the user which acts as template for teachers and students.

linuxmuster_net_client__template_user: 'linuxadmin'

Manage local user for offline usage

Work in progress: TODO: Test on fresh system. Create user.

Testing: Don’t allow any internet access for local user: iptables -A OUTPUT -m owner --uid-owner localuser -j REJECT

linuxmuster_net_client__local_user_enabled

Should a local user for students and teachers be created on the clients? This user can be used if the client has been booted without network where normal login does not work.

linuxmuster_net_client__local_user_enabled: False
linuxmuster_net_client__local_user_name

Unix user name to configure.

linuxmuster_net_client__local_user_name: 'localuser'
linuxmuster_net_client__local_user_script_filepath

File path of the sync_localuser script which resets the settings of the local user with those of the template user. If management of the local user is enabled by linuxmuster_net_client__local_user_enabled, this script will be invoked on each reboot.

linuxmuster_net_client__local_user_script_filepath: '/usr/local/bin/sync_localuser'
linuxmuster_net_client__local_user_directories

List of directories to create in the home directory of the local user.

linuxmuster_net_client__local_user_directories:
  - 'Dokumente_tmp'

Linuxmuster.net client configuration

FIXME: More documentation/rework of this section needed.

linuxmuster_net_client__copy_custom_config_etc

Configure the client by copying role provided configuration files to /etc.

linuxmuster_net_client__copy_custom_config_etc: False
linuxmuster_net_client__etc_delete_sync

FIXME: Is this needed? Directory paths on the client which should by configured by configuration provided by this role.

Warning

Note that this overwrite or delete all files below the given directory paths.

To enable this for certain directory paths, take a look at this example:

linuxmuster_net_client__etc_delete_sync:
  - '/etc/linuxmuster-client/pre-mount.d'
  - '/etc/linuxmuster-client/post-mount.d'

By default, this option is disabled.

linuxmuster_net_client__etc_delete_sync: []

Client auto shutdown

Allows to shutdown clients at a specific time when no user is logged in. Logged in users are given the choice if they are ok with the scheduled shutdown or if they want to continue. If no answer is given, the client is going to shutdown after 2 minutes.

linuxmuster_net_client__auto_shutdown_enabled

Should client auto shutdown be enabled for the times configured by linuxmuster_net_client__auto_shutdown_time?

linuxmuster_net_client__auto_shutdown_enabled: True
linuxmuster_net_client__auto_shutdown_time

Cron entries to perform the auto shutdown.

linuxmuster_net_client__auto_shutdown_time:
  - { hour: '17', minute: '15'}
  - { hour: '20' }
  - { hour: '00' }

Additional scripts

linuxmuster_net_client__additional_scripts_state

Default state for additional scripts provided by this role.

linuxmuster_net_client__additional_scripts_state: 'present'