Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

An Ansible role to install Weave networking for Docker nodes.

Notifications You must be signed in to change notification settings

hostwithquantum/ansible-weave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-lint ci

ansible-weave

The role will install weave on each host and create a network between them.

Requirements

  • docker-cli installed
  • systemd

Role Variables

See defaults/main.yml

Dependencies

None.

Example Playbook

Use the following to provision weave across an inventory group called servers:

- hosts: servers
  gather_facts: True
  gather_subset: network
  roles:
    - role: ansible-weave
      become: true
      vars:
        weave_inventory_group: servers
        weave_password: "abc"

Weave will need the following ports to work:

  • TCP 6783 and UDP 6783/6784 between nodes
  • TCP 6781/6782 for /metrics

License

Apache 2.0

Author Information

An optional section for the role authors to include contact information, or a website (HTML is not allowed).