Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sdorra/ansible-collection-porkbun
https://github.com/sdorra/ansible-collection-porkbun
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sdorra/ansible-collection-porkbun
- Owner: sdorra
- Created: 2023-07-18T11:27:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-05T01:54:43.000Z (about 1 year ago)
- Last Synced: 2024-04-14T03:13:04.016Z (7 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Collection - sdorra.porkbun
This Ansible Collection provides a module for managing DNS records on [porkbun](https://porkbun.com/).
## Included content
This collection includes the following module:
- `porkbun_record`: This module allows you to create, update, and delete DNS records on [porkbun](https://porkbun.com/).
## Installation
The collection can be installed with the `ansible-galaxy` tool.
```bash
ansible-galaxy collection install sdorra.porkbun
```For more information have a look at the [ansible documentation](https://docs.ansible.com/ansible/latest/collections_guide/collections_installing.html#installing-collections)
## Using this collection
You can use the modules in this collection in your playbooks as follows:
```yaml
- name: Create DNS record
sdorra.porkbun.porkbun_record:
state: present
domain: example.com
record_type: A
name: www
content: 192.0.2.1
ttl: 3600
api_key: your_api_key
secret_api_key: your_secret_api_key
```Replace `your_api_key` and `your_secret_api_key` with your actual Porkbun API key and secret API key.
## License
This collection is licensed under the GNU General Public License v3.0.## Author
[Sebastian Sdorra](https://sdorra.dev)