mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-02 17:50:39 +00:00
22 lines
735 B
YAML
22 lines
735 B
YAML
---
|
|
################################################################################
|
|
# Install Docker from Docker's official repository and Weave Net.
|
|
################################################################################
|
|
|
|
- name: install docker and weave net for development
|
|
hosts: all
|
|
gather_facts: false # required in case Python is not available on the host
|
|
become: true
|
|
become_user: root
|
|
|
|
pre_tasks:
|
|
- include: library/setup_ansible_dependencies.yml
|
|
|
|
roles:
|
|
- setup-apt
|
|
- dev-tools
|
|
- golang-from-tarball
|
|
- docker-install
|
|
# Do not run this role when building with Vagrant, as sources have been already checked out:
|
|
- { role: weave-net-sources, when: "ansible_user != 'vagrant'" }
|