mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
More edits
added TOC testing anchor links
This commit is contained in:
31
README.md
31
README.md
@@ -1,6 +1,8 @@
|
|||||||
|
|
||||||
# Atlassian Data-Center Installation Automation
|
# Atlassian Data-Center Installation Automation
|
||||||
|
|
||||||
|
[TOC]
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
This repository is a suite of Ansible roles, playbooks and support scripts to
|
This repository is a suite of Ansible roles, playbooks and support scripts to
|
||||||
@@ -62,22 +64,27 @@ them in the `Custom command-line parameters for Ansible` field:
|
|||||||
|
|
||||||
#### Other customizable parameters
|
#### Other customizable parameters
|
||||||
|
|
||||||
Consult the following files for clues on other parameters you can customize for your deployment:
|
For more deployment customization options, consult the following files for parameters you can
|
||||||
|
override:
|
||||||
|
|
||||||
- `[/roles/product_install/defaults/main.yml](roles/product_install/defaults/main.yml)`
|
- [`/roles/product_install/defaults/main.yml`](roles/product_install/defaults/main.yml)
|
||||||
- `[/group_vars/aws_node_local.yml](group_vars/aws_node_local.yml)`
|
- [`/group_vars/aws_node_local.yml`](group_vars/aws_node_local.yml)
|
||||||
|
|
||||||
More customizable parameters are defined in specific roles -- specifically, in the
|
More customizable parameters are defined in specific roles -- specifically, in the
|
||||||
role's `defaults/main.yml` file. Most of these parameters use the `atl_` prefix. You can
|
role's `defaults/main.yml` file. Most of these parameters use the `atl_` prefix. You can
|
||||||
use the following [Bitbucket code search query](https://confluence.atlassian.com/bitbucket/search-873876782.html) to find them:
|
use the following [Bitbucket code search query](https://confluence.atlassian.com/bitbucket/search-873876782.html)
|
||||||
|
to find them:
|
||||||
|
|
||||||
repo:dc-deployments-automation repo:dc-deployments-automation path:*/defaults/main.yml atl
|
repo:dc-deployments-automation repo:dc-deployments-automation path:*/defaults/main.yml atl
|
||||||
|
|
||||||
## Development
|
### Development and testing
|
||||||
|
|
||||||
### Development philosophy
|
See [Development](DEVELOPMENT.md) for details on setting up a development
|
||||||
|
environment and running tests.
|
||||||
|
|
||||||
The suite is intended to consist of a number of small, composable roles that can
|
## Roles philosophy
|
||||||
|
|
||||||
|
This suite is intended to consist of many small, composable roles that can
|
||||||
be combined together into playbooks. Wherever possible, roles should be product-agnostic
|
be combined together into playbooks. Wherever possible, roles should be product-agnostic
|
||||||
(e.g. downloads) and platform-agnostic. Functions that are product-specific or
|
(e.g. downloads) and platform-agnostic. Functions that are product-specific or
|
||||||
platform-specific are split off into separate roles.
|
platform-specific are split off into separate roles.
|
||||||
@@ -91,23 +98,19 @@ For example, the `jira_config` role depends on the `atl_cluster_node_id`
|
|||||||
var being defined; on AWS this is provided by the `aws_common` role, which
|
var being defined; on AWS this is provided by the `aws_common` role, which
|
||||||
should be run first.
|
should be run first.
|
||||||
|
|
||||||
### Development and testing
|
|
||||||
|
|
||||||
See [Development](DEVELOPMENT.md) for details on setting up a development
|
|
||||||
environment and running tests.
|
|
||||||
|
|
||||||
## Ansible layout
|
## Ansible layout
|
||||||
|
|
||||||
* Helper scripts are in `bin/`. In particular the `bin/ansible-with-atl-env`
|
* Helper scripts are in `bin/`. In particular the `bin/ansible-with-atl-env`
|
||||||
wrapper is of use during AWS node initialisation. See _Usage_ above for more
|
wrapper is of use during AWS node initialisation. Refer to the [Usage](#markdown-header-usage) section for
|
||||||
information.
|
more information.
|
||||||
* Inventory files are under `inv/`. For AWS `cfn-init` the inventory
|
* Inventory files are under `inv/`. For AWS `cfn-init` the inventory
|
||||||
`inv/aws_node_local` inventory is probably what you want.
|
`inv/aws_node_local` inventory is probably what you want.
|
||||||
* Note that this expects the environment to be setup with infrastructure information (refer to the _Usage_ section above).
|
* Note that this expects the environment to be setup with infrastructure information (refer to the _Usage_ section above).
|
||||||
* Global group vars loaded automatically from `group_vars/<group>.yml`. In
|
* Global group vars loaded automatically from `group_vars/<group>.yml`. In
|
||||||
particular note `group_vars/aws_node_local.yml` which loads infrastructure
|
particular note `group_vars/aws_node_local.yml` which loads infrastructure
|
||||||
information from the environment.
|
information from the environment.
|
||||||
* Roles are under `roles/`
|
* Roles are defined in `roles/`
|
||||||
* Platform specific roles start with `<platform-shortname>_...`, e.g. `roles/aws_common/`.
|
* Platform specific roles start with `<platform-shortname>_...`, e.g. `roles/aws_common/`.
|
||||||
* Similarly, product-specific roles should start with `<product>_...`.
|
* Similarly, product-specific roles should start with `<product>_...`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user