mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 11:54:47 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user