diff --git a/roles/installer/tasks/migrate_schema.yml b/roles/installer/tasks/migrate_schema.yml index ef41e1827..77ffc6fc6 100644 --- a/roles/installer/tasks/migrate_schema.yml +++ b/roles/installer/tasks/migrate_schema.yml @@ -22,9 +22,9 @@ changed_when: false register: version_check - - name: Update instance version + - name: Sanitize instance version set_fact: - version: "{{ version_check.stdout | trim }}" + version: "{{ version_check.stdout.split('+')[0] | trim }}" # It is possible to do a wait on this task to create the job and wait # until it completes. Unfortunately, if the job doesn't wait finish within