An ansible role installs takezoe/gitbucket without servlet container on CentOS/Ubuntu. This role deploys minimum configration for GitBucket.
None.
# vars/main.yml
gitbucket_version: 3.3
GitBucket URL is http://[gitbucket_host]:[gitbucket_port]/[gitbucket_prefix]
# vars/main.yml
gitbucket_host: localhost
gitbucket_port: 8080
gitbucket_prefix: ""
# defaults/main.yml
gitbucket_home: /var/lib/gitbucket
# defaults/main.yml
gitbucket_dir: /usr/share/gitbucket
gitbucket_war_dir: "{{ gitbucket_dir }}/lib"
gitbucket_war_file: "{{ gitbucket_war_dir }}/gitbucket.war"
# defaults/main.yml
gitbucket_log_dir: /var/log/gitbucket
# defaults/main.yml
gitbucket_jvm_opts: -Dmail.smtp.starttls.enable=true
- hosts: all
sudo: yes
roles:
- { role: distkloc.gitbucket, gitbucket_host: gitbucket.example.com, gitbucket_port: 80 }
BSD