Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
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
.github pytest: python-version typo 2024-10-16 16:57:57 +02:00
contrib Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00
docs Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00
group_vars ceph-handler: use haproxy maintenance for rgw restarts 2024-06-27 09:42:39 +02:00
infrastructure-playbooks cephadm-adopt: Alertmanager placement count missing 2024-10-14 10:33:53 +02:00
library ceph_orch_apply: fix yaml error when multiple rgw deployed 2024-08-23 13:56:29 +02:00
module_utils ceph_orch_spec: Add ceph orch apply spec feature 2024-05-21 10:04:47 +02:00
plugins Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00
profiles ceph-rgw: introduce rgw zone to the name schema 2024-05-13 13:26:02 +02:00
roles Don't try to set devices fact when osd_auto_discovery was skipped 2024-10-28 23:21:45 +01:00
tests radosgw_user: support caps on user 2024-08-20 08:41:11 +02:00
.deepsource.toml core: refactor code quality issues 2021-03-25 14:57:02 +01:00
.gitignore ceph-rgw: introduce rgw zone to the name schema 2024-05-13 13:26:02 +02:00
.mergify.yml mergify: add stable-8.0 2024-03-16 17:24:05 +01:00
.readthedocs.yaml doc: update readthedoc settings 2022-07-29 17:02:08 +02:00
CONTRIBUTING.md Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00
LICENSE Add Ceph Playbook 2014-03-03 19:08:51 +01:00
Makefile master->main 2022-05-30 15:15:15 +02:00
README.rst Welcome Back 🎉 2024-02-28 09:24:15 +01:00
Vagrantfile Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00
ansible.cfg whitelist->allowlist 2022-05-30 15:15:15 +02:00
ceph-ansible.spec.in drop rhcs references 2024-02-16 11:12:01 +01:00
dashboard.yml Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
generate_group_vars_sample.sh drop rhcs references 2024-02-16 11:12:01 +01:00
raw_install_python.yml install python-xml on SUSE/openSUSE only if python2 is installed 2019-09-27 14:19:32 +02:00
requirements.txt bump ansible-core to 2.16 2024-02-14 09:54:13 +01:00
requirements.yml ansible: bump to ansible 2.12 2022-06-15 08:09:10 +02:00
site-container.yml.sample Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00
site.yml.sample Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00
test.yml Remove spurious ceph. prefix for roles path in test.yml 2019-01-11 11:10:52 +01:00
tox-cephadm.ini tests: run vagrant_up.sh from dirname 2024-03-15 22:16:28 +01:00
tox-docker2podman.ini tests: run vagrant_up.sh from dirname 2024-03-15 22:16:28 +01:00
tox-external_clients.ini tests: run vagrant_up.sh from dirname 2024-03-15 22:16:28 +01:00
tox-podman.ini tests: run vagrant_up.sh from dirname 2024-03-15 22:16:28 +01:00
tox-rbdmirror.ini tests: run vagrant_up.sh from dirname 2024-03-15 22:16:28 +01:00
tox-shrink_osd.ini tests: run vagrant_up.sh from dirname 2024-03-15 22:16:28 +01:00
tox-subset_update.ini tests: run vagrant_up.sh from dirname 2024-03-15 22:16:28 +01:00
tox-update.ini tests: run vagrant_up.sh from dirname 2024-03-15 22:16:28 +01:00
tox.ini ceph-rgw: introduce rgw zone to the name schema 2024-05-13 13:26:02 +02:00
vagrant_variables.yml.sample Revert "nfs-ganesha support removal" 2024-06-20 11:54:36 +02:00

README.rst

Ceph Ansible
==============

    The project is still maintained for the time being but it is encouraged to migrate to `cephadm <https://docs.ceph.com/en/latest/cephadm/>`_.

Ansible playbooks for Ceph, the distributed object, block, and file storage platform.

Please refer to our hosted documentation here: https://docs.ceph.com/projects/ceph-ansible/en/latest/
You can view documentation for our ``stable-*`` branches by substituting ``main`` in the link
above for the name of the branch. For example: https://docs.ceph.com/projects/ceph-ansible/en/stable-8.0/