From: Paul Bonaud Date: Tue, 26 Feb 2019 08:16:11 +0000 (+0100) Subject: login: force the `.clever.json` file to be created X-Git-Tag: v1.19~1^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=refs%2Fpull%2F38%2Fhead;p=github%2Ffretlink%2Fansible-clever.git login: force the `.clever.json` file to be created In case a project already has a `.clever.json` file (for debugging purpose to communicate with dev environment for instance) this step was never done because of the `creates:`. Removing it forces the role to always create a new clever.json file. --- diff --git a/tasks/login.yml b/tasks/login.yml index 86ba714..383be3a 100644 --- a/tasks/login.yml +++ b/tasks/login.yml @@ -13,6 +13,6 @@ command: clever link {{ clever_app }} args: chdir: "{{ clever_app_root }}" - creates: "{{ clever_app_root }}/.clever.json" + changed_when: true environment: CONFIGURATION_FILE: "{{ clever_login_file }}"