Skip to content

Draft: ci: make ansible more verbose

Eric Engestrom requested to merge eric/ci-tron:ci-ansible-verbose into main

Changes the output from eg.:

TASK [sshd : Installing ssh] ***************************************************
ok: [localhost]

to:

TASK [sshd : Installing ssh] ***************************************************
changed: [localhost] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: openssh-clients-9.6p1-1.fc40.4.aarch64", "Installed: openssh-server-9.6p1-1.fc40.4.aarch64", "Installed: shadow-utils-2:4.15.1-3.fc40.aarch64", "Installed: sssd-client-2.9.5-1.fc40.aarch64", "Installed: openssh-9.6p1-1.fc40.4.aarch64", "Installed: libsss_idmap-2.9.5-1.fc40.aarch64", "Installed: libsss_nss_idmap-2.9.5-1.fc40.aarch64", "Removed: libsss_idmap-2.9.4-7.fc40.aarch64", "Removed: libsss_nss_idmap-2.9.4-7.fc40.aarch64", "Removed: openssh-9.6p1-1.fc40.2.aarch64", "Removed: openssh-clients-9.6p1-1.fc40.2.aarch64", "Removed: openssh-server-9.6p1-1.fc40.2.aarch64", "Removed: shadow-utils-2:4.15.1-2.fc40.aarch64", "Removed: sssd-client-2.9.4-7.fc40.aarch64"]}

or:

TASK [sshd : Installing ssh] ***************************************************
ok: [localhost] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []}

This is valuable to differentiate :)

Edited by Eric Engestrom

Merge request reports