diff options
author | Paul Bonaud <paul.bonaud@fretlink.com> | 2019-02-26 09:16:11 +0100 |
---|---|---|
committer | Paul Bonaud <paul.bonaud@fretlink.com> | 2019-02-26 09:32:14 +0100 |
commit | 85d1a7838d032ec7dfe858fce5dca3f5535199e4 (patch) | |
tree | 632d376a94202ba33016bc8313af354f422bc6f2 /tasks/login.yml | |
parent | 51b0de07287fc1e2e8f0d4dacfbb89f12a5ce6a9 (diff) | |
download | ansible-clever-85d1a7838d032ec7dfe858fce5dca3f5535199e4.tar.gz ansible-clever-85d1a7838d032ec7dfe858fce5dca3f5535199e4.tar.zst ansible-clever-85d1a7838d032ec7dfe858fce5dca3f5535199e4.zip |
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.
Diffstat (limited to 'tasks/login.yml')
-rw-r--r-- | tasks/login.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
13 | command: clever link {{ clever_app }} | 13 | command: clever link {{ clever_app }} |
14 | args: | 14 | args: |
15 | chdir: "{{ clever_app_root }}" | 15 | chdir: "{{ clever_app_root }}" |
16 | creates: "{{ clever_app_root }}/.clever.json" | 16 | changed_when: true |
17 | environment: | 17 | environment: |
18 | CONFIGURATION_FILE: "{{ clever_login_file }}" | 18 | CONFIGURATION_FILE: "{{ clever_login_file }}" |