main.yml 852 Bytes
Newer Older
Paschalis Korosoglou's avatar
Paschalis Korosoglou committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
---

- name: Download epel-release package
  tags: epel_repo
  get_url: url={{ epel_release_url }}/{{ epel_release_name }} dest=/tmp/{{ epel_release_name }} mode=0644

- name: Install epel-release package
  tags: epel_repo
  command: yum install -y /tmp/{{ epel_release_name }}
           creates=/etc/yum.repos.d/epel.repo

- name: Download arstats package
  tags: arstats_prod_repo
  get_url: url={{ arstats_release_url }}/{{ arstats_release_name }} dest=/tmp/{{ arstats_release_name }} mode=0644

- name: Install ar-release package
  tags: arstats_prod_repo
  command: yum install -y /tmp/{{ arstats_release_name }}
           creates=/etc/yum.repos.d/arstats.repo

- name: Install mongodb repo
  tags: mongodb_repo
  copy: src=etc/yum.repos.d/mongodb.repo
        dest=/etc/yum.repos.d/mongodb.repo backup=no
        owner=root group=root mode=0644