Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Switch to using the new apt_repository module.
Browse files Browse the repository at this point in the history
  • Loading branch information
feanil authored and singingwolfboy committed Oct 28, 2014
1 parent c5203c8 commit 234f3f4
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion playbooks/roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# GitHub requires version 1.7.10 or later
# https://help.github.com/articles/https-cloning-errors
- name: Add git apt repository
apt_repository: repo="{{ common_git_ppa }}" validate_certs=no
apt_repository_1.8: repo="{{ common_git_ppa }}" validate_certs=no

- name: Install role-independent useful system packages
# do this before log dir setup; rsyslog package guarantees syslog user present
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/datadog/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- datadog

- name: install apt repository
apt_repository: repo='deb http://apt.datadoghq.com/ unstable main' update_cache=yes validate_certs=no
apt_repository_1.8: repo='deb http://apt.datadoghq.com/ unstable main' update_cache=yes validate_certs=no
tags:
- datadog

Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/edxapp/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

# adding chris-lea nodejs repo
- name: add ppas for current versions of nodejs
apt_repository: repo="{{ edxapp_chrislea_ppa }}" validate_certs=no
apt_repository_1.8: repo="{{ edxapp_chrislea_ppa }}" validate_certs=no

- name: install system packages on which LMS and CMS rely
apt: pkg={{','.join(edxapp_debian_pkgs)}} state=present update_cache=yes
Expand Down
4 changes: 2 additions & 2 deletions playbooks/roles/jenkins_admin/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
when: JENKINS_ADMIN_S3_PROFILE.secret_key is not defined

- name: add admin specific apt repositories
apt_repository: repo="{{ item }}" state=present update_cache=yes validate_certs=no
apt_repository_1.8: repo="{{ item }}" state=present update_cache=yes validate_certs=no
with_items: jenkins_admin_debian_repos

- name: create the scripts directory
Expand Down Expand Up @@ -117,7 +117,7 @@

# adding chris-lea nodejs repo
- name: add ppas for current versions of nodejs
apt_repository: repo="{{ jenkins_chrislea_ppa }}"
apt_repository_1.8: repo="{{ jenkins_chrislea_ppa }}"

- name: install system packages for edxapp virtualenvs
apt: pkg={{','.join(jenkins_admin_debian_pkgs)}} state=present update_cache=yes
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/jenkins_worker/tasks/system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

# adding chris-lea nodejs repo
- name: add ppas for current versions of nodejs
apt_repository: repo="{{ jenkins_chrislea_ppa }}" validate_certs=no
apt_repository_1.8: repo="{{ jenkins_chrislea_ppa }}" validate_certs=no

- name: Install system packages
apt: pkg={{','.join(jenkins_debian_pkgs)}}
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/mongo/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
state=present
- name: add the mongodb repo to the sources list
apt_repository: >
apt_repository_1.8: >
repo='{{ MONGODB_REPO }}'
state=present
validate_certs=no
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/newrelic/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
when: ansible_distribution == 'Amazon'

- name: install apt repository
apt_repository: repo="{{ NEWRELIC_DEBIAN_REPO }}" update_cache=yes validate_certs=no
apt_repository_1.8: repo="{{ NEWRELIC_DEBIAN_REPO }}" update_cache=yes validate_certs=no
when: ansible_distribution == 'Ubuntu'

- name: install newrelic agent (apt)
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/rabbitmq/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
apt: pkg={{",".join(rabbitmq_debian_pkgs)}} state=present

- name: add rabbit repository
apt_repository: repo="{{rabbitmq_repository}}" state=present update_cache=yes validate_certs=no
apt_repository_1.8: repo="{{rabbitmq_repository}}" state=present update_cache=yes validate_certs=no

- name: fetch the rabbitmq server deb
get_url: >
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/redis/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#

- name: add the redis ppa
apt_repository: repo="{{ redis_ppa }}" validate_certs=no
apt_repository_1.8: repo="{{ redis_ppa }}" validate_certs=no

- name: install redis system packages
apt: pkg={{ item }} install_recommends=yes state=present
Expand Down

0 comments on commit 234f3f4

Please sign in to comment.