mirror of https://github.com/ceph/ceph-ansible.git
purge-docker-cluster: do not include role defaults or group vars
Doing so at playbook level overrides whatever values might be set for these in the user's group_vars directory that's relative to their inventory. Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1349/head
parent
aef54d89d9
commit
cf702b05cf
|
@ -52,12 +52,6 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_vars: roles/ceph-common/defaults/main.yml
|
|
||||||
- include_vars: roles/ceph-mds/defaults/main.yml
|
|
||||||
- include_vars: group_vars/all.yml
|
|
||||||
failed_when: false
|
|
||||||
- include_vars: group_vars/{{ mds_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
|
|
||||||
- name: disable ceph mds service
|
- name: disable ceph mds service
|
||||||
service:
|
service:
|
||||||
|
@ -96,12 +90,6 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_vars: roles/ceph-common/defaults/main.yml
|
|
||||||
- include_vars: roles/ceph-rgw/defaults/main.yml
|
|
||||||
- include_vars: group_vars/all.yml
|
|
||||||
failed_when: false
|
|
||||||
- include_vars: group_vars/{{ rgw_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
|
|
||||||
- name: disable ceph rgw service
|
- name: disable ceph rgw service
|
||||||
service:
|
service:
|
||||||
|
@ -140,12 +128,6 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_vars: roles/ceph-common/defaults/main.yml
|
|
||||||
- include_vars: roles/ceph-rbd-mirror/defaults/main.yml
|
|
||||||
- include_vars: group_vars/all.yml
|
|
||||||
failed_when: false
|
|
||||||
- include_vars: group_vars/{{ rbdmirror_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
|
|
||||||
- name: disable ceph rbd-mirror service
|
- name: disable ceph rbd-mirror service
|
||||||
service:
|
service:
|
||||||
|
@ -184,12 +166,6 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_vars: roles/ceph-common/defaults/main.yml
|
|
||||||
- include_vars: roles/ceph-nfs/defaults/main.yml
|
|
||||||
- include_vars: group_vars/all.yml
|
|
||||||
failed_when: false
|
|
||||||
- include_vars: group_vars/{{ nfs_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
|
|
||||||
- name: disable ceph nfs service
|
- name: disable ceph nfs service
|
||||||
service:
|
service:
|
||||||
|
@ -237,12 +213,6 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_vars: roles/ceph-common/defaults/main.yml
|
|
||||||
- include_vars: roles/ceph-osd/defaults/main.yml
|
|
||||||
- include_vars: group_vars/all.yml
|
|
||||||
failed_when: false
|
|
||||||
- include_vars: group_vars/{{ osd_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
|
|
||||||
- name: disable ceph osd service
|
- name: disable ceph osd service
|
||||||
service:
|
service:
|
||||||
|
@ -322,15 +292,6 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_vars: roles/ceph-common/defaults/main.yml
|
|
||||||
- include_vars: roles/ceph-mon/defaults/main.yml
|
|
||||||
- include_vars: roles/ceph-restapi/defaults/main.yml
|
|
||||||
- include_vars: group_vars/all.yml
|
|
||||||
failed_when: false
|
|
||||||
- include_vars: group_vars/{{ mon_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
- include_vars: group_vars/{{ restapi_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
|
|
||||||
- name: disable ceph mon service
|
- name: disable ceph mon service
|
||||||
service:
|
service:
|
||||||
|
@ -563,23 +524,11 @@
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include_vars: roles/ceph-common/defaults/main.yml
|
|
||||||
- include_vars: group_vars/all.yml
|
- name: set fetch_directory value if not set
|
||||||
failed_when: false
|
set_fact:
|
||||||
- include_vars: group_vars/{{ mds_group_name }}.yml
|
fetch_directory: "fetch/"
|
||||||
failed_when: false
|
when: fetch_directory is not defined
|
||||||
- include_vars: group_vars/{{ rgw_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
- include_vars: group_vars/{{ rbdmirror_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
- include_vars: group_vars/{{ nfs_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
- include_vars: group_vars/{{ osd_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
- include_vars: group_vars/{{ mon_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
- include_vars: group_vars/{{ restapi_group_name }}.yml
|
|
||||||
failed_when: false
|
|
||||||
|
|
||||||
- name: purge fetch directory for localhost
|
- name: purge fetch directory for localhost
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in New Issue