diff --git a/roles/ceph-common/tasks/facts.yml b/roles/ceph-common/tasks/facts.yml index 8399875fd..ce05663d3 100644 --- a/roles/ceph-common/tasks/facts.yml +++ b/roles/ceph-common/tasks/facts.yml @@ -14,7 +14,7 @@ register: init_system - set_fact: - init_system={{ init_system.content | b64decode }} + init_system={{ init_system.content | b64decode | trim }} - set_fact: use_systemd={{ init_system.strip() == 'systemd' }} @@ -68,4 +68,3 @@ - set_fact: mds_name: "{{ ansible_fqdn }}" when: mds_use_fqdn -