mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
This patch adds 'name' to all example playbook tasks that did not have it, fixing ansible-lint's error 'unnamed-task'.
22 lines
521 B
YAML
22 lines
521 B
YAML
---
|
|
- name: Playbook to manage DNS records.
|
|
hosts: ipaserver
|
|
become: true
|
|
gather_facts: false
|
|
|
|
tasks:
|
|
- name: Ensure that multiple dns records are present
|
|
ipadnsrecord:
|
|
ipaadmin_password: SomeADMINpassword
|
|
records:
|
|
- name: host01
|
|
zone_name: example.com
|
|
record_type: A
|
|
record_value:
|
|
- 192.168.122.112
|
|
- 192.168.122.122
|
|
- name: host01
|
|
zone_name: testzone.local
|
|
record_type: AAAA
|
|
record_value: ::1
|