Skip to content

Instantly share code, notes, and snippets.

Created July 10, 2015 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/97bfb9cf3d9e06bc08fa to your computer and use it in GitHub Desktop.
Save anonymous/97bfb9cf3d9e06bc08fa to your computer and use it in GitHub Desktop.
users:
{% set username = 'first.last' %}
{{ username }}:
fullname: {{ username }}
shell: /bin/bash
home: /home/{{ username }}
createhome: True
sudouser: True
sudo_rules:
- 'ALL=(ALL) NOPASSWD: ALL'
ssh_auth_sources:
- salt://ssh_keys/{{ username }}.id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment