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/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/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 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