small updates to gitea ansible

master
Jeff Moe 7 years ago
parent a770d5f4f4
commit d5b4aa8d81

@ -1,7 +1,7 @@
all:
hosts:
10.0.0.1: # Example host
174.128.244.238: # code.forksand.com
# Additional hosts can be specified by adding them below
#10.0.0.2: # Example host 2. Uncomment line to use
#10.0.0.3: # Example host 3. Uncomment line to use
#10.0.0.3: # Example host 3. Uncomment line to use

@ -12,20 +12,19 @@ gitea_http_port: 3000
gitea_disable_http_git: false
gitea_offline_mode: true
gitea_db_type: sqlite3
gitea_db_type: mysql
gitea_db_host: 127.0.0.0:3306
gitea_db_name: root
gitea_db_name: gitea
gitea_db_user: gitea
gitea_db_passord: lel
gitea_db_passord: password
gitea_db_ssl: disable
gitea_db_path: "{{ gitea_home }}/data/gitea.db"
gitea_ssh_listen: 0.0.0.0
gitea_ssh_domain: localhost
gitea_start_ssh: true
gitea_ssh_port: 2222
gitea_secret_key: T0pS3cr31
gitea_secret_key: password
gitea_show_user_email: false
gitea_disable_gravatar: true

@ -1,7 +1,7 @@
# TODO: variabilize this
- name: "Download the binary"
get_url:
url: "https://dl.gitea.io/gitea/1.4/gitea-1.4-linux-amd64"
url: "https://dl.gitea.io/gitea/1.5/gitea-1.5-linux-amd64"
dest: /usr/local/bin/gitea
owner: root
group: root

@ -1,3 +1,3 @@
nginx_domain_name: "gitea.example.com"
nginx_domain_name: "code.forksand.com"
gitea_http_port: 3000
letsencrypt_email: "test@example.com"
letsencrypt_email: "letsencrypt@forksand.com"

Loading…
Cancel
Save