Fix ansible-lint error 502 (unnamed-task) for example playbooks.

This patch adds 'name' to all example playbook tasks that did not
have it, fixing ansible-lint's error 'unnamed-task'.
This commit is contained in:
Rafael Guterres Jeffman
2021-05-31 14:43:08 -03:00
parent e7d354c2d4
commit 3943adaa8d
99 changed files with 232 additions and 184 deletions

View File

@@ -1,12 +1,12 @@
---
- name: Test DNS Record is present.
- name: Playbook to manage DNS records.
hosts: ipaserver
become: true
gather_facts: false
tasks:
# Ensure that dns record is present
- ipadnsrecord:
- name: Ensure that dns record is present
ipadnsrecord:
ipaadmin_password: SomeADMINpassword
name: host01
zone_name: example.com