Remove -e for echo in test_facts_d
This commit is contained in:
parent
0719be852f
commit
03d3ba723b
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@
|
|||
- set_fact: fact_dir={{output_dir}}/facts.d
|
||||
|
||||
- file: path={{ fact_dir }} state=directory
|
||||
- shell: echo "[general]\nbar=loaded\n" > {{ fact_dir }}/preferences.fact
|
||||
- shell: echo "[general]" > {{ fact_dir }}/preferences.fact
|
||||
- shell: echo "bar=loaded" >> {{ fact_dir }}/preferences.fact
|
||||
|
||||
- setup:
|
||||
fact_path: "{{ fact_dir | expanduser }}"
|
||||
|
|
Loading…
Reference in a new issue