Skip to content
  • Guillaume Abrioux's avatar
    osd: copy on all osd nodes before running it · 81906344
    Guillaume Abrioux authored
    Otherwise it will fail when running rolling_update.yml playbook because
    of `serial: 1` usage.
    The task which copies the script is run against the current node being
    played only whereas the task which runs the script is run against all
    nodes in a loop, it ends up with the typical error:
    2019-08-08 17:47:05,115 p=14905 u=ubuntu |  failed: [magna023 -> magna030] (item=magna030) => {
        "changed": true,
        "cmd": [
        "delta": "0:00:00.004339",
        "end": "2019-08-08 17:46:59.059670",
        "invocation": {
            "module_args": {
                "_raw_params": "/usr/bin/env bash /tmp/",
                "_uses_shell": false,
                "argv": null,
                "chdir": null,
                "creates": null,
                "executable": null,
                "removes": null,
                "stdin": null,
                "warn": true
        "item": "magna030",
        "msg": "non-zero return code",
        "rc": 127,
        "start": "2019-08-08 17:46:59.055331",
        "stderr": "bash: /tmp/ No such file or directory",
        "stderr_lines": [
            "bash: /tmp/ No such file or directory"
        "stdout": "",
        "stdout_lines": []
    Signed-off-by: default avatarGuillaume Abrioux <>