Merge pull request #179 from leseb/force-vars

Make the monitor secret a mandatory variable.
pull/180/head
Leseb 2015-01-12 16:17:16 +01:00
commit 78cfc3af79
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
---
- 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 *' creates=/var/lib/ceph/tmp/keyring.mon.{{ ansible_hostname }}"
command: "ceph-authtool /var/lib/ceph/tmp/keyring.mon.{{ ansible_hostname }} --create-keyring --name=mon. --add-key={{ monitor_secret | mandatory }} --cap mon 'allow *' creates=/var/lib/ceph/tmp/keyring.mon.{{ ansible_hostname }}"
- name: Set initial monitor key permissions
file: >