From 7485b189faf61061027fbba06b7bdbe51c13a705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Duchaussois?= Date: Fri, 21 Sep 2018 12:25:48 +0200 Subject: add ansible-lint test and fix warning --- tasks/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tasks/deploy.yml') diff --git a/tasks/deploy.yml b/tasks/deploy.yml index 54c04ac..5e773b4 100644 --- a/tasks/deploy.yml +++ b/tasks/deploy.yml @@ -16,13 +16,18 @@ shell: "clever env import < {{ clever_app_confdir }}/env" environment: CONFIGURATION_FILE: "{{ clever_login_file }}" + changed_when: false #TODO: Improve ssh-key validation - name: Accept Clever-Cloud servers shell: "ssh-keyscan -H push-par-clevercloud-customers.services.clever-cloud.com >> ~/.ssh/known_hosts" + tags: + - skip_ansible_lint - name: Push to Clever-Cloud to trigger deployment command: "git push --force git+ssh://git@push-par-clevercloud-customers.services.clever-cloud.com/{{ clever_app }}.git HEAD:refs/heads/master" + tags: + - skip_ansible_lint - name: Watch deployment status command: clever-wait-deploy.sh @@ -31,6 +36,7 @@ register: long_command environment: CONFIGURATION_FILE: "{{ clever_login_file }}" + changed_when: False # Waits up to 15 minutes - name: Wait for deployment completion -- cgit v1.2.3