-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hello,
I would like to be able to define a record with multiple values, e.g. an "A" record with multiple IP addresses.
I know this means multiple records in the nameserver and I could use a loop in Ansible to create those records.
However, doing it that way means I can't use the "solo" option because it would leave only a single record.
Therefore it would be helpful if the INWX module allowed to define a list of values.
For example:
- name: Create multiple A records
inwx.collection.dns:
domain: example.com
record: test
solo: true
type: A
value:
- 1.1.1.1
- 2.2.2.2
I would expect this to create two A records for test.example.com with values 1.1.1.1 and 2.2.2.2, and remove all other A records for test.example.com.
Metadata
Metadata
Assignees
Labels
No labels