Ansible Collection - hazel_shen.line_notify

Documentation for the collection.

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

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 :'(

line_notify_use_case

GitHub

https://github.com/hazel-shen/LINE_notify_collection