add dep to tco.changelog

This commit is contained in:
2023-10-12 16:10:30 +02:00
parent afc47dcaf8
commit 461d255e6b
2 changed files with 3 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ galaxy_info:
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.
dependencies: []
dependencies:
- { role: tco.changelog, myrole_name: ansible_dns }
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.

View File

@@ -10,7 +10,7 @@
ovh_api_application_secret: "{{ ovh_api_application_secret }}"
ovh_api_consumer_key: "{{ ovh_api_consumer_key }}"
zone: "{{ dns_zone }}"
record_name: "{{ item.record_name }}"
record_name: "{{ item.record_name | ansible.builtin.regex_replace( '.'+dns_zone, '' ) }}"
record_value: "{{ item.record_value }}"
record_type: "{{ item.record_type }}"
state: "{{ state }}"