Skip to content

Commit

Permalink
chore(README): Update instructions when adding an user
Browse files Browse the repository at this point in the history
  • Loading branch information
lafeychine committed Oct 22, 2023
1 parent 3868e62 commit 0253033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ installed with:
### Adding a new user to a specific machine

1. add the machine to file `hosts`, in the relevant section `[user]`
1. if necessary, add the user to `roles/common/tasks/main.yml`, with the public ssh key in `public\_keys/<user>`
1. if necessary, add the user to `group_vars/all/accounts.yml`, with the public ssh key in `public\_keys/<user>`
1. launch following command:
```shell
ansible-playbook -l <hostname> common.yml --tags user_creation
ansible-playbook -l <hostname> accounts.yml
```

### Adding a service to a specific machine
Expand Down

0 comments on commit 0253033

Please sign in to comment.