Merge pull request #887 from ceph/RHBZ-1357292

Fetch keys from the mons when taking over a cluster
pull/888/head
Leseb 2016-07-18 17:35:20 +02:00 committed by GitHub
commit 25019b7a91
1 changed files with 9 additions and 1 deletions

View File

@ -7,10 +7,18 @@
# #
# 1. Install Ansible and add your monitors and osds hosts in it. For more detailed information you can read the [Ceph Ansible Wiki](https://github.com/ceph/ceph-ansible/wiki) # 1. Install Ansible and add your monitors and osds hosts in it. For more detailed information you can read the [Ceph Ansible Wiki](https://github.com/ceph/ceph-ansible/wiki)
# 2. Set `generate_fsid: false` in `group_vars` # 2. Set `generate_fsid: false` in `group_vars`
# 3. Get your current cluster fsid with `ceph fsid` and set `cluster_fsid` accordingly in `group_vars` # 3. Get your current cluster fsid with `ceph fsid` and set `fsid` accordingly in `group_vars`
# 4. Run the playbook called: `take-over-existing-cluster.yml` like this `ansible-playbook take-over-existing-cluster.yml`. # 4. Run the playbook called: `take-over-existing-cluster.yml` like this `ansible-playbook take-over-existing-cluster.yml`.
# 5. Eventually run Ceph Ansible to validate everything by doing: `ansible-playbook site.yml`. # 5. Eventually run Ceph Ansible to validate everything by doing: `ansible-playbook site.yml`.
- hosts: mons
become: True
vars_files:
- roles/ceph-common/defaults/main.yml
- group_vars/all
roles:
- ceph-fetch-keys
- hosts: all - hosts: all
become: true become: true