Update readme, update vars

This commit is contained in:
nazunalika 2022-03-03 22:34:51 -07:00
parent a6fa4ac5ff
commit 22687e6493
Signed by: label
GPG Key ID: 6735C0E1BD65D048
2 changed files with 44 additions and 9 deletions

View File

@ -8,21 +8,54 @@ This repository is for Gitea operations and management.
```
.
├── README.md
├── adhoc-create-org.yml
├── collections
│   ├── README.md
│   └── requirements.yml
├── defaults
│   └── main.yml
├── files
│   └── README.md
│   ├── README.md
│   └── var
│   └── lib
│   └── gitea
│   └── custom
│   └── public
│   └── css
│   ├── theme-carbonred.css
│   ├── theme-darkred.css
│   ├── theme-gitea-blue.css
│   ├── theme-gitea-modern.css
│   └── theme-pitchblack.css
├── handlers
│   └── main.yml
├── init-gitea-configure.yml
├── init-gitea-themes.yml
├── init-gitea-update.yml
├── main.yml
├── README.md
├── role-gitea.yml
├── roles
│   └── README.md
├── tasks
│   ├── gitea
│   │   ├── configure.yml
│   │   ├── install.yml
│   │   └── theme.yml
│   ├── gitea.yml
│   └── main.yml
├── templates
│   ├── etc
│   │   └── gitea
│   │   └── conf
│   │   └── app.ini.j2
│   └── README.md
├── tests
│   ├── README.md
│   ├── inventory
│   ├── README.md
│   └── test.yml
└── vars
├── common.yml
├── db.yml
└── main.yml
```

View File

@ -1,8 +1,10 @@
---
gitea_db_type: "postgresql"
gitea_db_user: "gitea"
gitea_db_pass: "{{ gitea_db_password }}"
gitea_db_host: "{{ gitea_db_host }}"
gitea_db_name: "{{ gitea_db_name }}"
# {{ gitea_db_type }}://{{ gitea_db_user }}:{{ gitea_db_pass }}@{{ gitea_db_host }}/{{ gitea_db_name }}]
gitea_db_type: "{{ gitea_db_type|default("sqlite3") }}"
gitea_db_user: "{{ gitea_db_username|default("gitea") }}"
gitea_db_pass: "{{ gitea_db_password|default("") }}"
gitea_db_host: "{{ gitea_db_host|default("127.0.0.1:3306") }}"
gitea_db_name: "{{ gitea_db_name|default("gitea") }}"
gitea_db_ssl: "{{ gitea_db_ssl_mode|default("disable") }}"
gitea_db_schema: "{{ gitea_db_schema_type|default("") }}"
gitea_db_path: "/var/lib/gitea/data/gitea.db"
...