boutetnico.pmm_client
ansible-role-pmm-client
This role installs the PMM client, which you can learn more about here.
It is part of a set of Ansible roles that help you set up and configure PMM:
Requirements
You need Ansible version 2.10 or newer.
Supported Platforms
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 22.04 (Jammy Jellyfish)
- Ubuntu - 24.04 (Noble Numbat)
Role Variables
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
pmm_client_server_url | Yes | https://admin:[email protected]:443 |
string | |
pmm_client_server_insecure_tls | Yes | false |
bool | |
pmm_client_package_state | Yes | present |
string | Use latest to upgrade the PMM client. |
pmm_client_services | Yes | [] |
list | Services to configure. Refer to defaults/main.yml . |
Dependencies
Example Playbook
- hosts: all
roles:
- role: ansible-role-pmm-client
pmm_client_server_insecure_tls: true
pmm_client_services:
- type: mysql
name: "service-mysql"
flags: "--username=root --password=root"
- type: mongodb
name: "service-mongodb"
flags: "--port=27017"
Testing
Debian
molecule --base-config molecule/shared/base.yml test --scenario-name debian-11
molecule --base-config molecule/shared/base.yml test --scenario-name debian-12
Ubuntu
molecule --base-config molecule/shared/base.yml test --scenario-name ubuntu-2204
molecule --base-config molecule/shared/base.yml test --scenario-name ubuntu-2404
License
MIT
Author Information
Created by @boutetnico
Informazioni sul progetto
Install and configure PMM client.
Installa
ansible-galaxy install boutetnico.pmm_client
Licenza
mit
Download
473
Proprietario
System Engineer