Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
Arata Notsu 2bbb4acca6 site.yml.sample: fix install python2
Check `systempython2.stat` instead of `systempython2.stat.exists`.

Without this change, in the case that python2 is not installed, the `stat`
task fails without defining `systempython2.stat`. It leads that the next
installation tasks fail because of undefined `systempython2.stat`.

An example error output (edited for readability):

```
TASK [check for python2] ***********************************************
Wednesday 25 July 2018  14:52:47 +0900 (0:00:00.182)       0:00:00.182 *
fatal: [ceph-osd1.vlan221.vtj]: FAILED! => {
"changed": false, "module_stderr": "/bin/sh: 1: /usr/bin/python: not
found\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 127}
...ignoring

TASK [install python2 for debian based systems] ************************
Wednesday 25 July 2018  14:51:00 +0900 (0:00:01.742)       0:00:01.926 *
fatal: [ceph-mon2]: FAILED! => {
"msg": "The conditional check 'systempython2.stat.exists is undefined or
systempython2.stat.exists == false' failed. The error was: error while
evaluating conditional (systempython2.stat.exists is undefined or
systempython2.stat.exists == false): 'dict object' has no attribute 'stat'
\n\n The error appears to have been in
'/Users/arata/git/ceph-ansible/site.yml.sample': line 36, column 7, but
may\n be elsewhere in the file depending on the exact syntax problem.\n\n
The offending line appears to be:\n\n\n
    - name: install python2 for debian based systems\n
      ^ here\n
"}
...ignoring
```

Fixes: #2930
Signed-off-by: Arata Notsu <arata776@gmail.com>
2018-07-25 16:59:37 +00:00
.github/ISSUE_TEMPLATE Update issue templates 2018-07-12 14:10:15 +02:00
contrib contrib: check for lt 3 arguments 2018-05-16 19:03:33 +02:00
docker docker: add README documenting directory purpose 2016-09-21 18:21:50 -04:00
docs docs: update doc 2018-07-18 17:49:44 +02:00
group_vars nfs: change default stable branch for nfs-ganesha repo 2018-07-13 08:20:27 +00:00
infrastructure-playbooks rolling_update: set osd sortbitwise 2018-07-24 17:19:02 +02:00
library library: add a placeholder module for the validate action plugin 2018-05-18 17:58:24 +02:00
plugins Sync config_template with upstream for Ansible 2.6 2018-07-12 21:07:41 +00:00
profiles Common: Add profiles 2017-07-19 11:50:03 +02:00
roles rgw: add more config option for civetweb frontend 2018-07-25 13:19:14 +00:00
tests tests: followup on b89cc1746f 2018-07-24 16:55:15 +02:00
.gitignore Revert "add .vscode/ to gitignore" 2018-04-27 13:20:04 +02:00
.mergify.yml ci: remove DCO 2018-07-02 16:08:18 +02:00
CONTRIBUTING.md doc: Update CONTRIBUTING.md 2018-06-22 14:48:23 +02:00
LICENSE Add Ceph Playbook 2014-03-03 19:08:51 +01:00
Makefile Makefile: followup on #2585 2018-06-01 12:50:03 +02:00
README-MULTISITE.md Experimental RGW Multisite Support 2016-08-16 14:57:01 -04:00
README.rst Update Documentation example link to 3.0 2018-02-07 16:34:45 +01:00
Vagrantfile ceph-iscsi: rename group iscsi_gws 2018-06-08 10:21:54 +02:00
ansible.cfg tests: increase ssh timeout and retries in ansible.cfg 2018-06-07 18:00:52 +02:00
ceph-aio-no-vagrant.sh osd: simplify scenarios 2017-08-03 10:20:39 +02:00
ceph-ansible.spec.in set the python-notario version to >= 0.0.13 in ceph-ansible.spec.in 2018-05-18 17:58:24 +02:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
example-ansible-role-requirements.yml add a galaxy dependency file example 2016-02-12 15:55:42 +01:00
generate_group_vars_sample.sh contrib: fix generate group_vars samples 2018-06-08 10:21:54 +02:00
monitor_keys_example Add Monitor Keys example 2015-01-30 16:17:46 +01:00
requirements.txt main: update requirements.txt 2018-07-24 18:23:04 +02:00
rhcs_edits.txt rhcs: bump version to 3.0 for stable 3.1 2018-05-23 14:42:39 -07:00
rundep.sample common: remove hdparm 2018-07-07 08:53:47 +00:00
rundep_installer.sh Allow ceph-ansible to be run on a locally built/installed Ceph 2016-08-12 10:02:15 -04:00
site-docker.yml.sample ceph-iscsi: rename group iscsi_gws 2018-06-08 10:21:54 +02:00
site.yml.sample site.yml.sample: fix install python2 2018-07-25 16:59:37 +00:00
test.yml remove rbd-mirror as well from testing. No packages are available yet 2016-04-12 07:38:13 -04:00
tox.ini tests: do not deploy all daemons for shrink osds scenarios 2018-07-23 18:30:06 +02:00
vagrant_variables.yml.atomic Adding mgr_vms variable 2018-05-17 17:30:27 +02:00
vagrant_variables.yml.linode remove kernel.pid_max 2018-02-23 13:57:57 +01:00
vagrant_variables.yml.openstack vagrantfile: Ensure `devices` variable is a list 2017-07-13 00:44:49 +02:00
vagrant_variables.yml.sample remove kernel.pid_max 2018-02-23 13:57:57 +01:00

README.rst

ceph-ansible
============
Ansible playbooks for Ceph, the distributed filesystem.

Please refer to our hosted documentation here: http://docs.ceph.com/ceph-ansible/master/

You can view documentation for our ``stable-*`` branches by substituting ``master`` in the link
above for the name of the branch. For example: http://docs.ceph.com/ceph-ansible/stable-3.0/