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

     1  ---
     2  ################################################################################
     3  # Install Docker and Kubernetes, and configure Kubernetes to
     4  # use Weave Net's CNI plugin (a.k.a. Weave Kube).
     5  #
     6  # See also:
     7  # - http://kubernetes.io/docs/getting-started-guides/kubeadm/
     8  # - https://github.com/weaveworks/weave-kube
     9  ################################################################################
    10  
    11  - name: install docker, kubernetes and weave-kube
    12    hosts: all
    13    gather_facts: false  # required in case Python is not available on the host
    14    become: true
    15    become_user: root
    16  
    17    pre_tasks:
    18      - include: library/setup_ansible_dependencies.yml
    19  
    20    roles:
    21      - docker-install
    22      - weave-net-utilities
    23      - kubernetes-install
    24      - kubernetes-docker-images
    25      - kubelet-stop
    26      - kubernetes-start
    27      - weave-kube