Last active
July 30, 2018 11:05
-
-
Save yankcrime/6f4853fa0d214aa2dd15c9873a4ed9aa to your computer and use it in GitHub Desktop.
ceph-ansible inventory for testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # vi: set ts=2 sts=2 sw=2 et ft=yaml : | |
| all: | |
| vars: | |
| # Config that could be applied in group_vars/all.yml | |
| # vars config could also be applied in group_vars/all.yml | |
| ceph_origin: repository | |
| ceph_repository: community | |
| ceph_stable_release: mimic | |
| cephx: true | |
| monitor_interface: "eth0" | |
| public_network: "172.28.128.0/24" | |
| cluster_network: "172.28.128.0/24" | |
| osd_objectstore: bluestore | |
| radosgw_interface: "eth0" | |
| ceph_conf_overrides: | |
| mon: | |
| mon_allow_pool_delete: true | |
| global: | |
| osd_pool_default_size: 2 | |
| osd_pool_default_min_size: 2 | |
| osd_pool_default_pg_num: 512 | |
| openstack_config: false | |
| hosts: | |
| controller0: | |
| ansible_host: 172.28.128.100 | |
| ansible_user: centos | |
| controller1: | |
| ansible_host: 172.28.128.101 | |
| ansible_user: centos | |
| controller2: | |
| ansible_host: 172.28.128.102 | |
| ansible_user: centos | |
| ceph0: | |
| ansible_host: 172.28.128.120 | |
| ansible_user: centos | |
| ceph1: | |
| ansible_host: 172.28.128.121 | |
| ansible_user: centos | |
| ceph2: | |
| ansible_host: 172.28.128.122 | |
| ansible_user: centos | |
| children: | |
| osds: | |
| vars: | |
| # Ceph Mimic defaults to a deployment built on LVM. Everything else is deprecacted | |
| # vars config could also be applied in group_vars/osds.yml | |
| ceph_osds: | |
| - data: "vgosd0/lvosd0" | |
| - data: "vgosd1/lvosd1" | |
| - data: "vgosd2/lvosd2" | |
| osd_scenario: lvm | |
| hosts: | |
| # For example: | |
| # This configuration assumes ceph-ansible will be creating the LVM PVs, VGs & LVs | |
| # For greater control you can do this a priori | |
| ceph0: | |
| lvm_volumes: "{{ ceph_osds }}" | |
| ceph1: | |
| lvm_volumes: "{{ ceph_osds }}" | |
| ceph2: | |
| lvm_volumes: "{{ ceph_osds }}" | |
| mons: | |
| hosts: | |
| controller0: | |
| controller1: | |
| controller2: | |
| agents: | |
| rgws: | |
| mgrs: | |
| hosts: | |
| controller0: | |
| # Ceph services that we are not using | |
| nfss: | |
| restapis: | |
| rbdmirrors: | |
| clients: | |
| iscsi_gws: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment