From 3b6bd4672a2984fd5df8d63b21af4bb7158e45a1 Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Wed, 20 Nov 2024 14:14:59 -0500 Subject: [PATCH] Print client install log --- .github/workflows/build.yml | 3 +++ readme.md | 1 + src/ansible/roles/client/tasks/enroll_IPA.yml | 11 +++++++++++ 3 files changed, 15 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cda3a4a1..6c64446f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,6 +49,9 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 + - name: Setup upterm session + uses: lhotari/action-upterm@v1 + - name: Install dependencies uses: ./.github/actions/install-dependencies with: diff --git a/readme.md b/readme.md index 873a8ae5..d355fb72 100644 --- a/readme.md +++ b/readme.md @@ -303,3 +303,4 @@ are: base-keycloak --> keycloak ``` + diff --git a/src/ansible/roles/client/tasks/enroll_IPA.yml b/src/ansible/roles/client/tasks/enroll_IPA.yml index 623aa020..b1ab3a2c 100644 --- a/src/ansible/roles/client/tasks/enroll_IPA.yml +++ b/src/ansible/roles/client/tasks/enroll_IPA.yml @@ -11,9 +11,20 @@ --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: Pause for a long time, debug here + pause: + seconds: 3600 + - name: Stat {{ ipa_keytab }} stat: path: "{{ ipa_keytab }}"