mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
|
- set_fact: fact_dir={{output_dir}}/facts.d
|
||||||
|
|
||||||
- file: path={{ fact_dir }} state=directory
|
- 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:
|
- setup:
|
||||||
fact_path: "{{ fact_dir | expanduser }}"
|
fact_path: "{{ fact_dir | expanduser }}"
|
||||||
|
|
Loading…
Reference in a new issue