Integration
Modules pathly_scenario, webhook, maintenance and SLA — idempotent, token out of the playbook.
OpenAPI contractIssue an API keyFree Solo account
Full document, no authentication, ready for your client generator.
Collection pathlyhq.pathly: modules pathly_scenario, pathly_webhook, pathly_maintenance_window, pathly_sla_target, pathly_scenario_info. Idempotent (state: present/absent). Pass the token via environment or passwordstore lookup — never plaintext in a Git playbook.
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 (lecture seule)
- name: Read scenario
pathlyhq.pathly.pathly_scenario_info:
name: Checkout
register: checkout
environment:
PATHLY_API_TOKEN: "{{ pathly_token }}"