Skip to content
Snippets Groups Projects
Verified Commit bda60d8d authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Update readme and add new user

parent f7402b12
No related branches found
No related tags found
No related merge requests found
# Ansible development VM
A -- very simple -- Ansible playbook that adds a new local user to `utility[\d+].dev.gap.geant.org`, such that a user can log in and provision a new development VM using Terraform.
An Ansible playbook that adds local users to `utility[\d+].dev.gap.geant.org`, such that a user can log in and provision a new development VM using Terraform.
First, add any new users to [vars/main.yaml](roles/gap_utility_user/vars/main.yaml).
Example usage of this playbook (become root):
```
ansible-playbook -i localhost, --connection=local playbook.yml
```
Remember to fill in the variables `$USERNAME`, `$YOUR_NAME`, and `$SSH_PUB_KEY`.
`$SSH_PUB_KEY` has to be the file *contents* of your `key.pub` file, so for example use `-e "ssh_key=\"$(cat /root/my_key.pub)\""`
......@@ -3,3 +3,7 @@ goat_users:
full_name: "Simone Spinelli"
shell: "/bin/bash"
ssh_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDt0UfEy8Tz4lrrXvLqcmDcVB/uxGot3upZUOUtUFif6dBiGdasxvi7OaHoOh1Ho6SHGF57tXFYXzIR0VIXdFs0zG62FGESXLOzpGgoB/bWcRDoipcoM0rnMKNuL+SOFjGQ0XLQu4/I6UHd6pJ+JW2V6gx0KcbiHt5ogHiFeeDyC+p/+eSyP0kXVnP7ewU/A/0cTBhAEvNstPrWdKj4C9LadBq8ZC9JheuEBpJvG+EwEXTFfRwL3JsG1Gwvyhg2fmlqiqsiM70XB1v8CLOp/gGcv0ug1oAOl1XKEEYqE2z/GWvykX8DDyMF3C8JSdyX3oOANwYHQ46XuENZqKc4DvWt simonespinelli@GA0050"
- username: karel
full_name: "Karel van Klink"
shell: "/bin/bash"
ssh_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFxC0VYk2OHmFHtnWb/J1dmEKwYmkKjhR6N9OsP0sjH+ KAREL'S TEST AND DEV KEY FOR BOGUS ENVIRONMENTS"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment