equal
deleted
inserted
replaced
5 - add a new deplyment host list by creating a `hosts/hosts.<profile>` file: |
5 - add a new deplyment host list by creating a `hosts/hosts.<profile>` file: |
6 - `cp hosts/hosts.tmpl hosts/hosts.<profile>` |
6 - `cp hosts/hosts.tmpl hosts/hosts.<profile>` |
7 - define the profile vars: `cp group_vars/group_vars.yml.tmpl group_vars/<profile>.yml`, customize it |
7 - define the profile vars: `cp group_vars/group_vars.yml.tmpl group_vars/<profile>.yml`, customize it |
8 - create the necessary host vars in `host_vars/<machine>/base.yml`. Use ansible vaults to edit them and do not expose any secret. |
8 - create the necessary host vars in `host_vars/<machine>/base.yml`. Use ansible vaults to edit them and do not expose any secret. |
9 - deploy with the command `deploy.sh`: `./deploy.sh <profile> <version>` |
9 - deploy with the command `deploy.sh`: `./deploy.sh <profile> <version>` |
|
10 |
|
11 ## Create new version |
|
12 Launch the command: |
|
13 - `set-version.sh <version>` |
|
14 - commit, tag and push as needed. |