From a2198f1109a15eda9104021b8bb5813cd719f118 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Sat, 23 Sep 2023 12:23:39 +0200 Subject: [PATCH] fix: Force playbook colour output --- .../bootstrap/roles/workloadcluster/tasks/clusterapi.yml | 8 -------- ansible/roles/os/templates/ansible.j2 | 4 ++++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/ansible/roles/firstboot/files/ansible_payload/bootstrap/roles/workloadcluster/tasks/clusterapi.yml b/ansible/roles/firstboot/files/ansible_payload/bootstrap/roles/workloadcluster/tasks/clusterapi.yml index c0f96c6..ea982b5 100644 --- a/ansible/roles/firstboot/files/ansible_payload/bootstrap/roles/workloadcluster/tasks/clusterapi.yml +++ b/ansible/roles/firstboot/files/ansible_payload/bootstrap/roles/workloadcluster/tasks/clusterapi.yml @@ -186,14 +186,6 @@ prefix: "{{ vapp['guestinfo.prefixlength'] }}" gateway: "{{ vapp['guestinfo.gateway'] }}" -# - name: Remove working files -# ansible.builtin.file: -# path: "{{ item }}" -# state: absent -# loop: "{{ query('ansible.builtin.fileglob', capi_clustermanifest.path ~ '/*.yaml') }}" -# loop_control: -# label: "{{ item | basename }}" - - name: Push git repository lvrfrc87.git_acp.git_acp: path: "{{ capi_clustermanifest.path }}" diff --git a/ansible/roles/os/templates/ansible.j2 b/ansible/roles/os/templates/ansible.j2 index 11523ea..c8a7c64 100644 --- a/ansible/roles/os/templates/ansible.j2 +++ b/ansible/roles/os/templates/ansible.j2 @@ -1,2 +1,6 @@ [defaults] callbacks_enabled = ansible.posix.profile_tasks +force_color = true + +[callback_profile_tasks] +task_output_limit = 5