Indicate tower_cli.cfg can also be in current directory (#15092)

Update readme to provide more details on how tower_cli.cfg is used.

Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
This commit is contained in:
Jan-Piet Mens 2025-04-02 17:32:11 +02:00 committed by GitHub
parent 1d57f1c355
commit e837535396
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,7 @@ These can be specified via (from highest to lowest precedence):
- direct module parameters
- environment variables (most useful when running against localhost)
- a config file path specified by the `tower_config_file` parameter
- a config file at `./tower_cli.cfg`, i.e. in the current directory
- a config file at `~/.tower_cli.cfg`
- a config file at `/etc/tower/tower_cli.cfg`
@ -60,6 +61,15 @@ username = foo
password = bar
```
or like this:
```
host: https://localhost:8043
verify_ssl: true
oauth_token: <token>
```
## Release and Upgrade Notes
Notable releases of the `{{ collection_namespace }}.{{ collection_package }}` collection: