Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
Deprecate collection and its contents (#10)
Browse files Browse the repository at this point in the history
* Deprecate collection and its contents.

* Added why.

* Explicitly give version.

* Add ignore file for 2.9.
  • Loading branch information
felixfontein authored Dec 10, 2021
1 parent 381b9b9 commit 8474f41
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![CI](https://github.com/felixfontein/ansible-hosttech_dns/workflows/CI/badge.svg?event=push&branch=main)](https://github.com/felixfontein/ansible-hosttech_dns/actions?query=workflow%3A%22CI%22+branch%3Amain)
[![Codecov](https://img.shields.io/codecov/c/github/felixfontein/ansible-hosttech_dns)](https://codecov.io/gh/felixfontein/ansible-hosttech_dns)

**Please consider using the [`community.dns`](https://galaxy.ansible.com/community/dns) collection and its HostTech DNS modules instead!**
**This collection and its contents are depreated! Please use the [`community.dns`](https://galaxy.ansible.com/community/dns) collection and its HostTech DNS modules instead!**

This repository provides an [Ansible](https://github.com/ansible/ansible) collection with modules to create, modify and delete DNS records for zones hosted at the Swiss provider [Hosttech](https://www.hosttech.ch/) using their [API](https://ns1.hosttech.eu/public/api?wsdl).

Expand Down
4 changes: 4 additions & 0 deletions changelogs/fragments/1.2.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
release_summary: Deprecation release.
deprecated_features:
- This collection is deprecated. Please use `community.dns <https://galaxy.ansible.com/community/dns>`_, which is also included
in Ansible 4+. It contains improved versions of the modules of this collection and receives updates.
10 changes: 10 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
---
requires_ansible: '>=2.9.10'
plugin_routing:
modules:
hosttech_dns_record:
deprecation:
warning_text: The felixfontein.hosttech_dns.hosttech_dns_record is deprecated. Use community.dns.hetzner_dns_record_set instead.
removal_version: 2.0.0
hosttech_dns_record_info:
deprecation:
warning_text: The felixfontein.hosttech_dns.hosttech_dns_record_info is deprecated. Use community.dns.hetzner_dns_record_set_info instead.
removal_version: 2.0.0
5 changes: 5 additions & 0 deletions plugins/modules/hosttech_dns_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
version_added: 1.0.0
deprecated:
why: This collection is no longer updated.
alternative: Use community.dns.hetzner_dns_record_set instead.
removed_in: 2.0.0
description:
- "Creates and deletes DNS records in Hosttech DNS service U(https://ns1.hosttech.eu/public/api?wsdl)."
Expand Down
5 changes: 5 additions & 0 deletions plugins/modules/hosttech_dns_record_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
version_added: 1.0.0
deprecated:
why: This collection is no longer updated.
alternative: Use community.dns.hetzner_dns_record_set_info instead.
removed_in: 2.0.0
description:
- "Retrieves DNS records in Hosttech DNS service U(https://ns1.hosttech.eu/public/api?wsdl)."
Expand Down
6 changes: 6 additions & 0 deletions tests/sanity/ignore-2.9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins/modules/hosttech_dns_record.py validate-modules:deprecation-mismatch
plugins/modules/hosttech_dns_record.py validate-modules:invalid-documentation
plugins/modules/hosttech_dns_record.py validate-modules:missing-main-call
plugins/modules/hosttech_dns_record_info.py validate-modules:deprecation-mismatch
plugins/modules/hosttech_dns_record_info.py validate-modules:invalid-documentation
plugins/modules/hosttech_dns_record_info.py validate-modules:missing-main-call

0 comments on commit 8474f41

Please sign in to comment.