Skip to content

hazel-shen/LINE_notify_collection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

One Ansible Module for using LINE notify API to send notification. It can be required in the collection list.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages