{"id":19979466,"url":"https://github.com/msteinhoff/ansible-atlassian-bitbucket-application","last_synced_at":"2026-05-09T20:13:31.993Z","repository":{"id":147881568,"uuid":"79854512","full_name":"msteinhoff/ansible-atlassian-bitbucket-application","owner":"msteinhoff","description":"This role installs and configures an Atlassian Bitbucket Server instance.","archived":false,"fork":false,"pushed_at":"2017-10-26T16:00:10.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T10:28:52.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msteinhoff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-23T22:24:27.000Z","updated_at":"2018-05-25T18:33:00.000Z","dependencies_parsed_at":"2023-05-27T19:30:37.429Z","dependency_job_id":null,"html_url":"https://github.com/msteinhoff/ansible-atlassian-bitbucket-application","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msteinhoff%2Fansible-atlassian-bitbucket-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msteinhoff%2Fansible-atlassian-bitbucket-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msteinhoff%2Fansible-atlassian-bitbucket-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msteinhoff%2Fansible-atlassian-bitbucket-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msteinhoff","download_url":"https://codeload.github.com/msteinhoff/ansible-atlassian-bitbucket-application/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241413029,"owners_count":19958997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T03:37:52.528Z","updated_at":"2026-05-09T20:13:31.964Z","avatar_url":"https://github.com/msteinhoff.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-atlassian-bitbucket-application\n\nAnsible role which installs and configures an Atlassian Bitbucket Server instance.\n\n# Requirements\n\n## Oracle Java JDK\n\nThis role requires the Java JDK to be installed. The exact path can be\nconfigured, see below for variables.\n\nYou can use `ansible-java-oracle-jdk` for this.\n\n## Oracle Java default keystore\n\nWhen using self signed certificates, it may be required to add those as trusted\ncertificates in the default keystore.\n\nYou can use `ansible-java-keystore` for this.\n\n## RDBMS\n\nA relational database is required for Bitbucket, e.g. MySQL, Postgres or\nOracle.\n\nYou can use `ansible-mysql-server` for for this.\n\n## JDBC driver\n\nBitbucket needs a JDBC driver to connect to the database, which may not be\nprovided by the Bitbucket distribution. The exact path must be configured.\n\nYou can use `ansible-mysql-jdbc-driver` to install the MySQL JDBC driver.\n\n## Packetfilter\n\nIt may be need to configure packetilter rules for incoming or outgoing network\nconnections.  \n\n# Dependencies\n\n## ansible-yum-ius-repo\n\nThis role installs git2u from the [IUS](https://ius.io/) repository and uses the\n`ansible-yum-ius-repo` role to make sure the yum repo is installed.\n\n# Role Variables\n\nAvailable variables are listed below, along with default values (see\n`defaults/main.yml`).  \n\nAll variables have set sensible defaults and usually should not need any\nconfiguration, The only variable required to be set is the path to the installed\nJDK.  \n\n## General settings\n\n   bitbucketuser_name: atlbitbucket\n\nUser name under which the application will be installed. The account will be\ncreated if it does not exist.  \n\n    bitbucket_group_name: atlbitbucket\n\nGroup name under which the application will be installed. The group will be\ncreated if it does not exist.\n\n    bitbucket_service_name: atlbitbucket\n\nService name of the application.\n\n    bitbucket_provide_root_environment: false\n\nProvide preconfigured aliases to the root shell for easier navigation to\nBitbucket-specific directories.\n\n    bitbucket_start_on_boot :false\n\nStart Bitbucket automatically at boot.\n\nSet this to true in production environments. Even better, use a process\nsupervisor e.g. systemd or monit.\n\n## Installation variables\n\n    bitbucket_perform_installation: false\n\nInstall or upgrade Atlassian Bitbucket automatically.\n\nUpgrade is the same as installation, but the previously installed version\nwill not be removed. If the configured Bitbucket version does not match the\ncurrent Bitbucket version on the host, the configured Bitbucket version\nwill be installed.\n\nThis flag can be used as an additional safety mechanism so the Bitbucket\ninstallation is not accidentally changed. It could e.g. be enabled only in\na special, separate playbook for installations.\n\n    bitbucket_start_after_installation: false\n\nStart Bitbucket instance after the role has finished an installation or an\nupgrade.\n\nThis is handy if you want to restore a backup before the instance is started.\n\n    bitbucket_installation_archive_url: https://downloads.atlassian.com/software/stash/downloads/atlassian-bitbucket-4.12.1.tar.gz\n\nHTTP URL where to get the tar.gz archive for the Bitbucket application.\n\nDepending on the environment, a HTTP proxy configuration may be needed in\nansible.\n\n    bitbucket_installation_archive_checksum: bitbucket_installation_archive_checksum: sha256:8ea5f0e145c4bcbec9879c8ac2d124329d000b9c4b74ce78408b0629a9ef1664\n\nChecksum of the tar.gz archive for the given version.\n\n    bitbucket_installation_archive_name: atlassian-bitbucket-4.12.1\n\nFolder name of the extracted Bitbucket instance.\n\n    bitbucket_installation_software_directory: /opt/atlassian/bitbucket\n\nPath to a directory where the Bitbucket instance should be installed.\n\n    bitbucket_installation_jdbc_driver_jar_source_path: (empty)\n\nOptional path to a JDBC driver jar file on the control machine that will be\ncopied into the Bitbucket instance lib directory on the remote machine.\n\n## Configuration variables\n\n    bitbucket_config_jre_directory: ''\n\nRequired path to the directory that contains the Oracle JDK 1.8.\n\n    bitbucket_config_home_directory: /var/atlassian/application-data/bitbucket\n\nPath to the Bitbucket home directory.\n\n    bitbucket_config_jvm_heap_size: 1024m\n\nHow much memory the JVM should use.\n\nThis is passed to the `-xXs` and `-Xmx` JVM options.\n\n    bitbucket_config_jvm_opts: ''\n\nAdditional JVM configuration options.\n\n    bitbucket_config_tomcat_context_path: ''\n\nThe tomcat context path for the Bitbucket instance. By default,  Bitbucket is\nreachable at /.\n\n    bitbucket_config_tomcat_connectors:\n      standalone:\n        enabled: true\n        type: standalone\n        listening_port: 8090\n      reverse_proxy:\n        enabled: false\n        type: proxy\n        listening_port: 8091\n        proxied_hostname: bitbucket.example.org\n        proxied_port: 443\n\nDictionary with tomcat connector configurations. The dictionary can contain an\narbitrary number of connectors with arbitrary names.\n\n# Example Playbook\n\n    - hosts: bitbucket-servers\n      roles:\n         - role: ansible-atlassian-bitbucket-application\n           bitbucket_config_jre_directory: '/usr/java/jdk1.8.0_72'\n\n# License\n\nMPLv2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsteinhoff%2Fansible-atlassian-bitbucket-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsteinhoff%2Fansible-atlassian-bitbucket-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsteinhoff%2Fansible-atlassian-bitbucket-application/lists"}