Inchdev.mandrill_webhook

mandrill_webhook

Ten zestaw narzędzi pomaga w tworzeniu lub usuwaniu webhooka mandrilla z twojego konta.
https://mandrillapp.com/api/docs/webhooks.curl.html

Wymagania

Brak

Zmienne roli

Zmienne, które można przekazać do tej roli oraz ich krótkie opisy to:

Zmienna z domyślnymi wartościami:  
mandrill_api_version: 1.0  
mandrill_api_webhook_url: https://mandrillapp.com/api/{{mandrill_api_version}}/webhooks  
mandrill_api_output_format: .json  
mandrill_webhook_operation: present # "Present" do utworzenia webhooka, "absent" do jego usunięcia  
mandrill_operation: add # Używane wewnętrznie  
mandrill_request_url: "{{mandrill_api_webhook_url}}/{{mandrill_operation}}{{mandrill_api_output_format}}"  
mandrill_webhook_description: Wygenerowane za pomocą ansible  


Inne zmienne :  

mandrill_webhook_id: 51 # Wymagana do usunięcia  
mandrill_api_key: myApiKey # Wymagana  
mandrill_webhook_url: http://example.com/mandrill_webhook  

# Tablica operacji do skonfigurowania webhooka mandrilla  
mandrill_webhook_events:  
  - click  
  - open  

Zależności

Brak

Przykład Playbooka

---  
- hosts: lokalny  
  roles:  
    - role: mandrill_webhook  
      vars:  
        mandrill_webhook_id: 51  
        mandrill_api_key: myApiKey  
        mandrill_webhook_operation: absent  

---  
- hosts: lokalny  
  roles:  
    - role: mandrill_webhook  
      vars:  
        mandrill_webhook_url: http://example.com/mandrill_webhook  
        mandrill_webhook_description: Wspaniały webhook  
        mandrill_api_key: myApiKey  

Licencja

BSD

Informacje o autorze

https://github.com/Uelb

Zainstaluj
ansible-galaxy install Inchdev.mandrill_webhook
Licencja
Unknown
Pobrania
91
Właściciel