boutetnico.pmm_client

tests Ansible Galaxy

ansible-role-pmm-client

Ten role instaluje klienta PMM.

Jest częścią rodziny ról Ansible umożliwiających konfigurację PMM:

Wymagania

Ansible w wersji 2.10 lub nowszej.

Obsługiwane platformy

Zmienna roli

Zmienna Wymagana Domyślna Opcje Uwagi
pmm_client_server_url tak https://admin:[email protected]:443 ciąg
pmm_client_server_insecure_tls tak false bool
pmm_client_package_state tak present ciąg Użyj latest, aby zaktualizować klienta PMM.
pmm_client_services tak [] lista Usługi do skonfigurowania. Zobacz defaults/main.yml.

Zależności

Przykład playbooka

- 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"

Testowanie

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

Licencja

MIT

Informacje o autorze

@boutetnico

Zainstaluj
ansible-galaxy install boutetnico.pmm_client
Licencja
mit
Pobrania
473
Właściciel
System Engineer