mirror of https://github.com/ceph/ceph-ansible.git
switch-to-containers: do not include group vars or role defaults
Doing so will override any values set for these in the group_vars directory relative to the users inventory. Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1349/head
parent
cf702b05cf
commit
e81d690aa0
|
@ -95,15 +95,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: select a running monitor
|
- name: select a running monitor
|
||||||
set_fact: mon_host={{ item }}
|
set_fact: mon_host={{ item }}
|
||||||
|
@ -185,12 +176,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: collect osd ids
|
- name: collect osd ids
|
||||||
shell: |
|
shell: |
|
||||||
|
@ -287,12 +272,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: stop ceph mds service
|
- name: stop ceph mds service
|
||||||
service:
|
service:
|
||||||
|
@ -344,12 +323,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: stop ceph rgw service
|
- name: stop ceph rgw service
|
||||||
service:
|
service:
|
||||||
|
@ -402,12 +375,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: stop ceph rbd mirror service
|
- name: stop ceph rbd mirror service
|
||||||
service:
|
service:
|
||||||
|
@ -458,12 +425,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: stop ceph nfs service
|
- name: stop ceph nfs service
|
||||||
service:
|
service:
|
||||||
|
|
Loading…
Reference in New Issue