ansible/roles/adminuser/defaults/main.yml

24 lines
549 B
YAML
Raw Permalink Normal View History

2021-02-26 10:07:57 -06:00
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
# Basic user configuration
adminuser_name: admin
adminuser_comment: Administrative user
adminuser_shell: /bin/bash
# Define me to set a user password
#adminuser_password:
# SSH keys
adminuser_ssh_key_type: ed25519
adminuser_ssh_key: yes
adminuser_ssh_authorized_keys: []
adminuser_ssh_unauthorized_keys: []
# Groups
adminuser_groups: []
adminuser_groups_extra: []
adminuser_groups_append: yes
# Sudo rule
adminuser_sudo_rule: "{{ adminuser_name }} ALL=(ALL:ALL) NOPASSWD:ALL"
adminuser_sudo: yes