remove unecessary variables

these variables will be created on the fly, there is no need to force
them.

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/498/head
Sébastien Han 2016-01-27 23:58:51 +01:00
parent 2f0c853d32
commit 21cd46bf8a
3 changed files with 0 additions and 6 deletions

2
Vagrantfile vendored
View File

@ -36,8 +36,6 @@ ansible_provision = proc do |ansible|
ansible.extra_vars = {
ceph_stable: 'true',
journal_collocation: 'true',
fsid: '4a158d27-f750-41d5-9e7f-26ce4c9d2d45',
monitor_secret: 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw==',
journal_size: 100,
monitor_interface: ETH,
cluster_network: "#{SUBNET}.0/24",

View File

@ -68,7 +68,6 @@
creates="{{ fetch_directory }}/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_directory }}/ceph_cluster_uuid.conf
@ -76,7 +75,6 @@
changed_when: false
register: cluster_uuid
sudo: false
when: fsid != '4a158d27-f750-41d5-9e7f-26ce4c9d2d45'
- name: create ceph conf directory
file:

View File

@ -4,7 +4,6 @@
creates={{ fetch_directory }}/monitor_keyring.conf
register: monitor_keyring
sudo: false
when: monitor_secret != 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw=='
- name: read monitor initial keyring if it already exists
local_action: command cat {{ fetch_directory }}/monitor_keyring.conf
@ -12,7 +11,6 @@
changed_when: false
register: monitor_keyring
sudo: false
when: monitor_secret != 'AQAWqilTCDh7CBAAawXt6kyTgLFCxSvJhTEmuw=='
- name: create monitor initial keyring
command: ceph-authtool /var/lib/ceph/tmp/keyring.mon.{{ ansible_hostname }} --create-keyring --name=mon. --add-key={{ monitor_secret }} --cap mon 'allow *'