Skip to content

Instantly share code, notes, and snippets.

@5car1z
Last active August 2, 2017 19:55
Show Gist options
  • Save 5car1z/a73a9f876baa1c59389d822146223f31 to your computer and use it in GitHub Desktop.
Save 5car1z/a73a9f876baa1c59389d822146223f31 to your computer and use it in GitHub Desktop.
YAML Server Provision Example (Standard YAML) (1).
---
provisioned_users:
- name: user-one
encrypted_password: $1$@YMgS-5Y$2lH.vkVmawJ810djjkGp70
public_keys:
- /home/$USER/.ssh/id_rsa.pub
sudo: true
adm: true
- name: user-two
encrypted_password: $1$@YMgS-5Y$2lH.vkVmawJ810djjkGp70
public_keys:
- /home/$USER/.ssh/id_rsa.pub
- /home/$USER/.ssh/id_rsa.pub
sudo: true
adm: true
- name: user-three
encrypted_password: $1$@YMgS-5Y$2lH.vkVmawJ810djjkGp70
public_keys:
- /home/$USER/.ssh/id_rsa.pub
- /home/$USER/.ssh/id_rsa.pub
- /home/$USER/.ssh/id_rsa.pub
sudo: false
adm: false
- name: user-four
encrypted_password: $1$@YMgS-5Y$2lH.vkVmawJ810djjkGp70
public_keys:
- /home/$USER/.ssh/id_rsa.pub
- /home/$USER/.ssh/id_rsa.pub
- /home/$USER/.ssh/id_rsa.pub
- /home/$USER/.ssh/id_rsa.pub
sudo: false
adm: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment