new readme
This commit is contained in:
parent
61dd0f6b97
commit
afeb33ebf0
1 changed files with 6 additions and 2 deletions
|
|
@ -4,12 +4,12 @@
|
|||
To create a ssh key pair on the new users PC:
|
||||
```bash
|
||||
ssh-keygen -f new_floss_key
|
||||
```
|
||||
|
||||
The 'private' part should NEVER leave the user's PC.
|
||||
( It is a good idea to add a keyphrase to protect the key, if the client PC is ever stolen or hacked.)
|
||||
|
||||
You only need: new_floss_key.pub
|
||||
|
||||
- You only need: new_floss_key.pub
|
||||
- open inventory/group_vars/all/users.yaml
|
||||
- add a new entry:
|
||||
```yaml
|
||||
|
|
@ -21,9 +21,12 @@ You only need: new_floss_key.pub
|
|||
ssh_keys:
|
||||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA... alice@laptop
|
||||
- replace this ^^^^ line, with new_floss_key.pub...
|
||||
```
|
||||
|
||||
### Deploy with:
|
||||
```bash
|
||||
- ansible-playbook site.yaml
|
||||
```
|
||||
|
||||
## Delete user:
|
||||
- open inventory/group_vars/all/users.yaml
|
||||
|
|
@ -34,6 +37,7 @@ You only need: new_floss_key.pub
|
|||
- run:
|
||||
```yaml
|
||||
ansible-playbook site.yaml
|
||||
```
|
||||
|
||||
|
||||
# Troubleshoot:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue