Merge pull request #867 from albertomurillo/init_system

Trim init_system var
pull/869/head
Leseb 2016-06-29 15:00:50 -07:00 committed by GitHub
commit c68c09a798
1 changed files with 1 additions and 2 deletions

View File

@ -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