1
0
Fork 0

add info about ansible tags

This commit is contained in:
Lili (Tlapka) 2021-05-28 13:09:24 +02:00
parent 985d7c9cbc
commit b9fb065de5
1 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,12 @@ The adaptive game module contains:
- `hint_giver.py`. The `HintGiver` class keeps tracks of taken hints and gives new ones. - `hint_giver.py`. The `HintGiver` class keeps tracks of taken hints and gives new ones.
- `level_selector.py`. The `LevelSelector` class helps decide which level to go to next. - `level_selector.py`. The `LevelSelector` class helps decide which level to go to next.
### Ansible tags
The assistant expects some things of the Ansible playbooks.
- All tasks should be tagged
- Tasks for game setup and the first level are tagged `setup`
- Tasks for level past the first are in the format `level + [number] + [branch, optional]` i.e. "level3", "level4a"
### Game config files ### Game config files
Besides tagged ansible playbooks, each adaptive game needs a few config files to work. Besides tagged ansible playbooks, each adaptive game needs a few config files to work.
The config files are mostly YAML lists and dicts. The config files are mostly YAML lists and dicts.