Browse Source

add doc

pull/50/head
Nicolas Massé 7 years ago
parent
commit
295988838b
  1. 35
      CUSTOM.md

35
CUSTOM.md

@ -0,0 +1,35 @@
# How to customize the behavior of this role
## Speed-up the deployments
Go save precious seconds during deployments, you can override the
`threescale_cicd_throttling` variable.
**WARNING:** the throttling is there to let the 3scale Admin Portal
digest your changes. Use at your own risk!
```yaml
- hosts: threescale
gather_facts: no
vars:
threescale_cicd_throttling: 0
roles:
- nmasse-itix.threescale-cicd
```
## Customize the 3scale Service display name
To have the 3scale Service display name generated from a different pattern
(`ENV[name-vX.Y]` in the following example), override the `threescale_cicd_api_name`
variable.
```yaml
- hosts: threescale
gather_facts: no
vars:
myenv: TEST
threescale_cicd_api_name: '{{ myenv }}[{{ threescale_cicd_api_default_name }}-v{{ threescale_cicd_api_version }}]'
roles:
- nmasse-itix.threescale-cicd
```
Loading…
Cancel
Save