Fix ansible-lint E502 for test playbooks.

This patch adds 'name' to all test playbook tasks that did not
have it, fixing ansible-lint's error 'unnamed-task'.
This commit is contained in:
Rafael Guterres Jeffman
2020-11-26 18:01:17 -03:00
parent 0782e260f2
commit e7d354c2d4
12 changed files with 30 additions and 15 deletions

View File

@@ -15,7 +15,8 @@
ipaapi_context: "{{ ipa_context | default(omit) }}"
register: previousconfig
- debug:
- name: Display current configuration.
debug:
var: previousconfig
# setup environment.
@@ -478,7 +479,8 @@
ca_renewal_master_server: '{{ previousconfig.config.ca_renewal_master_server | default(omit) }}'
register: result
- debug:
- name: "CA-Renewal server warning."
debug:
msg: "Due to a test failure, IPA CA-Renewal Server might not be correctly be set. Check your configuration."
always: