Intégration

Collection Ansible Pathly

Modules pathly_scenario, webhook, maintenance et SLA — idempotents, jeton hors playbook.

Contrat OpenAPIÉmettre une clé d’APICompte Solo gratuit

Document complet, sans authentification, à donner à votre générateur de client.

Collection Ansible

Collection pathlyhq.pathly : modules pathly_scenario, pathly_webhook, pathly_maintenance_window, pathly_sla_target, pathly_scenario_info. Idempotents (state: present/absent). Passez le jeton via environment ou lookup passwordstore — jamais en clair dans le 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 (lecture seule)

- name: Read scenario
  pathlyhq.pathly.pathly_scenario_info:
    name: Checkout
  register: checkout
  environment:
    PATHLY_API_TOKEN: "{{ pathly_token }}"