Skip to content

Commit

Permalink
Add note about extra parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Mar 25, 2022
1 parent 2e66ea7 commit 7812372
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/configuration/batch-users.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,22 @@ It is also possible to delete the users from the same CSV definition, using the
```sh
ansible-playbook student-remove.yml -u ubuntu -e "studentdef=students.csv"
```

````{note}
It is possible to pass additional parameters when creating users in batches.
For example if you have a file defining disk quotas for a group of students:
```yaml
# default quotas for students
quota:
soft: 200G
hard: 250G
```
You can run the playbook to reference that extra file:
```bash
ansible-playbook student-create.yml -u ubuntu -e "studentdef=students.csv" -e @students-config.yml
```
````

0 comments on commit 7812372

Please sign in to comment.