Skip to content

Commit

Permalink
Merge pull request #23 from ernestas-poskus/fix/os_version_major_parsing
Browse files Browse the repository at this point in the history
Fix RedHat os version parsing
  • Loading branch information
ernestas-poskus committed May 6, 2016
2 parents 8742df9 + 5e466f3 commit 3fd0fc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
marathon_playbook_version: "0.3.2"
marathon_playbook_version: "0.3.3"
marathon_version: "0.8.1"

# Debian: Mesosphere apt repository URL
Expand Down
3 changes: 1 addition & 2 deletions vars/RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
os_version: "{{ ansible_lsb.release if ansible_lsb is defined else ansible_distribution_version }}"
os_version_major: "{{ os_version | regex_replace('^([0-9]+)[^0-9]*.*', '\\\\1') }}"
os_version_major: "{{ ansible_distribution_major_version }}"

mesosphere_releases:
'6': 'mesosphere-el-repo-6-3.noarch.rpm'
Expand Down

0 comments on commit 3fd0fc0

Please sign in to comment.