Skip to content

Commit

Permalink
Print client install log
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-stephenson committed Nov 20, 2024
1 parent e6b1619 commit c6e870f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/ansible/roles/client/tasks/enroll_IPA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,19 @@
--domain {{ ipa_domain | quote }} \
--principal admin \
--password {{ ipa_password | quote }}
ignore_errors: true
args:
creates: /etc/ipa/ca.crt

- name: Print log
shell: cat /var/log/ipaclient-install.log
register: out

- debug: var=out.stdout_lines

- name: force a failure
command: /bin/false

- name: Stat {{ ipa_keytab }}
stat:
path: "{{ ipa_keytab }}"
Expand Down

0 comments on commit c6e870f

Please sign in to comment.