mirror of https://github.com/ceph/ceph-ansible.git
ceph-mon: No become during gen mon initial keyring
Since the backing generate_secret() just hands out urandom output,
running as privileged doesn't seem to be required. It's not
desireable to provide sudo in some Ansible runner environments.
Signed-off-by: Jukka Nousiainen <jukka.nousiainen@csc.fi>
(cherry picked from commit eb7473491b
)
pull/6118/head
parent
17c4744579
commit
302fa3b2f8
|
@ -19,6 +19,7 @@
|
||||||
state: generate_secret
|
state: generate_secret
|
||||||
register: monitor_keyring
|
register: monitor_keyring
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
become: false
|
||||||
run_once: true
|
run_once: true
|
||||||
when:
|
when:
|
||||||
- initial_mon_key.skipped is defined
|
- initial_mon_key.skipped is defined
|
||||||
|
|
Loading…
Reference in New Issue