Ansible playbooks to deploy Ceph, the distributed filesystem.
 
 
 
 
Go to file
Guillaume Abrioux 3849f30f58 purge: do not remove /var/lib/apt/lists/*
removing the content of this directory seems a bit agressive and cause a
redeployment to fail after a purge on debian based distrubition.

Typical error:
```
fatal: [mon0]: FAILED! => changed=false
  attempts: 3
  msg: No package matching 'ceph' is available
```

The following task will consider the cache is still valid, so apt
doesn't refresh it:
```
- name: update apt cache if cache_valid_time has expired
  apt:
    update_cache: yes
    cache_valid_time: 3600
  register: result
  until: result is succeeded
```

since the task installing ceph packages has a `update_cache: no` it
fails:

```
- name: install ceph for debian
  apt:
    name: "{{ debian_ceph_pkgs | unique }}"
    update_cache: no
    state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
    default_release: "{{ ceph_stable_release_uca | default('') }}{{ ansible_distribution_release ~ '-backports' if ceph_origin == 'distro' and ceph_use_distro_backports else '' }}"
  register: result
  until: result is succeeded
```

/tmp/* isn't specific to ceph as well, so we shouldn't remove everything
in this directory.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2019-03-01 20:31:14 +00:00
.github/ISSUE_TEMPLATE Update issue templates 2018-07-12 14:10:15 +02:00
contrib docker-common: rename role 2018-11-12 10:51:48 +01:00
docs Revert "tests: add ubuntu bionic support" 2019-02-22 16:24:18 +01:00
group_vars mon: Move client admin variable to defaults 2019-02-27 18:39:39 +00:00
infrastructure-playbooks purge: do not remove /var/lib/apt/lists/* 2019-03-01 20:31:14 +00:00
library tests: update ceph_volume tests 2019-02-28 12:01:18 +00:00
plugins validate: do not validate lvm config if osd_auto_discovery is true 2019-02-01 12:28:12 +01:00
profiles Common: Add profiles 2017-07-19 11:50:03 +02:00
roles lint: Fix spaces before and after variables 2019-03-01 17:22:24 +00:00
tests tests: add lvm bluestore dmcrypt support 2019-02-28 12:01:18 +00:00
.gitignore repo: update gitignore file 2019-02-06 15:06:27 +00:00
.mergify.yml mergify: need 2 approvals to merge a 'skip ci' PR 2019-02-28 13:07:51 +01:00
.travis.yml travis: remove sudo: required 2018-12-04 17:10:58 +01:00
CONTRIBUTING.md CONTRIBUTING: add more guiline for backport 2018-12-20 14:34:17 +00: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: update documentation 2018-12-10 09:25:43 +01:00
README.rst Update Documentation example link to 3.0 2018-02-07 16:34:45 +01:00
Vagrantfile tests: add a rhel8 scenario testing 2019-02-05 18:14:28 +01:00
ansible.cfg ansible.cfg: Add library path to configuration 2019-02-18 19:52:50 +01:00
ceph-ansible.spec.in rpm: add RHEL 8 + Fedora support 2019-02-20 08:10:30 +00:00
dummy-ansible-hosts Fix Travis 2015-01-21 16:33:26 +01:00
generate_group_vars_sample.sh docker-common: rename role 2018-11-12 10:51:48 +01:00
raw_install_python.yml common: fix retry on raw install python for rhel 2019-02-25 10:05:34 +00:00
requirements.txt tests: test master against ansible 2.7 2018-10-30 17:07:05 +01:00
rhcs_edits.txt rhcs: add helpers for the containerized deployment 2018-10-08 09:50:49 -04:00
site-container.yml.sample site.yml: do not bootstrap mgrs on monitors by default 2019-02-26 13:19:06 +00:00
site-docker.yml.sample site: symlink site-docker to site-container 2018-11-27 16:47:40 +00:00
site.yml.sample site.yml: do not bootstrap mgrs on monitors by default 2019-02-26 13:19:06 +00:00
test.yml Remove spurious ceph. prefix for roles path in test.yml 2019-01-11 11:10:52 +01:00
tox.ini osd: add ipc=host in systemd template for containers 2019-02-28 13:14:09 +00:00
vagrant_variables.yml.sample Revert "tests: add ubuntu bionic support" 2019-02-22 16:24:18 +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/