]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
roles: introduce `ceph-container-engine` role
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 20 May 2019 07:46:10 +0000 (09:46 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 22 May 2019 19:24:11 +0000 (15:24 -0400)
commit16c6d530c686a0bd0a99cbe150be900e984a3b98
tree9bed70d9602c9eac364ae3814f7d3e03d2091ed9
parent27bd7df5cf2813e2b5a1e90b321750bcf22915c0
roles: introduce `ceph-container-engine` role

This commit splits the current `ceph-container-common` role.

This introduces a new role `ceph-container-engine` which handles the
tasks specific to the installation of containers tools (docker/podman).

This is needed for the ceph-dashboard implementation for 2 main reasons:

1/ Since the ceph-dashboard stack is only containerized, we must install
everything needed to run containers even in non containerized
deployments. Splitting this role allows us to not have to call the full
`ceph-container-common` role which would run a bunch of unneeded tasks
that would have been skipped anyway.

2/ The current implementation would have required to run
`ceph-container-common` on all ceph-clients nodes which would have been
conflicting with 9d3517c670ea2e944565e1a3e150a966b2d399de (we don't want
to run ceph-container-common on all client nodes, see mentioned commit
for more details)

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 55420d6253bc6605738fe3f4745e2ba08a6ea5b8)
24 files changed:
infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml
roles/ceph-container-common/README.md
roles/ceph-container-common/tasks/main.yml
roles/ceph-container-common/tasks/pre_requisites/debian_prerequisites.yml [deleted file]
roles/ceph-container-common/tasks/pre_requisites/prerequisites.yml [deleted file]
roles/ceph-container-common/tasks/pre_requisites/remove_ceph_udev_rules.yml [deleted file]
roles/ceph-container-common/tasks/prerequisites.yml [new file with mode: 0644]
roles/ceph-container-common/vars/Debian.yml [deleted file]
roles/ceph-container-common/vars/RedHat-8.yml [deleted file]
roles/ceph-container-common/vars/RedHat.yml [deleted file]
roles/ceph-container-common/vars/Ubuntu-16.yml [deleted file]
roles/ceph-container-common/vars/Ubuntu-18.yml [deleted file]
roles/ceph-container-engine/README.md [new file with mode: 0644]
roles/ceph-container-engine/meta/main.yml [new file with mode: 0644]
roles/ceph-container-engine/tasks/main.yml [new file with mode: 0644]
roles/ceph-container-engine/tasks/pre_requisites/debian_prerequisites.yml [new file with mode: 0644]
roles/ceph-container-engine/tasks/pre_requisites/prerequisites.yml [new file with mode: 0644]
roles/ceph-container-engine/vars/Debian.yml [new file with mode: 0644]
roles/ceph-container-engine/vars/RedHat-8.yml [new file with mode: 0644]
roles/ceph-container-engine/vars/RedHat.yml [new file with mode: 0644]
roles/ceph-container-engine/vars/Ubuntu-16.yml [new file with mode: 0644]
roles/ceph-container-engine/vars/Ubuntu-18.yml [new file with mode: 0644]
site-container.yml.sample
site.yml.sample