pmm_client

tests Ansible Galaxy

ansible-role-pmm-client

This role installs PMM client.

It is part of a family of Ansible roles allowing to setup and configure PMM:

Requirements

Ansible 2.10 or newer.

Supported Platforms

Role Variables

Variable Required Default Choices Comments
pmm_client_server_url true https://admin:[email protected]:443 string
pmm_client_server_insecure_tls true false bool
pmm_client_package_state true present string Use latest to upgrade PMM client.
pmm_client_services true [] list Services to configure. See 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

@boutetnico

Install
ansible-galaxy install boutetnico/ansible-role-pmm-client
GitHub repository
License
mit
Downloads
390
Owner
System Engineer