mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #179 from leseb/force-vars
Make the monitor secret a mandatory variable.pull/180/head
commit
78cfc3af79
|
@ -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: >
|
||||
|
|
Loading…
Reference in New Issue