github.com/weaveworks/common@v0.0.0-20230728070032-dd9e68f319d5/tools/config_management/setup_weave-net_dev.yml (about)

     1  ---
     2  ################################################################################
     3  # Install Docker from Docker's official repository and Weave Net.
     4  ################################################################################
     5  
     6  - name: install docker and weave net for development
     7    hosts: all
     8    gather_facts: false  # required in case Python is not available on the host
     9    become: true
    10    become_user: root
    11  
    12    pre_tasks:
    13      - include: library/setup_ansible_dependencies.yml
    14  
    15    roles:
    16      - setup-apt
    17      - dev-tools
    18      - golang-from-tarball
    19      - docker-install
    20      # Do not run this role when building with Vagrant, as sources have been already checked out:
    21      - { role: weave-net-sources, when: "ansible_user != 'vagrant'" }