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

@@ -4,7 +4,8 @@
become: true
tasks:
- ipahost:
- name: Ensure host member managedby_host 'server.example.com' is absent
ipahost:
ipaadmin_password: SomeADMINpassword
name: host01.example.com
managedby_host: server.example.com

View File

@@ -4,7 +4,8 @@
become: true
tasks:
- ipahost:
- name: Ensure host member managedby_host 'server.example.com' is present
ipahost:
ipaadmin_password: SomeADMINpassword
name: host01.example.com
managedby_host: server.example.com

View File

@@ -4,7 +4,8 @@
become: true
tasks:
- ipahost:
- name: Ensure host is present with managedby_host attribute.
ipahost:
ipaadmin_password: SomeADMINpassword
name: host01.example.com
managedby_host: server.example.com

View File

@@ -4,7 +4,7 @@
become: true
tasks:
- name: Ensure hosts manadegby_host is absent.
- name: Ensure hosts manadegby_host is present.
ipahost:
ipaadmin_password: SomeADMINpassword
hosts:

View File

@@ -4,7 +4,8 @@
become: true
tasks:
- ipahost:
- name: Ensure hosts are present with managedby_host attribute.
ipahost:
ipaadmin_password: SomeADMINpassword
hosts:
- name: host01.example.com