mirror of https://github.com/ceph/ceph-ansible.git
cephadm-adopt: remove the cephadm script
At the end of the process when don't need the cephadm script. Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>pull/5552/head
parent
381201a394
commit
c3bbc6b13c
|
@ -933,3 +933,22 @@
|
|||
changed_when: false
|
||||
environment:
|
||||
CEPHADM_IMAGE: '{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}'
|
||||
|
||||
- name: remove the cephadm script
|
||||
hosts:
|
||||
- "{{ mon_group_name|default('mons') }}"
|
||||
- "{{ osd_group_name|default('osds') }}"
|
||||
- "{{ mds_group_name|default('mdss') }}"
|
||||
- "{{ rgw_group_name|default('rgws') }}"
|
||||
- "{{ mgr_group_name|default('mgrs') }}"
|
||||
- "{{ rbdmirror_group_name|default('rbdmirrors') }}"
|
||||
- "{{ nfs_group_name|default('nfss') }}"
|
||||
- "{{ iscsi_gw_group_name|default('iscsigws') }}"
|
||||
- "{{ grafana_server_group_name|default('grafana-server') }}"
|
||||
become: true
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: remove the cephadm script
|
||||
file:
|
||||
path: /usr/sbin/cephadm
|
||||
state: absent
|
||||
|
|
Loading…
Reference in New Issue