From 8d7ba75ee2e9b9c60ebf44180a169ba0c81a8f32 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Mon, 29 Sep 2025 12:00:04 -0400 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8=20Use=20ansible-output-prettify?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ansible.cfg | 1 + galaxy.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ansible.cfg b/ansible.cfg index 87df7f1376..d601cb4c54 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -6,6 +6,7 @@ force_handlers = True inventory = hosts nocows = 1 roles_path = vendor/roles +stdout_callback = prettify vars_plugins = ~/.ansible/plugins/vars:/usr/share/ansible/plugins/vars:lib/trellis/plugins/vars pipelining = True diff --git a/galaxy.yml b/galaxy.yml index 574332d4d3..15b29c4529 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -19,3 +19,6 @@ roles: - name: mailpit src: roots.mailpit version: v1.0.0 + + - src: https://github.com/roots/ansible-output-prettify.git + name: ansible-output-prettify From 19fc18d12adadc3260d3c6e73ef3dfcfb38c4e10 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Thu, 2 Oct 2025 02:18:24 -0400 Subject: [PATCH 2/2] Use ansible-output-prettify role --- deploy.yml | 1 + dev.yml | 1 + server.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/deploy.yml b/deploy.yml index cbe2d77de0..49deb5e10a 100644 --- a/deploy.yml +++ b/deploy.yml @@ -9,6 +9,7 @@ vars: dynamic_user: false roles: + - { role: ansible-output-prettify, tags: [always] } - { role: connection, tags: [connection, always] } - name: Deploy WP site diff --git a/dev.yml b/dev.yml index 5cec9d18ae..6c1ad58e07 100644 --- a/dev.yml +++ b/dev.yml @@ -5,6 +5,7 @@ remote_user: vagrant roles: + - { role: ansible-output-prettify, tags: [always] } - { role: common, tags: [common] } - { role: fail2ban, tags: [fail2ban] } - { role: ferm, tags: [ferm] } diff --git a/server.yml b/server.yml index d30eb2f88b..7581a9a68c 100644 --- a/server.yml +++ b/server.yml @@ -7,6 +7,7 @@ hosts: web:&{{ env }} gather_facts: false roles: + - { role: ansible-output-prettify, tags: [always] } - { role: connection, tags: [connection, always] } - name: WordPress Server - Install LEMP Stack with PHP and MariaDB MySQL