Black Friday tra 20 giorni: i Suoi clienti potranno pagare? -25 % il 1° anno e configurazione offerta, fino al 30 novembreVedi l’offerta →
Integrazione
Moduli pathly_scenario, webhook, manutenzione e SLA: idempotenti, token fuori dal playbook.
Ottenere la mia chiave APIContratto OpenAPI
Documento completo, senza autenticazione, da passare al Suo generatore di client.
Collection pathlyhq.pathly: moduli pathly_scenario, pathly_webhook, pathly_maintenance_window, pathly_sla_target, pathly_scenario_info. Idempotenti (state: present/absent). Passi il token tramite environment o lookup passwordstore, mai in chiaro nel playbook Git.
install + ensure scenario
ansible-galaxy collection install pathlyhq.pathly
- name: Ensure checkout scenario
pathlyhq.pathly.pathly_scenario:
name: Checkout
url: https://www.example.com/cart
interval_sec: 300
state: present
environment:
PATHLY_API_TOKEN: "{{ pathly_token }}"info (sola lettura)
- name: Read scenario
pathlyhq.pathly.pathly_scenario_info:
name: Checkout
register: checkout
environment:
PATHLY_API_TOKEN: "{{ pathly_token }}"