Fix ansible-lint E201 by removing trailing white space from playbooks.

This commit is contained in:
Rafael Guterres Jeffman
2020-09-21 12:47:35 -03:00
parent 926297f855
commit ca4e9cd1e7
5 changed files with 3 additions and 6 deletions

View File

@@ -31,7 +31,7 @@
ipaadmin_password: SomeADMINpassword
name: "{{ host1_fqdn }}"
principal:
- "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
- "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
force: yes
register: result
failed_when: not result.changed or result.failed

View File

@@ -34,11 +34,11 @@
hosts:
- name: "{{ host1_fqdn }}"
principal:
- "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
- "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
force: yes
- name: "{{ host2_fqdn }}"
principal:
- "{{ 'host/testhost2.' + ipaserver_domain + '@' + ipaserver_realm }}"
- "{{ 'host/testhost2.' + ipaserver_domain + '@' + ipaserver_realm }}"
force: yes
register: result
failed_when: not result.changed or result.failed