patch_systemd role – Build patched version of systemd to allow numerical login

Note

This role is part of the ufrmath.computer_labs collection (version 1.0.0).

To install it use: ansible-galaxy collection install git+https://github.com/guillod/computer_labs.

To use it in a playbook, specify: ufrmath.computer_labs.patch_systemd.

Entry point main – Build patched version of systemd to allow numerical login

Synopsis

  • Original PAM module pam_systemd.so provided by libpam-systemd prevents users with purely numerical username to login through gdm;

  • Build a patched version libpam-systemd-patch of libpam-systemd on the host delegate_build_to;

  • Upload libpam-systemd-patch_*.deb to software_server custom repository;

  • Install libpam-systemd-patch corresponding to systemd version without any upgrade, which automatically uninstall libpam-systemd.

Parameters

Parameter

Comments

build_path

string

path where to build systemd

Default: "/tmp/systemd"

delegate_build_to

string

host on which to build systemd

Default: "localhost"

software_server

string

host on which to upload patched systemd

Default: "tp-server"