ceph-ansible/roles
Guillaume Abrioux 81906344ee osd: copy systemd-device-to-id.sh on all osd nodes before running it
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": [
        "/usr/bin/env",
        "bash",
        "/tmp/systemd-device-to-id.sh"
    ],
    "delta": "0:00:00.004339",
    "end": "2019-08-08 17:46:59.059670",
    "invocation": {
        "module_args": {
            "_raw_params": "/usr/bin/env bash /tmp/systemd-device-to-id.sh",
            "_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/systemd-device-to-id.sh: No such file or directory",
    "stderr_lines": [
        "bash: /tmp/systemd-device-to-id.sh: No such file or directory"
    ],
    "stdout": "",
    "stdout_lines": []
}
```

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1739209

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2019-08-12 21:57:29 +02:00
..
ceph-agent remove ceph-agent role and references 2019-06-17 14:42:08 -04:00
ceph-client osd: add 'osd blacklist' cap for osp keyrings 2019-08-07 10:43:04 +02:00
ceph-common remove all NBSPs char in stable-3.2 branch 2019-04-10 13:27:48 +02:00
ceph-common-coreos don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
ceph-config rgw: add beast frontend 2019-08-01 10:10:09 +02:00
ceph-defaults osd: add 'osd blacklist' cap for osp keyrings 2019-08-07 10:43:04 +02:00
ceph-docker-common validate: change default value for `radosgw_address` 2018-11-28 23:54:06 +01:00
ceph-facts ceph-infra: make chronyd default NTP daemon 2019-06-18 10:46:34 +02:00
ceph-fetch-keys ceph-fetch-keys: refact 2018-10-17 11:26:11 +00:00
ceph-handler ceph-osd: use OSD id with systemd ceph-disk 2019-07-26 16:07:22 -04:00
ceph-infra ceph-infra: update handler with daemon variable 2019-07-12 10:50:04 -04:00
ceph-iscsi-gw iscsi: assign application (rbd) to pool 'rbd' 2019-06-13 14:43:25 +02:00
ceph-mds update default rhcs values and docs 2019-06-04 14:18:23 +02:00
ceph-mgr update default rhcs values and docs 2019-06-04 14:18:23 +02:00
ceph-mon update default rhcs values and docs 2019-06-04 14:18:23 +02:00
ceph-nfs ceph-nfs: use template module for configuration 2019-06-24 20:47:25 +02:00
ceph-osd osd: copy systemd-device-to-id.sh on all osd nodes before running it 2019-08-12 21:57:29 +02:00
ceph-rbd-mirror update default rhcs values and docs 2019-06-04 14:18:23 +02:00
ceph-restapi Change docker_container parameter network to network_mode 2019-03-18 13:23:10 +00:00
ceph-rgw update default rhcs values and docs 2019-06-04 14:18:23 +02:00
ceph-validate/tasks rgw: add beast frontend 2019-08-01 10:10:09 +02:00
ceph.ceph-common rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
ceph.ceph-docker-common ceph-docker-common: add symlink to ceph.ceph-docker-common 2017-01-16 10:42:42 -06:00