An Ansible role for ensuring the configuration of PlantUML Server.
Requires Kubernetes, MetalLb and private Docker Registry installed.
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
docker_timeout | yes | 300 | Integer value | Number of seconds before docker pull timeout |
docker_retries | yes | 60 | Integer value | Number of tries for docker pull |
docker_delay | yes | 10 | Integer value | Delay in seconds between pull retries |
default_retries | yes | 60 | Integer value | Default number of retries |
default_delay | yes | 60 | Integer value | Default delay in seconds between retries |
plantuml_host | yes | not defined | String IP | IP address to expose as |
plantuml_port | yes | 80 | Integer value | Port to listen on |
plantuml_server_version | yes | latest | String value | Container image tag matching https://hub.docker.com/r/plantuml/plantuml-server/tags |
images_cache_path | no | not defined | Path | Path to folder used to cache saved Docker images |
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
- docker-registry
- k3s-server
- metallb
- gitlab
- plantuml-server
The above Ansible playbook uses my
- Common role to configure the instance past the base CentOS 7, Alpine 3.10 or Ubuntu Bionic image
- Docker role to install and configure Docker
- Docker-compose role to install Docker-compose
- Docker Registry role to install a private Docker registry
- K3s-server role to install Lightweight Kubernetes (K3s)
- metallb role to install MetalLB
- GitLab role to install GitLab
- This role to install PlantUML server
For more information and to see this role put into action checkout my Hands-on DevOps class project.
3-Clause BSD License
Michael Joseph Walsh mjwalsh@nemonik.com