Update 'README.md'
This commit is contained in:
parent
4e4cc01659
commit
ec32c9d152
16
README.md
16
README.md
|
@ -12,7 +12,8 @@ This role requires a database server to to be present where the django app can c
|
|||
|
||||
Role Variables
|
||||
--------------
|
||||
|
||||
- `django_app_gitrepo`: git repo to check out (required)
|
||||
- `django_app_gitversion`: git thing to check out defautls to "main"
|
||||
- `django_admin_password`: required, password for 'admin' user
|
||||
- `django_secret_key`: optional Secret Key for Django app, defaults to random 56char string recreated on every run (This will invalidated current open sessions)
|
||||
- `django_user`: user running the app, defaults to 'django' (this user will be created)
|
||||
|
@ -48,6 +49,19 @@ Example Playbook
|
|||
```
|
||||
|
||||
```yaml
|
||||
- name: "install posgres servers"
|
||||
hosts: pa
|
||||
roles:
|
||||
- ansible-role-postgresql
|
||||
vars:
|
||||
- postgresql_python_library: python3-psycopg2
|
||||
- postgresql_databases:
|
||||
- name: "{{inventory_hostname}}"
|
||||
owner: "{{inventory_hostname}}"
|
||||
- postgresql_users:
|
||||
- name: "{{inventory_hostname}}"
|
||||
|
||||
|
||||
- name: "Install im pantry app"
|
||||
hosts: im
|
||||
roles:
|
||||
|
|
Loading…
Reference in New Issue