stackhpc / ansible-slurm-appliance

A Slurm-based HPC workload management environment, driven by Ansible.
36 stars 15 forks source link

Filebeat install task fails #371

Closed sjpb closed 3 months ago

sjpb commented 4 months ago
TASK [filebeat : Reload filebeat unit file] *****************************************
fatal: [control]: FAILED! => {
    "changed": true,
    "cmd": [
        "systemctl",
        "daemon-reload"
    ],
    "delta": "0:00:00.067162",
    "end": "2024-02-29 12:34:20.509097",
    "rc": 1,
    "start": "2024-02-29 12:34:20.441935"
}

STDERR:

Failed to reload daemon: Interactive authentication required.

PR #351 missed the become off the systemd reload, so if the unitfile changes (e.g. during upgrades) the task fails.