Do not track fetch directory

Signed-off-by: leseb <seb@redhat.com>
pull/330/head
leseb 2015-07-17 18:08:24 +02:00
parent f247d86b14
commit 5fc4d846a6
5 changed files with 5 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,7 +1,7 @@
.vagrant
*.vdi
*.keyring
fetch/4a158d27-f750-41d5-9e7f-26ce4c9d2d45/*
fetch/*
vagrant_variables.yml
group_vars/all
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
register: cluster_uuid
sudo: false
when: fsid != '4a158d27-f750-41d5-9e7f-26ce4c9d2d45'
- name: read cluster UUID if it already exists
local_action: command cat fetch/ceph_cluster_uuid.conf
@ -49,6 +50,7 @@
changed_when: false
register: cluster_uuid
sudo: false
when: fsid != '4a158d27-f750-41d5-9e7f-26ce4c9d2d45'
- name: generate Ceph configuration file
template: >

View File

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