This role installs and configures the Google 2-factor Auth PAM module for linux.
google_mfa_pkg_name
- Name of the Google Auth Pam packagegoogle_mfa_pkg_state
- Google Auth Pam package stategoogle_mfa_config_usergroup
- Group name for users you want to use Google Authgoogle_mfa_users
- List of usernames to enrollgoogle_mfa_enroll_users
- Whether to enroll users (default) or just set up mfagoogle_mfa_openssh_service_name
- OpenSSH service name
none
- hosts: servers
vars:
google_mfa_users:
- foo
- bar
roles:
- google_mfa
MIT
Role created by Ben Nugent.