Commit cc31a59d by Hannah Chen

fix variable names

parent bc629617
---
MONGODB_APT_KEY: "7F0CEB10"
MONGODB_APT_KEYSERVER: "keyserver.ubuntu.com"
MONGODB_REPO: "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse"
mongo_version: 3.2.12
MONGO_CLIENT_MONGODB_APT_KEY: "7F0CEB10"
MONGO_CLIENT_MONGODB_APT_KEYSERVER: "keyserver.ubuntu.com"
MONGO_CLIENT_MONGODB_REPO: "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse"
mongo_client_version: 3.2.12
mongo_client_debian_pkgs:
- "mongodb-org-shell={{ mongo_version }}"
- "mongodb-org-tools={{ mongo_version }}"
- "mongodb-org-shell={{ mongo_client_version }}"
- "mongodb-org-tools={{ mongo_client_version }}"
---
- name: add the mongodb signing key
apt_key:
id: "{{ MONGODB_APT_KEY }}"
keyserver: "{{ MONGODB_APT_KEYSERVER }}"
id: "{{ MONGO_CLIENT_MONGODB_APT_KEY }}"
keyserver: "{{ MONGO_CLIENT_MONGODB_APT_KEYSERVER }}"
state: present
tags:
- install
......@@ -10,7 +10,7 @@
- name: add the mongodb repo to the sources list
apt_repository:
repo: "{{ MONGODB_REPO }}"
repo: "{{ MONGO_CLIENT_MONGODB_REPO }}"
state: present
tags:
- install
......
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