Releases: fretlink/ansible-clever
Bug fix release when using upper case domain names
This release fixes a bug in the clever domain
management if the configured domain had upper case letters the task would fail.
This is now fixed by ignoring the case of the configured domain (clever_domain:
variable in ansible vars).
Successful status when application is up-to-date and already deployed
In case of deployment where clever responds with a the clever-cloud application is up-to-date
error. We now check the last clever activity
deployment to see if our current commit has already been deployed. If it is the case the task succeeds ✔️!
Upgrade clever tools to 1.3.0
This release changes the default clever_cli_version
to latest (as of today) version 1.3.0 of the clever tools.
It also changes the way deployments are done by relying on the clever deploy
command which will wait until the deployment is done, instead of literal git push
es.
Tagging now works as expected
Bug fix release
-
Ansible Tags now correctly includes tasks. You can execute only parts of the role with specific tags:
clever-setup
clever-login
clever-env
Generate clever env output into file specified by theclever_env_output_file
variableclever-deploy
clever-post-deploy
-
Exported env (in
clever_env_output_file
) now creates asource
able file (withexport
s)
Execute clever tools in the application root directory
Fix
This release makes sure to execute all clever
commands inside the clever_app_root
directory.
🆕
As a post deploy task you might need to retrieve the full clever env (which includes addon env variables).
By adding a clever_env_output_file
variable in your playbooks you can do exactly this!
Be more friendly in bash scripts
Update bash scripts to use /usr/bin/env bash
instead of /bin/bash
path
Introduce Dhall interface
This release introduce a typed configuration using Dhall.
The interface is pretty basic and match the .yaml
configuration in a 1:1
correspondence
Use `app_root` as default for `clever_app_root`
Merge pull request #17 from gaetanfl/change_clever_app_root_default change default value for clever_app_root
New `clever_syslog_server` variable
Renaming a variable to have it namespaced with the role's name
New variable
Add a clever_domain
variable to replace the existing domain
one.