From f976c994c789b6bfbbfe1d0bc31b1755e35a73e0 Mon Sep 17 00:00:00 2001 From: Hideki Saito Date: Sun, 13 Mar 2022 01:35:54 +0900 Subject: [PATCH] TEST --- tests/integration/targets/synchronize/tasks/main.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/integration/targets/synchronize/tasks/main.yml b/tests/integration/targets/synchronize/tasks/main.yml index beaa9d3..94a7080 100644 --- a/tests/integration/targets/synchronize/tasks/main.yml +++ b/tests/integration/targets/synchronize/tasks/main.yml @@ -19,14 +19,6 @@ - foo.txt - bar.txt -- name: Check facts - debug: - var: ansible_facts - -- name: Check virtualization_type - debug: - msg: "{{ ansible_facts.virtualization_type }}" - - name: Check '{{ output_dir }}' value debug: msg: "{{ output_dir }}" @@ -53,11 +45,13 @@ - foo.txt - bar.txt delegate_to: "{{ inventory_hostname }}" + delegate_facts: true - name: copy file to new filename copy: src: "{{ output_dir }}/foo.txt" dest: "{{ output_dir }}/foo.result" delegate_to: "{{ inventory_hostname }}" + delegate_facts: true when: - ansible_facts.virtualization_type == 'docker'