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

Commit 8474f41

Browse files
authored
Deprecate collection and its contents (#10)
* Deprecate collection and its contents. * Added why. * Explicitly give version. * Add ignore file for 2.9.
1 parent 381b9b9 commit 8474f41

File tree

6 files changed

+31
-1
lines changed

6 files changed

+31
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![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)
33
[![Codecov](https://img.shields.io/codecov/c/github/felixfontein/ansible-hosttech_dns)](https://codecov.io/gh/felixfontein/ansible-hosttech_dns)
44

5-
**Please consider using the [`community.dns`](https://galaxy.ansible.com/community/dns) collection and its HostTech DNS modules instead!**
5+
**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!**
66

77
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).
88

changelogs/fragments/1.2.0.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
release_summary: Deprecation release.
2+
deprecated_features:
3+
- This collection is deprecated. Please use `community.dns <https://galaxy.ansible.com/community/dns>`_, which is also included
4+
in Ansible 4+. It contains improved versions of the modules of this collection and receives updates.

meta/runtime.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
---
22
requires_ansible: '>=2.9.10'
3+
plugin_routing:
4+
modules:
5+
hosttech_dns_record:
6+
deprecation:
7+
warning_text: The felixfontein.hosttech_dns.hosttech_dns_record is deprecated. Use community.dns.hetzner_dns_record_set instead.
8+
removal_version: 2.0.0
9+
hosttech_dns_record_info:
10+
deprecation:
11+
warning_text: The felixfontein.hosttech_dns.hosttech_dns_record_info is deprecated. Use community.dns.hetzner_dns_record_set_info instead.
12+
removal_version: 2.0.0

plugins/modules/hosttech_dns_record.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
1717
version_added: 1.0.0
1818
19+
deprecated:
20+
why: This collection is no longer updated.
21+
alternative: Use community.dns.hetzner_dns_record_set instead.
22+
removed_in: 2.0.0
23+
1924
description:
2025
- "Creates and deletes DNS records in Hosttech DNS service U(https://ns1.hosttech.eu/public/api?wsdl)."
2126

plugins/modules/hosttech_dns_record_info.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
1717
version_added: 1.0.0
1818
19+
deprecated:
20+
why: This collection is no longer updated.
21+
alternative: Use community.dns.hetzner_dns_record_set_info instead.
22+
removed_in: 2.0.0
23+
1924
description:
2025
- "Retrieves DNS records in Hosttech DNS service U(https://ns1.hosttech.eu/public/api?wsdl)."
2126

tests/sanity/ignore-2.9.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
plugins/modules/hosttech_dns_record.py validate-modules:deprecation-mismatch
2+
plugins/modules/hosttech_dns_record.py validate-modules:invalid-documentation
3+
plugins/modules/hosttech_dns_record.py validate-modules:missing-main-call
4+
plugins/modules/hosttech_dns_record_info.py validate-modules:deprecation-mismatch
5+
plugins/modules/hosttech_dns_record_info.py validate-modules:invalid-documentation
6+
plugins/modules/hosttech_dns_record_info.py validate-modules:missing-main-call

0 commit comments

Comments
 (0)