Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.26 KB

README.md

File metadata and controls

50 lines (36 loc) · 1.26 KB

Ansible Collection - hazel_shen.line_notify

Documentation for the collection.

ansible-galaxy collection install hazel_shen.line_notify --ignore-certs

LINE Notify API Document

LINE Notify API Document

How to use this collection

Download collection from Ansible Galaxy

# Download Ansible collection
ansible-galaxy collection install hazel_shen.line_notify

The following is example playbook:

---
- hosts: localhost
  collections:
  - hazel_shen.line_notify
  
  tasks:
  - name: line notify
    line_notify:
      access_token: "{{ access_token }}"
      message_content: "{{ message_content }}"

How to use on Ansible Tower

Your project tree should be like this:

line_notify_tree

Please put these code into requirements.yml:

---
collections:
- hazel_shen.line_notify

Ansible Tower will download collection automatically when you execute the playbook with collection requirement.

Use case - Notify someone when things go wrong :'(

Ansible Tower Workflow

How to develop