Store all package repo URLs in variables
This change stores the URL of each package repo in a variable to allow for them to be overridable through user configuration. Change-Id: I2e25029dab4969181a4481af68ed802414e8d5c1 Closes-Bug: 1414880
This commit is contained in:
parent
728f785ad2
commit
c7f37d6efc
|
@ -43,6 +43,16 @@ external_vip_address: "{{ external_lb_vip_address }}"
|
|||
rpc_repo_url: "https://mirror.rackspace.com/rackspaceprivatecloud"
|
||||
rpc_release: master
|
||||
|
||||
## URLs for package repos
|
||||
mariadb_repo_url: "http://mirror.rackspace.com/rackspaceprivatecloud/mirror/mariadb/mariadb-5.5.41/repo/ubuntu/"
|
||||
ubuntu_lxc_repo_url: "ppa:ubuntu-lxc/stable"
|
||||
elasticsearch_repo_url: "http://packages.elasticsearch.org/elasticsearch/1.2/debian"
|
||||
logstash_repo_url: "http://packages.elasticsearch.org/logstash/1.4/debian"
|
||||
rabbitmq_repo_url: "http://www.rabbitmq.com/debian/"
|
||||
rsyslog_repo_url: "ppa:adiscon/v8-stable"
|
||||
raxmon_repo_url: "http://stable.packages.cloudmonitoring.rackspace.com/ubuntu-14.04-x86_64"
|
||||
|
||||
|
||||
## GPG Keys
|
||||
gpg_keys:
|
||||
- { key_name: 'mariadb', keyserver: 'hkp://keyserver.ubuntu.com:80', hash_id: '0xcbcb082a1bb943db' }
|
||||
|
@ -50,12 +60,12 @@ gpg_keys:
|
|||
|
||||
## Repositories
|
||||
apt_common_repos:
|
||||
- { repo: "deb http://mirror.rackspace.com/rackspaceprivatecloud/mirror/mariadb/mariadb-5.5.41/repo/ubuntu/ {{ ansible_distribution_release }} main", state: "present" }
|
||||
- { repo: "deb {{ mariadb_repo_url }} {{ ansible_distribution_release }} main", state: "present" }
|
||||
|
||||
apt_lxc_common_repos:
|
||||
- { repo: "ppa:ubuntu-lxc/stable", state: "present" }
|
||||
- { repo: "{{ ubuntu_lxc_repo_url }}", state: "present" }
|
||||
|
||||
get_pip_url: "https://mirror.rackspace.com/rackspaceprivatecloud/downloads/get-pip.py"
|
||||
get_pip_url: "{{ rpc_repo_url }}/downloads/get-pip.py"
|
||||
|
||||
|
||||
## Users that will not be created via container_common
|
||||
|
|
|
@ -19,7 +19,7 @@ apt_container_keys:
|
|||
- { url: "http://packages.elasticsearch.org/GPG-KEY-elasticsearch", state: "present" }
|
||||
|
||||
apt_container_repos:
|
||||
- { repo: "deb http://packages.elasticsearch.org/elasticsearch/1.2/debian stable main", state: "present"}
|
||||
- { repo: "deb {{ elasticsearch_repo_url }} stable main", state: "present"}
|
||||
|
||||
container_packages:
|
||||
- elasticsearch
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
# limitations under the License.
|
||||
|
||||
apt_host_repos:
|
||||
- { repo: "ppa:ubuntu-lxc/stable", state: "present" }
|
||||
- { repo: "{{ ubuntu_lxc_repo_url }}", state: "present" }
|
||||
|
||||
host_packages:
|
||||
- sysstat
|
||||
|
|
|
@ -20,7 +20,7 @@ apt_container_keys:
|
|||
- { url: "http://packages.elasticsearch.org/GPG-KEY-elasticsearch", state: "present" }
|
||||
|
||||
apt_container_repos:
|
||||
- { repo: "deb http://packages.elasticsearch.org/logstash/1.4/debian stable main", state: "present"}
|
||||
- { repo: "deb {{ logstash_repo_url }} stable main", state: "present"}
|
||||
|
||||
container_packages:
|
||||
- logstash
|
||||
|
|
|
@ -19,7 +19,7 @@ apt_container_keys:
|
|||
- { url: "http://www.rabbitmq.com/rabbitmq-signing-key-public.asc", state: "present" }
|
||||
|
||||
apt_container_repos:
|
||||
- { repo: "deb http://www.rabbitmq.com/debian/ testing main", state: "present" }
|
||||
- { repo: "deb {{ rabbitmq_repo_url }} testing main", state: "present" }
|
||||
|
||||
container_packages:
|
||||
- rabbitmq-server
|
||||
|
|
|
@ -17,7 +17,7 @@ apt_container_keys:
|
|||
- { url: "https://monitoring.api.rackspacecloud.com/pki/agent/linux.asc", state: "present" }
|
||||
|
||||
apt_container_repos:
|
||||
- { repo: "deb http://stable.packages.cloudmonitoring.rackspace.com/ubuntu-14.04-x86_64 cloudmonitoring main", state: "present" }
|
||||
- { repo: "deb {{ raxmon_repo_url }} cloudmonitoring main", state: "present" }
|
||||
|
||||
container_packages:
|
||||
- rackspace-monitoring-agent
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
repo_package_name: rsyslog
|
||||
|
||||
apt_container_repos:
|
||||
- { repo: "ppa:adiscon/v8-stable", state: "present" }
|
||||
- { repo: "{{ rsyslog_repo_url }}", state: "present" }
|
||||
|
||||
service_pip_dependencies:
|
||||
- python-memcached
|
||||
|
|
Loading…
Reference in New Issue