Skip to content

nemonik/metallb-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MetalLB Ansible role

Basic role syntax check

An Ansible role for ensuring the configuration of MetalLB.

Requirements

Requires Kubernetes installed.

Role Variables

Variable Required Default Choices Comments
metallb_version yes v0.8.3 matches release tag metallb version to install
network_prefix yes 192.168.0 first 3 octets The ip address prefix for ips to use
images_cache_path no not defined Path Path to folder used to cache saved Docker images
cache_container_timeout no 300 seconds Integer value Number of seconds before Ansible times out

Example Playbook

An example can be found used in my Hands-on DevOps course's ansible/master-playbook.yml.

- hosts: masters
  remote_user: vagrant
  roles:
    - common
    - docker
    - docker-compose
    - k3s-server
    - metallb

The above Ansible playbook uses my

For more information and to see this role put into action checkout my Hands-on DevOps class project.

License

3-Clause BSD License

Author Information

Michael Joseph Walsh mjwalsh@nemonik.com

Releases

No releases published

Packages

No packages published