Skip to content

Commit

Permalink
Merge branch 'release/1.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
chusiang committed Mar 25, 2016
2 parents 5e8ffc2 + b50d956 commit bb05e18
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tasks/use-yum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@

---

- name: Install epel from remote repo
- name: Install epel from remote repo on CentOS 7
yum: name=https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm state=present
when: ansible_distribution_version >= "7"

- name: Install remi from remote repo
- name: Install epel from remote repo on CentOS 6
yum: name=https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm state=present
when: ansible_distribution_version = "6.7"

- name: Install remi from remote repo on CentOS 7
yum: name=http://rpms.remirepo.net/enterprise/remi-release-7.rpm state=present
when: ansible_distribution_version >= "7"

- name: Install remi from remote repo on CentOS 6
yum: name=http://rpms.remirepo.net/enterprise/remi-release-6.rpm state=present
when: ansible_distribution_version = "6.7"

- name: get ius repo install script
get_url: url=https://setup.ius.io/ dest=/tmp/setup-ius.sh
Expand Down

0 comments on commit bb05e18

Please sign in to comment.