Usage:
```
usage: roles.py [-h] [-f FILTER] [-w WORKERS] [-r REQUIREMENTS] [-s ROLES_SYMLINK] [-l LOG_LEVEL] [-d] [-a] [-i | -c | -u]
This tool managed Ansible roles as Git repositories.
It is both faster and simpler than Ansible Galaxy.
By default ~/.ansible/roles is symlinked to ~/work.
Override it using --roles-symlink or ROLES_SYMLINK.
Installation behavior:
- If no version is specified newest is pulled.
- If version is matching nothing is done.
- If repo is dirty or detached nothing is done.
- If version is newer user is notified.
options:
-h, --help show this help message and exit
-f FILTER, --filter FILTER
Filter role repo names.
-w WORKERS, --workers WORKERS
Max workers to run in parallel.
-r REQUIREMENTS, --requirements REQUIREMENTS
Location of requirements.yml file.
-s ROLES_SYMLINK, --roles-symlink ROLES_SYMLINK
Actual location of installed roles.
-l LOG_LEVEL, --log-level LOG_LEVEL
Logging level.
-d, --fail-dirty Fail if repo is dirty.
-a, --fail-detached Fail if repo has detached head.
-i, --install Clone and update required roles.
-c, --check Only check roles, no installing.
-u, --update Update requirements with current commits.
Examples:
./roles.py --install
./roles.py --check
./roles.py --update
```
Signed-off-by: Jakub Sokołowski <jakub@status.im>