Merge pull request #330 from ceph/vagrant-clean

Do not track fetch directory
pull/331/head
Leseb 2015-07-17 19:00:00 +02:00
commit 5350520f64
5 changed files with 5 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,7 +1,7 @@
.vagrant .vagrant
*.vdi *.vdi
*.keyring *.keyring
fetch/4a158d27-f750-41d5-9e7f-26ce4c9d2d45/* fetch/*
vagrant_variables.yml vagrant_variables.yml
group_vars/all group_vars/all
group_vars/mons group_vars/mons

View File

View File

@ -1 +0,0 @@
4a158d27-f750-41d5-9e7f-26ce4c9d2d45

View File

@ -42,6 +42,7 @@
creates=fetch/ceph_cluster_uuid.conf creates=fetch/ceph_cluster_uuid.conf
register: cluster_uuid register: cluster_uuid
sudo: false sudo: false
when: fsid != '4a158d27-f750-41d5-9e7f-26ce4c9d2d45'
- name: read cluster UUID if it already exists - name: read cluster UUID if it already exists
local_action: command cat fetch/ceph_cluster_uuid.conf local_action: command cat fetch/ceph_cluster_uuid.conf
@ -49,6 +50,7 @@
changed_when: false changed_when: false
register: cluster_uuid register: cluster_uuid
sudo: false sudo: false
when: fsid != '4a158d27-f750-41d5-9e7f-26ce4c9d2d45'
- name: generate Ceph configuration file - name: generate Ceph configuration file
template: > template: >

View File

@ -5,6 +5,7 @@
creates=fetch/monitor_keyring.conf creates=fetch/monitor_keyring.conf
register: monitor_keyring register: monitor_keyring
sudo: false sudo: false
when: monitor_secret != 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw=='
- name: read monitor initial keyring if it already exists - name: read monitor initial keyring if it already exists
local_action: > local_action: >
@ -13,6 +14,7 @@
changed_when: false changed_when: false
register: monitor_keyring register: monitor_keyring
sudo: false sudo: false
when: monitor_secret != 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw=='
- name: create monitor initial keyring - name: create monitor initial keyring
command: > command: >