Skip to content

Commit

Permalink
Fix RedHat os version parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestas-poskus committed May 6, 2016
1 parent 8742df9 commit 5e466f3
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 5e466f3

Please sign in to comment.