mirror of https://github.com/ceph/ceph-ansible.git
strip any newlines from the init_system fact
Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/758/head
parent
8a09b9c6ab
commit
5139ed0592
|
@ -18,7 +18,7 @@
|
|||
init_system={{ init_system.content | b64decode }}
|
||||
|
||||
- set_fact:
|
||||
use_systemd={{ init_system == 'systemd\n' }}
|
||||
use_systemd={{ init_system.strip() == 'systemd' }}
|
||||
|
||||
# NOTE (leseb/jsaintrocc): You are supposed to quote variables
|
||||
# that follow colons to avoid confusion with dicts but this
|
||||
|
|
Loading…
Reference in New Issue