Skip to content

Commit

Permalink
fix: use ln -s for aio
Browse files Browse the repository at this point in the history
  • Loading branch information
ricolin committed Nov 29, 2023
1 parent 4f7cd8c commit 0b3b05a
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 65 deletions.
65 changes: 0 additions & 65 deletions molecule/aio/molecule.yml

This file was deleted.

1 change: 1 addition & 0 deletions molecule/aio/molecule.yml
2 changes: 2 additions & 0 deletions molecule/ceph/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
# under the License.

- ansible.builtin.import_playbook: vexxhost.ceph.site
vars:
ceph_public_network: 172.17.0.0/24
65 changes: 65 additions & 0 deletions molecule/ceph/molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Copyright (c) 2023 VEXXHOST, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.

dependency:
name: galaxy
driver:
name: docker
platforms:
- name: instance
image: geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible:latest
command: ${MOLECULE_DOCKER_COMMAND:-""}
privileged: true
cgroupns_mode: host
pre_build_image: true
environment:
container: docker
security_opts:
- apparmor=unconfined
volumes:
- /dev:/dev
- /lib/modules:/lib/modules:ro
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- /usr/src:/usr/src:ro
groups:
- controllers
- cephs
provisioner:
name: ansible
config_options:
connection:
pipelining: true
inventory:
group_vars:
all:
ceph_fsid: ${MOLECULE_CEPH_FSID:-"1dff0e0f-3c44-48da-81cd-4f3c6e8722b2"}
ceph_version: ${MOLECULE_CEPH_VERSION:-"16.2.9"}
ceph_conf_overrides:
- section: global
option: osd crush chooseleaf type
value: 0
- section: mon
option: auth allow insecure global id reclaim
value: false
- section: mon
option: mon data avail warn
value: 10
controllers:
cephs:
ceph_osd_devices:
- "/dev/ceph-{{ inventory_hostname_short }}-osd0/data"
- "/dev/ceph-{{ inventory_hostname_short }}-osd1/data"
- "/dev/ceph-{{ inventory_hostname_short }}-osd2/data"
verifier:
name: ansible

0 comments on commit 0b3b05a

Please sign in to comment.