---
- hosts: all
name: Load variables
tasks:
- name: Load user variables
include_vars:
file: users.yml
name: Prompt for variables
vars_prompt:
- name: "generate_keys"
prompt: "Generate SSH keypair for new users?"
default: yes
when: generate_keys is not defined
- name: "enable_sudo_password"
prompt: "Require user password when running sudo commands?"
when: enable_sudo_password is not defined
- name: "disable_gnome_user_list"
prompt: "Disable the GNOME user list?"
when: disable_gnome_user_list is not defined