Skip to content

Instantly share code, notes, and snippets.

@5car1z
Last active August 2, 2017 19:54
Show Gist options
  • Save 5car1z/ef864c851f6abe0e2e9cb27c9c0d1fdc to your computer and use it in GitHub Desktop.
Save 5car1z/ef864c851f6abe0e2e9cb27c9c0d1fdc to your computer and use it in GitHub Desktop.
YAML Server Provision Example (Standard YAML) (2).
---
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