Localadmin Usermanagement

This role creates a local admin user named spadmin, for unpersonal SUDO authentication for example in Snap Store.

Requirements

No requirements.

Role Variables

In Inventory/hosts: - spadmin_is_configured: true / false (==> Either enables or disables the role) - spadmin_email: type in the e-mail address of the receipient of the email (Currently disabled)

Dependencies

No dependencies.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: all
  roles:
     - local_admin_is_configured: false


  mavt-asl-n114l:
   remove_snaps: false
   local_admin_is_configured: true
   spadmin_email: sromagnoli@ethz.ch
   sudo_localgroup_sudo_is_enabled: true
   sudo_users_in_localgroup_sudo: micharin, spadmin

License

BSD

Author Information

An optional section for the role authors to include contact information, or a website (HTML is not allowed).