mirror of https://github.com/ceph/ceph-ansible.git
tests: set needed config in group_vars/all for rhcs testing
Instead of relying on environment variables and --extra-vars simply modify the group_vars/all that ships with the specific testing scenario to enable ceph_rchs testing. Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1439/head
parent
63983fa0b7
commit
386afbec83
|
@ -27,6 +27,25 @@
|
|||
dest: "{{ change_dir }}/vagrant_variables.yml"
|
||||
when: change_dir is defined
|
||||
|
||||
- name: change ceph_stable to False
|
||||
replace:
|
||||
regexp: "ceph_stable:.*"
|
||||
replace: "ceph_stable: False"
|
||||
dest: "{{ change_dir }}/group_vars/all"
|
||||
when: change_dir is defined
|
||||
|
||||
- name: set ceph_rhcs to True
|
||||
lineinfile:
|
||||
line: "ceph_rhcs: True"
|
||||
dest: "{{ change_dir }}/group_vars/all"
|
||||
when: change_dir is defined
|
||||
|
||||
- name: set ceph_origin to distro
|
||||
lineinfile:
|
||||
line: "ceph_origin: distro"
|
||||
dest: "{{ change_dir }}/group_vars/all"
|
||||
when: change_dir is defined
|
||||
|
||||
- hosts: all
|
||||
gather_facts: true
|
||||
become: yes
|
||||
|
|
Loading…
Reference in New Issue