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

Commit

Permalink
Merge branch 'master' into vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 authored Mar 8, 2017
2 parents 765ea1f + 5c4490f commit dd836e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if test "$(uname)" = "Darwin"; then
brew upgrade ansible
fi
elif test "$(uname)" = "Linux"; then
if test -f /etc/lsb-release -a ! "$(which ansible)"; then
if test -f /etc/lsb-release && test ! "$(which ansible)"; then
echo "Installing ansible..."
sudo apt-get install -y software-properties-common
sudo apt-add-repository -y ppa:ansible/ansible
Expand Down
3 changes: 3 additions & 0 deletions tasks/docker.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
- name: Add Docker keys
apt_key: url=https://apt.dockerproject.org/gpg
when: is_ubuntu13_plus
- name: Add Docker repository
apt_repository: repo='deb https://apt.dockerproject.org/repo ubuntu-{{ ansible_distribution_release }} main'
when: is_ubuntu13_plus
Expand Down

0 comments on commit dd836e8

Please sign in to comment.