Commit 5d51b060 by Max Rothman

OPS-670: Stop using custom apt_repository module

parent f9558dd2
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
# GitHub requires version 1.7.10 or later # GitHub requires version 1.7.10 or later
# https://help.github.com/articles/https-cloning-errors # https://help.github.com/articles/https-cloning-errors
- name: Add git apt repository - name: Add git apt repository
apt_repository_1.8: repo="{{ common_git_ppa }}" apt_repository: repo="{{ common_git_ppa }}"
- name: Install role-independent useful system packages - name: Install role-independent useful system packages
# do this before log dir setup; rsyslog package guarantees syslog user present # do this before log dir setup; rsyslog package guarantees syslog user present
......
...@@ -27,12 +27,12 @@ ...@@ -27,12 +27,12 @@
- datadog - datadog
- name: remove unstable apt repository - name: remove unstable apt repository
apt_repository_1.8: repo='deb http://apt.datadoghq.com/ unstable main' state=absent apt_repository: repo='deb http://apt.datadoghq.com/ unstable main' state=absent
tags: tags:
- datadog - datadog
- name: install apt repository - name: install apt repository
apt_repository_1.8: repo='deb http://apt.datadoghq.com/ stable main' update_cache=yes apt_repository: repo='deb http://apt.datadoghq.com/ stable main' update_cache=yes
tags: tags:
- datadog - datadog
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
# adding chris-lea nodejs repo # adding chris-lea nodejs repo
- name: add ppas for current versions of nodejs - name: add ppas for current versions of nodejs
apt_repository_1.8: repo="{{ edxapp_chrislea_ppa }}" apt_repository: repo="{{ edxapp_chrislea_ppa }}"
- name: install system packages on which LMS and CMS rely - name: install system packages on which LMS and CMS rely
apt: pkg={{','.join(edxapp_debian_pkgs)}} state=present update_cache=yes apt: pkg={{','.join(edxapp_debian_pkgs)}} state=present update_cache=yes
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
state=present state=present
- name: install apt repository - name: install apt repository
apt_repository_1.8: apt_repository:
repo='deb http://ppa.launchpad.net/ondrej/mysql-5.6/ubuntu precise main' repo='deb http://ppa.launchpad.net/ondrej/mysql-5.6/ubuntu precise main'
update_cache=yes update_cache=yes
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
when: JENKINS_ADMIN_S3_PROFILE.secret_key is not defined when: JENKINS_ADMIN_S3_PROFILE.secret_key is not defined
- name: add admin specific apt repositories - name: add admin specific apt repositories
apt_repository_1.8: repo="{{ item }}" state=present update_cache=yes apt_repository: repo="{{ item }}" state=present update_cache=yes
with_items: jenkins_admin_debian_repos with_items: jenkins_admin_debian_repos
- name: create the scripts directory - name: create the scripts directory
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
# adding chris-lea nodejs repo # adding chris-lea nodejs repo
- name: add ppas for current versions of nodejs - name: add ppas for current versions of nodejs
apt_repository_1.8: repo="{{ jenkins_chrislea_ppa }}" apt_repository: repo="{{ jenkins_chrislea_ppa }}"
- name: install system packages for edxapp virtualenvs - name: install system packages for edxapp virtualenvs
apt: pkg={{','.join(jenkins_admin_debian_pkgs)}} state=present update_cache=yes apt: pkg={{','.join(jenkins_admin_debian_pkgs)}} state=present update_cache=yes
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
# adding chris-lea nodejs repo # adding chris-lea nodejs repo
- name: add ppas for current versions of nodejs - name: add ppas for current versions of nodejs
apt_repository_1.8: repo="{{ jenkins_chrislea_ppa }}" apt_repository: repo="{{ jenkins_chrislea_ppa }}"
- name: Install system packages - name: Install system packages
apt: pkg={{','.join(jenkins_debian_pkgs)}} apt: pkg={{','.join(jenkins_debian_pkgs)}}
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
state=present state=present
- name: add the mongodb repo to the sources list - name: add the mongodb repo to the sources list
apt_repository_1.8: > apt_repository: >
repo='{{ MONGODB_REPO }}' repo='{{ MONGODB_REPO }}'
state=present state=present
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
when: ansible_distribution == 'Amazon' when: ansible_distribution == 'Amazon'
- name: install apt repository - name: install apt repository
apt_repository_1.8: repo="{{ NEWRELIC_DEBIAN_REPO }}" update_cache=yes apt_repository: repo="{{ NEWRELIC_DEBIAN_REPO }}" update_cache=yes
when: ansible_distribution == 'Ubuntu' when: ansible_distribution == 'Ubuntu'
- name: install newrelic agent (apt) - name: install newrelic agent (apt)
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
apt: pkg={{ ",".join(rabbitmq_debian_pkgs) }} state=present apt: pkg={{ ",".join(rabbitmq_debian_pkgs) }} state=present
- name: add rabbit repository - name: add rabbit repository
apt_repository_1.8: repo="{{ rabbitmq_repository }}" state=present update_cache=yes apt_repository: repo="{{ rabbitmq_repository }}" state=present update_cache=yes
- name: fetch the rabbitmq server deb - name: fetch the rabbitmq server deb
get_url: > get_url: >
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# #
- name: add the redis ppa - name: add the redis ppa
apt_repository_1.8: repo="{{ redis_ppa }}" apt_repository: repo="{{ redis_ppa }}"
- name: install redis system packages - name: install redis system packages
apt: pkg={{ item }} install_recommends=yes state=present apt: pkg={{ item }} install_recommends=yes state=present
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment