ceph-ansible/roles
Dmitriy Rabotyagov 9405558d03 Don't try to set devices fact when osd_auto_discovery was skipped
Right now, under certain OS and Ansible versions, ie Rocky Linux and
ansible-core 2.17, `devices_check` variable is getting defined even if
task was skipped.

That results in set_fact to fail, as resulting variable has no `results`
key in it.

Structure of such variable looks like that:
```
"devices_check": {
    "changed": false,
    "false_condition": "osd_auto_discovery | default(False) | bool",
    "skip_reason": "Conditional result was False",
    "skipped": true
}
```

Checking for task not being skipped solves such issues.

Signed-off-by: Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
2024-10-28 23:21:45 +01:00
..
ceph-client address Ansible linter errors 2024-02-16 00:38:19 +01:00
ceph-common Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00
ceph-config ceph-rgw: introduce rgw zone to the name schema 2024-05-13 13:26:02 +02:00
ceph-container-common Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00
ceph-container-engine container-engine: enforce docker for Ubuntu os family 2024-03-20 10:34:56 +01:00
ceph-crash container: cleanup container systemd units 2024-02-19 23:14:26 +01:00
ceph-dashboard drop iscsigw support 2024-02-16 08:59:05 +01:00
ceph-defaults ceph-handler: use haproxy maintenance for rgw restarts 2024-06-27 09:42:39 +02:00
ceph-exporter ceph-exporter: add installation role 2024-03-07 20:22:44 +01:00
ceph-facts Don't try to set devices fact when osd_auto_discovery was skipped 2024-10-28 23:21:45 +01:00
ceph-fetch-keys address Ansible linter errors 2024-02-16 00:38:19 +01:00
ceph-grafana address Ansible linter errors 2024-02-16 00:38:19 +01:00
ceph-handler ceph-handler: use haproxy maintenance for rgw restarts 2024-06-27 09:42:39 +02:00
ceph-infra Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00
ceph-mds ceph-exporter: add installation role 2024-03-07 20:22:44 +01:00
ceph-mgr systemd: export params as a varaible 2024-03-07 20:21:47 +01:00
ceph-mon ceph-mon: move the ceph_config call to ceph-mon role 2024-04-11 18:46:34 +02:00
ceph-nfs Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00
ceph-node-exporter address Ansible linter errors 2024-02-16 00:38:19 +01:00
ceph-osd ceph-osd: introduce ec profile creation 2024-03-16 20:17:45 +01:00
ceph-prometheus drop iscsigw support 2024-02-16 08:59:05 +01:00
ceph-rbd-mirror address Ansible linter errors 2024-02-16 00:38:19 +01:00
ceph-rgw ceph-rgw: introduce rgw zone to the name schema 2024-05-13 13:26:02 +02:00
ceph-rgw-loadbalancer address Ansible linter errors 2024-02-16 00:38:19 +01:00
ceph-validate Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00