Skip to content

Commit

Permalink
Add repo URL and Document
Browse files Browse the repository at this point in the history
  • Loading branch information
hazel-shen committed May 27, 2021
1 parent 1370050 commit 1c48845
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 5 deletions.
42 changes: 41 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,44 @@

Documentation for the collection.

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

## LINE Notify API Document

[LINE Notify API Document](https://notify-bot.line.me/doc/en/)

## How to use this collection

```
# 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:
.
├── collections
│ └── requirements.yml
└── line_notify_playbook.yml

Please put these code into `requirements.yml`:
```
---
collections:
- hazel_shen.line_notify
```

## How to develop
8 changes: 4 additions & 4 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ tags:
dependencies: {}

# The URL of the originating SCM repository
repository: http://example.com/repository
repository: https://github.com/hazel-shen/LINE_notify_collection

# The URL to any online docs
documentation: http://docs.example.com
documentation: https://github.com/hazel-shen/LINE_notify_collection

# The URL to the homepage of the collection/project
homepage: http://example.com
homepage: https://github.com/hazel-shen/LINE_notify_collection

# The URL to the collection issue tracker
issues: http://example.com/issue/tracker
issues: https://github.com/hazel-shen/LINE_notify_collection/issues

0 comments on commit 1c48845

Please sign in to comment.