mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Remove -e for echo in test_facts_d
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user