Skip to content

Commit

Permalink
ci: update osd variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaser committed Sep 16, 2023
1 parent ba3217e commit 3a20a45
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion molecule/shared/prepare/ceph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- ansible.builtin.import_playbook: vexxhost.ceph.create_fake_devices

- name: Prepare Ceph for CI
hosts: controllers
hosts: cephs
become: true
tasks:
- name: Overwrite existing osds.yml file
Expand All @@ -28,4 +28,8 @@
- "/dev/ceph-{{ inventory_hostname_short }}-osd1/data"
- "/dev/ceph-{{ inventory_hostname_short }}-osd2/data"
- name: Update OSD variables
ansible.builtin.include_vars:
file: "{{ lookup('env', 'MOLECULE_SCENARIO_DIRECTORY') }}/group_vars/cephs/osds.yml"

- ansible.builtin.import_playbook: vexxhost.ceph.site

0 comments on commit 3a20a45

Please sign in to comment.