main.yml 963 Bytes
Newer Older
Paschalis Korosoglou's avatar
Paschalis Korosoglou committed
1 2
---

3 4 5
- name: Install epel repo files
  yum: name={{ epel_release_url }}{{ epel_release_name }}
       state=present
Paschalis Korosoglou's avatar
Paschalis Korosoglou committed
6

7 8 9
- name: Install arstats repo files
  yum: name={{ arstats_release_url }}{{ arstats_release_name }}
       state=present
Paschalis Korosoglou's avatar
Paschalis Korosoglou committed
10 11 12

- name: Install mongodb repo
  tags: mongodb_repo
Pavlos Daoglou's avatar
Pavlos Daoglou committed
13 14 15
  copy: src=etc/yum.repos.d/mongodb_3.repo
        dest=/etc/yum.repos.d/mongodb_3.repo backup=no
        owner=root group=root mode=0644
16 17 18 19 20 21 22

- name: Install EGI-trustanchors repository definitions
  tags: ca_bundle_repo
  copy: src=etc/yum.repos.d/EGI-trustanchors.repo
        dest=/etc/yum.repos.d/EGI-trustanchors.repo backup=no
        owner=root group=root mode=0644
  when: inventory_hostname in groups.standalone
23

24 25 26 27
- name: Install cloudera-cdh5 repo
  tags: cloudera-cdh5_repo
  copy: src=etc/yum.repos.d/cloudera-cdh5.repo
        dest=/etc/yum.repos.d/cloudera-cdh5.repo backup=no
28 29
        owner=root group=root mode=0644
  when: inventory_hostname in groups.standalone