Skip to content

Releases: fretlink/ansible-clever

Bug fix release when using upper case domain names

31 Jan 17:43
abde001
Compare
Choose a tag to compare

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

16 Jan 15:15
c11e023
Compare
Choose a tag to compare

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

14 Jan 10:41
f23c138
Compare
Choose a tag to compare

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 pushes.

Tagging now works as expected

07 Jan 11:10
ae84364
Compare
Choose a tag to compare

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 the clever_env_output_file variable
    • clever-deploy
    • clever-post-deploy
  • Exported env (in clever_env_output_file) now creates a sourceable file (with exports)

Execute clever tools in the application root directory

06 Dec 11:29
62408b8
Compare
Choose a tag to compare

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

30 Nov 13:57
e3f725a
Compare
Choose a tag to compare

Update bash scripts to use /usr/bin/env bash instead of /bin/bash path

Introduce Dhall interface

21 Nov 10:13
5485dbc
Compare
Choose a tag to compare

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`

14 Nov 14:47
b570ba0
Compare
Choose a tag to compare
Merge pull request #17 from gaetanfl/change_clever_app_root_default

change default value for clever_app_root

New `clever_syslog_server` variable

04 Oct 14:33
36858ff
Compare
Choose a tag to compare

Renaming a variable to have it namespaced with the role's name

New variable

28 Sep 09:33
ec83672
Compare
Choose a tag to compare

Add a clever_domain variable to replace the existing domain one.