mirror of https://github.com/ceph/ceph-ansible.git
mon: remove ceph aliases for containers
These aliases have led to several issues making believe that ceph binaries are actually present on the host when running the command. However it wasn't explicit that the commands were only ran inside a container. It has brought to much confusion so we decided to remove them. Closes: https://github.com/ceph/ceph-ansible/issues/3445 Signed-off-by: Sébastien Han <seb@redhat.com>pull/3424/head
parent
ffd56177e7
commit
d9e7835086
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
- name: configure ceph profile.d aliases
|
||||
template:
|
||||
src: ceph-aliases.sh.j2
|
||||
dest: "/etc/profile.d/ceph-aliases.sh"
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: root
|
|
@ -28,8 +28,3 @@
|
|||
include_tasks: crush_rules.yml
|
||||
when:
|
||||
- crush_rule_config
|
||||
|
||||
- name: include configure_ceph_command_aliases.yml
|
||||
include_tasks: configure_ceph_command_aliases.yml
|
||||
when:
|
||||
- containerized_deployment
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/bash
|
||||
# Sets up handy aliases for ceph.
|
||||
ceph() {
|
||||
sudo {{ docker_exec_cmd }} ceph --cluster {{ cluster }} ${@}
|
||||
}
|
||||
|
||||
radosgw-admin() {
|
||||
sudo {{ docker_exec_cmd }} radosgw-admin --cluster {{ cluster }} ${@}
|
||||
}
|
||||
|
||||
rados() {
|
||||
sudo {{ docker_exec_cmd }} rados --cluster {{ cluster }} ${@}
|
||||
}
|
||||
|
||||
rbd() {
|
||||
sudo {{ docker_exec_cmd }} rbd --cluster {{ cluster }} ${@}
|
||||
}
|
Loading…
Reference in New Issue