gantsign.lightdm

Ansible Role: LightDM

Tests Ansible Galaxy License

This role helps you set up and configure LightDM, mainly for auto-login settings and guest account logins.

Requirements

  • You need to have LightDM installed.
  • Ansible version should be 2.9 or higher.
  • It works on Linux distributions, especially those in the Debian family like Ubuntu (Bionic 18.04 and Focal 20.04). Other versions may work but are untested.

Role Variables

You can customize the role with these variables (default values are provided):

# User that should auto-login when the system starts
lightdm_autologin_user:

# Time (in seconds) to wait before auto-login happens, to allow switching users
lightdm_autologin_user_timeout: 0

# Allow users to login with the guest account
lightdm_greeter_allow_guest: no

# Where GLib schemas are stored
lightdm_glib_schemas_directory: /usr/share/glib-2.0/schemas

# Where LightDM configuration files are located
lightdm_conf_directory: /usr/share/lightdm/lightdm.conf.d

# Name of the LightDM config override file
lightdm_overide_filename: 70-ansible.conf

Dependencies

No dependencies.

Example Playbook

You can use this role like this:

- hosts: servers
  roles:
    - role: gantsign.lightdm
      lightdm_autologin_user: vagrant

More Roles From GantSign

Check out more roles from GantSign on Ansible Galaxy.

Development & Testing

This project uses Molecule for development and testing. Unit tests are done using Testinfra and pytest.

To work with or test this role, you'll need:

For easier setup, this project includes Molecule Wrapper. This shell script installs Molecule and its dependencies (excluding the Linux OS) and runs Molecule commands for you.

To test this role using Molecule Wrapper, run the following command from the project folder:

./moleculew test

Note: Some dependencies may require sudo permissions for installation.

License

MIT

Author Information

John Freeman

GantSign Ltd. Company No. 06109112 (registered in England)

Informazioni sul progetto

Role for configuring LightDM.

Installa
ansible-galaxy install gantsign.lightdm
Licenza
mit
Download
7.5k
Proprietario