Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sdorra/ansible-collection-porkbun


https://github.com/sdorra/ansible-collection-porkbun

Last synced: 25 days ago
JSON representation

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)