diff --git a/tasks/database-setup.yml b/tasks/database-setup.yml index e3cc16a..db53109 100644 --- a/tasks/database-setup.yml +++ b/tasks/database-setup.yml @@ -15,7 +15,7 @@ - name: Check for db command: "{{ rally_bin }}/rally deployment list" - ignore_errors: true + failed_when: false register: rally_deployment_list_result - name: Create/upgrade Rally DB schema @@ -25,7 +25,7 @@ - name: Check for existing Rally deployment command: "{{ rally_bin }}/rally deployment list" - ignore_errors: true + failed_when: false register: rally_deployment_list_result - name: Setup the Rally deployment diff --git a/tasks/install.yml b/tasks/install.yml index bb0a67a..bae02bf 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -85,7 +85,7 @@ url: "{{ rally_venv_download_url }}" dest: "/var/cache/{{ rally_venv_download_url | basename }}" force: yes - ignore_errors: true + failed_when: false register: get_venv when: - not rally_developer_mode | bool