Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
Guillaume Abrioux 4afe1b748c update: reset mon_host after mons upgrade
after all mon are upgraded, let's reset mon_host which is used in the
rest of the playbook for setting `container_exec_cmd` so we are sure to
use the right value.

Typical error:

```
failed: [mds0 -> mon0] (item={u'path': u'/var/lib/ceph/bootstrap-mds/ceph.keyring', u'name': u'client.bootstrap-mds', u'copy_key': True}) => changed=true
  ansible_loop_var: item
  cmd:
  - docker
  - exec
  - ceph-mon-mon2
  - ceph
  - --cluster
  - ceph
  - auth
  - get
  - client.bootstrap-mds
  delta: '0:00:00.016294'
  end: '2019-09-27 13:54:58.828835'
  item:
    copy_key: true
    name: client.bootstrap-mds
    path: /var/lib/ceph/bootstrap-mds/ceph.keyring
  msg: non-zero return code
  rc: 1
  start: '2019-09-27 13:54:58.812541'
  stderr: 'Error response from daemon: No such container: ceph-mon-mon2'
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit d84160a170)
2019-09-28 09:01:16 +02:00
.github/ISSUE_TEMPLATE Update issue templates 2018-07-12 14:10:15 +02:00
contrib remove ceph restapi references 2019-06-20 15:15:10 -04:00
docs switch to ansible 2.8 2019-05-21 09:17:46 +02:00
group_vars move python-xml to raw_install_python.yml 2019-09-27 17:50:10 +02:00
infrastructure-playbooks update: reset mon_host after mons upgrade 2019-09-28 09:01:16 +02:00
library osd: add wal_devices option support to ceph_volume module 2019-09-26 16:21:54 +02:00
plugins Replace ipaddr() with ips_in_ranges() 2019-09-27 17:49:46 +02:00
profiles Common: Add profiles 2017-07-19 11:50:03 +02:00
roles move python-xml to raw_install_python.yml 2019-09-27 17:50:10 +02:00
tests tests: pin jinja2 version 2019-09-26 16:21:54 +02:00
.gitignore remove ceph-agent role and references 2019-06-17 15:56:00 -04:00
.mergify.yml mergify: need 2 approvals to merge a 'skip ci' PR 2019-02-28 13:07:51 +01:00
.travis.yml Replace ipaddr() with ips_in_ranges() 2019-09-27 17:49:46 +02:00
CONTRIBUTING.md remove ceph-agent role and references 2019-06-17 15:56:00 -04:00
LICENSE Add Ceph Playbook 2014-03-03 19:08:51 +01:00
Makefile makefile: change distro to el8 2019-02-20 08:10:30 +00:00
README-MULTISITE.md rgw multisite: add more than 1 rgw to the master or secondary zone 2019-04-07 10:00:18 +00:00
README.rst Update Documentation example link to 3.0 2018-02-07 16:34:45 +01:00
Vagrantfile Inject ceph grafana dashboard layouts 2019-09-26 13:44:03 -04:00
ansible.cfg Replace ipaddr() with ips_in_ranges() 2019-09-27 17:49:46 +02:00
ceph-ansible.spec.in spec: bring back possibility to install ceph with custom repo 2019-06-10 08:10:26 +02:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
generate_group_vars_sample.sh remove ceph-agent role and references 2019-06-17 15:56:00 -04:00
raw_install_python.yml install python-xml on SUSE/openSUSE only if python2 is installed 2019-09-27 17:50:10 +02:00
requirements.txt switch to ansible 2.8 2019-05-21 09:17:46 +02:00
rhcs_edits.txt container: Allow to use registry authentication 2019-09-18 23:43:21 +02:00
site-container.yml.sample dashboard: move code into a dedicated playbook 2019-07-29 15:46:58 +02:00
site-docker.yml.sample site: symlink site-docker to site-container 2018-11-27 16:47:40 +00:00
site.yml.sample dashboard: add grafana dashboard support on Debian based OS 2019-09-27 09:12:39 +02:00
test.yml Remove spurious ceph. prefix for roles path in test.yml 2019-01-11 11:10:52 +01:00
tox-dashboard.ini tests: remove useless setting 2019-07-17 09:04:20 +00:00
tox-podman.ini Replace ipaddr() with ips_in_ranges() 2019-09-27 17:49:46 +02:00
tox-update.ini Replace ipaddr() with ips_in_ranges() 2019-09-27 17:49:46 +02:00
tox.ini Replace ipaddr() with ips_in_ranges() 2019-09-27 17:49:46 +02:00
vagrant_variables.yml.sample Fix units and add ability to have a dedicated instance 2019-06-12 11:48:12 +02: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/