Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SASC
sentinel-legacy
Commits
5dd5313e
Commit
5dd5313e
authored
Jan 25, 2016
by
bow
Browse files
Make sure apt cache is updated before installing packages
parent
f50ceaf4
Changes
3
Hide whitespace changes
Inline
Side-by-side
deployment/ansible-role-mongodb/tasks/install.yml
View file @
5dd5313e
...
...
@@ -7,10 +7,10 @@
apt_repository
:
repo="deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 main" state=present
-
name
:
install mongodb-org
apt
:
pkg=mongodb-org=3.2.1 state=present
apt
:
pkg=mongodb-org=3.2.1 state=present
update_cache=yes
-
name
:
install PyMongo from apt
apt
:
pkg=python-pymongo state=latest
apt
:
pkg=python-pymongo state=latest
update_cache=yes
when
:
not mongodb_pymongo_pip_version
-
name
:
install pip
...
...
deployment/ansible-role-nginx/tasks/main.yml
View file @
5dd5313e
---
-
name
:
install nginx
apt
:
pkg=nginx state=present
apt
:
pkg=nginx state=present
update_cache=yes
deployment/ansible-role-sentinel/tasks/config.yml
View file @
5dd5313e
...
...
@@ -10,7 +10,7 @@
apt_repository
:
repo="deb http://http.debian.net/debian jessie-backports main" state=present
-
name
:
install system dependencies
apt
:
pkg={{ item }} state=present
apt
:
pkg={{ item }} state=present
update_cache=yes
with_items
:
-
apt-transport-https
-
build-essential
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment