diff options
author | Russell Teague <rteague@redhat.com> | 2017-10-27 11:18:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-27 11:18:59 -0400 |
commit | c6c0f5f6f859cec1bafbe27c5fd78067ffe31abd (patch) | |
tree | d292c3a502f72a94e61578493fbeb05e9ef17381 /roles | |
parent | 5b6b31e36f7be9593206774d06821c1164e2bd0b (diff) | |
parent | 08585263678873393b26195069bd587d9bbf6ec9 (diff) | |
download | openshift-c6c0f5f6f859cec1bafbe27c5fd78067ffe31abd.tar.gz openshift-c6c0f5f6f859cec1bafbe27c5fd78067ffe31abd.tar.bz2 openshift-c6c0f5f6f859cec1bafbe27c5fd78067ffe31abd.tar.xz openshift-c6c0f5f6f859cec1bafbe27c5fd78067ffe31abd.zip |
Merge pull request #5904 from mtnbikenc/fix-openshift_release
Correct openshift_release regular expression
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_sanitize_inventory/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_sanitize_inventory/tasks/main.yml b/roles/openshift_sanitize_inventory/tasks/main.yml index 5dccc9faf..a6c168bc7 100644 --- a/roles/openshift_sanitize_inventory/tasks/main.yml +++ b/roles/openshift_sanitize_inventory/tasks/main.yml @@ -47,7 +47,7 @@ - name: Abort when openshift_release is invalid when: - openshift_release is defined - - not openshift_release | match('\d+(\.\d+){1,3}$') + - not openshift_release | match('^\d+(\.\d+){1,3}$') fail: msg: |- openshift_release is "{{ openshift_release }}" which is not a valid version string. |