Execution
Date
17 Apr 2026 11:47:27 +0100
Duration
00:00:12.09
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.13
ara
1.7.5 / 1.7.5
Python
3.10.10
Summary
1
Hosts
2
Tasks
2
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusOK
-
Duration00:00:00.60
-
PlayPlaybook to install postmark and postfix
-
TaskSet email alias for user root
-
Date17 Apr 2026 11:47:39 +0100
-
Module / Actionansible.builtin.shell (/home/ssh-gateway/ansible/kuly/RM10331-deploy_postmark_postfix.yaml:30)
-
Tags
- newaliases
| Field | Value |
|---|---|
| changed |
False |
| cmd |
set -o pipefail sed -i '/root:/d' /etc/aliases echo "root: opsmonitor@layershift.com" >> /etc/aliases newaliases systemctl restart postfix.service systemctl --no-pager status postfix.service |
| delta |
0:00:00.223877 |
| end |
2026-04-17 10:47:39.536834 |
| invocation |
{ "module_args": { "_raw_params": "set -o pipefail\nsed -i '/root:/d' /etc/aliases\necho \"root: opsmonitor@layershift.com\" >> /etc/aliases\nnewaliases\nsystemctl restart postfix.service\nsystemctl --no-pager status postfix.service\n", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": "/bin/bash", "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } } |
| msg |
|
| rc |
0 |
| start |
2026-04-17 10:47:39.312957 |
| stderr |
|
| stderr_lines |
[]
|
| stdout |
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2026-04-17 10:47:39 UTC; 2ms ago
Process: 316914 ExecStop=/usr/sbin/postfix stop (code=exited, status=0/SUCCESS)
Process: 316938 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)
Process: 316935 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
Process: 316925 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)
Main PID: 317009 (master)
Tasks: 3
Memory: 10.1M
CGroup: /system.slice/postfix.service
├─317009 /usr/libexec/postfix/master -w
├─317010 pickup -l -t unix -u
└─317011 qmgr -l -t unix -u
Apr 17 10:47:39 hna11.j.layershift.co.uk systemd[1]: Starting Postfix Mail Transport Agent...
Apr 17 10:47:39 hna11.j.layershift.co.uk postfix/postfix-script[317007]: starting the Postfix mail system
Apr 17 10:47:39 hna11.j.layershift.co.uk postfix/master[317009]: daemon started -- version 2.10.1, configuration /etc/postfix
Apr 17 10:47:39 hna11.j.layershift.co.uk systemd[1]: Started Postfix Mail Transport Agent.
|
| stdout_lines |
[ "\u25cf postfix.service - Postfix Mail Transport Agent", " Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)", " Active: active (running) since Fri 2026-04-17 10:47:39 UTC; 2ms ago", " Process: 316914 ExecStop=/usr/sbin/postfix stop (code=exited, status=0/SUCCESS)", " Process: 316938 ExecStart=/usr/sbin/postfix start (code=exited, status=0/SUCCESS)", " Process: 316935 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)", " Process: 316925 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=0/SUCCESS)", " Main PID: 317009 (master)", " Tasks: 3", " Memory: 10.1M", " CGroup: /system.slice/postfix.service", " \u251c\u2500317009 /usr/libexec/postfix/master -w", " \u251c\u2500317010 pickup -l -t unix -u", " \u2514\u2500317011 qmgr -l -t unix -u", "", "Apr 17 10:47:39 hna11.j.layershift.co.uk systemd[1]: Starting Postfix Mail Transport Agent...", "Apr 17 10:47:39 hna11.j.layershift.co.uk postfix/postfix-script[317007]: starting the Postfix mail system", "Apr 17 10:47:39 hna11.j.layershift.co.uk postfix/master[317009]: daemon started -- version 2.10.1, configuration /etc/postfix", "Apr 17 10:47:39 hna11.j.layershift.co.uk systemd[1]: Started Postfix Mail Transport Agent." ] |