Skip to content
Snippets Groups Projects
Commit d5fdaaf4 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

tests/env_freeipa_facts.yml: Use lower case var names

The upper case name has been reported as issues by new ansible-lint.
parent fdd4b19b
No related branches found
No related tags found
No related merge requests found
...@@ -15,12 +15,12 @@ ...@@ -15,12 +15,12 @@
- name: Verify if host is an IPA server or client. - name: Verify if host is an IPA server or client.
shell: shell:
cmd: | cmd: |
echo SomeADMINpassword | kinit -c {{ KRB5CCNAME }} admin echo SomeADMINpassword | kinit -c {{ krb5ccname }} admin
RESULT=$(KRB5CCNAME={{ KRB5CCNAME }} ipa server-show `hostname` && echo SERVER || echo CLIENT) RESULT=$(KRB5CCNAME={{ krb5ccname }} ipa server-show `hostname` && echo SERVER || echo CLIENT)
kdestroy -A -c {{ KRB5CCNAME }} kdestroy -A -c {{ krb5ccname }}
echo $RESULT echo $RESULT
vars: vars:
KRB5CCNAME: "__check_ipa_host_is_client_or_server__" krb5ccname: "__check_ipa_host_is_client_or_server__"
register: output register: output
- name: Set FreeIPA facts. - name: Set FreeIPA facts.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment